Lines Matching defs:fd
679 int fd;
682 if ((fd = open(pool_info_location, O_RDONLY)) < 0) {
686 if (ioctl(fd, POOL_STATUSQ, &status) < 0) {
687 (void) close(fd);
691 (void) close(fd);
709 int fd;
742 if ((fd = open(pool_dynamic_location(), O_RDWR | O_EXCL)) < 0) {
762 (void) close(fd);
769 if (ioctl(fd, POOL_STATUS, &status) < 0) {
770 (void) close(fd);
775 (void) close(fd);