Searched refs:fcp_fd (Results 1 - 2 of 2) sorted by relevance
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | map.c | 1344 int err, fcp_fd; local 1388 if ((fcp_fd = g_object_open(FCP_PATH, O_RDONLY)) == -1) { 1400 if (err = g_issue_fcp_ioctl(fcp_fd, &fcp_data, 0)) { 1402 close(fcp_fd); 1408 close(fcp_fd); 1432 int err, fcp_fd; local 1451 if ((fcp_fd = g_object_open(FCP_PATH, O_RDONLY)) == -1) { 1463 if (err = g_issue_fcp_ioctl(fcp_fd, &fcp_data, 0)) { 1465 close(fcp_fd); 1471 close(fcp_fd); 2079 int fcp_fd, err; local [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_list.c | 880 int fcp_fd, retry, rv; local 888 fcp_fd = open(FCP_PATH, O_RDONLY | O_NDELAY); 890 while (fcp_fd < 0 && retry++ < OPEN_RETRY_COUNT && ( 893 fcp_fd = open(FCP_PATH, O_RDONLY|O_NDELAY); 895 if (fcp_fd < 0) { 900 rv = ioctl(fcp_fd, FCP_TGT_SEND_SCSI, fscsi); 908 rv = ioctl(fcp_fd, FCP_TGT_SEND_SCSI, fscsi); 910 close(fcp_fd);
|
Completed in 65 milliseconds