Lines Matching defs:fd
303 int fd;
324 fd = HBA::_open(FCP_DRIVER_PATH, O_RDONLY | O_NDELAY);
328 if (ioctl(fd, FCP_TGT_SEND_SCSI, fscsi) != 0) {
331 close(fd);
364 close(fd);
710 int fd;
742 fd = HBA::_open(FCP_DRIVER_PATH, O_RDONLY | O_NDELAY);
746 if (ioctl(fd, FCP_GET_TARGET_MAPPINGS, &fioctl) != 0) {
748 close(fd);
762 close(fd);
1216 int fd = HBA::_open(path, openflag);
1219 HBA::_ioctl(fd, cmd, (uchar_t *)fcio);
1222 HBA::_ioctl(fd, cmd, (uchar_t *)fcio);
1227 close(fd);
1232 close(fd);