Home
last modified time | relevance | path

Searched refs:lun (Results 1 – 25 of 116) sorted by relevance

12345

/illumos-gate/usr/src/uts/common/io/mega_sas/
H A Dmega_sas.conf18 name="sd" parent="mega_sas" target=0 lun=0;
19 name="sd" parent="mega_sas" target=1 lun=0;
20 name="sd" parent="mega_sas" target=2 lun=0;
21 name="sd" parent="mega_sas" target=3 lun=0;
22 name="sd" parent="mega_sas" target=4 lun=0;
23 name="sd" parent="mega_sas" target=5 lun=0;
24 name="sd" parent="mega_sas" target=6 lun=0;
25 name="sd" parent="mega_sas" target=7 lun=0;
26 name="sd" parent="mega_sas" target=8 lun=0;
27 name="sd" parent="mega_sas" target=9 lun=0;
[all …]
/illumos-gate/usr/src/uts/intel/io/scsi/targets/
H A Dsd.conf26 name="sd" class="scsi" target=0 lun=0;
27 name="sd" class="scsi" target=1 lun=0;
28 name="sd" class="scsi" target=2 lun=0;
29 name="sd" class="scsi" target=3 lun=0;
30 name="sd" class="scsi" target=4 lun=0;
31 name="sd" class="scsi" target=5 lun=0;
32 name="sd" class="scsi" target=6 lun=0;
33 name="sd" class="scsi" target=7 lun=0;
34 name="sd" class="scsi" target=8 lun=0;
35 name="sd" class="scsi" target=9 lun=0;
[all …]
H A Dses.conf33 name="ses" class="scsi" target=0 lun=0;
34 name="ses" class="scsi" target=1 lun=0;
35 name="ses" class="scsi" target=2 lun=0;
36 name="ses" class="scsi" target=3 lun=0;
37 name="ses" class="scsi" target=4 lun=0;
38 name="ses" class="scsi" target=5 lun=0;
39 name="ses" class="scsi" target=6 lun=0;
40 name="ses" class="scsi" target=7 lun=0;
41 name="ses" class="scsi" target=8 lun=0;
42 name="ses" class="scsi" target=9 lun=0;
[all …]
H A Dst.conf91 name="st" class="scsi" target=0 lun=0;
92 name="st" class="scsi" target=1 lun=0;
93 name="st" class="scsi" target=2 lun=0;
94 name="st" class="scsi" target=3 lun=0;
95 name="st" class="scsi" target=4 lun=0;
96 name="st" class="scsi" target=5 lun=0;
97 name="st" class="scsi" target=6 lun=0;
/illumos-gate/usr/src/uts/sun/io/scsi/targets/
H A Dsd.conf27 target=0 lun=0;
30 target=1 lun=0;
33 target=2 lun=0;
36 target=3 lun=0;
39 target=4 lun=0;
42 target=5 lun=0;
45 target=6 lun=0;
48 target=8 lun=0;
51 target=9 lun=0;
54 target=10 lun=0;
[all …]
H A Dses.conf34 name="ses" class="scsi" target=0 lun=0;
35 name="ses" class="scsi" target=1 lun=0;
36 name="ses" class="scsi" target=2 lun=0;
37 name="ses" class="scsi" target=3 lun=0;
38 name="ses" class="scsi" target=4 lun=0;
39 name="ses" class="scsi" target=5 lun=0;
40 name="ses" class="scsi" target=6 lun=0;
41 name="ses" class="scsi" target=7 lun=0;
42 name="ses" class="scsi" target=8 lun=0;
43 name="ses" class="scsi" target=9 lun=0;
[all …]
H A Dst.conf91 name="st" class="scsi" target=0 lun=0;
92 name="st" class="scsi" target=1 lun=0;
93 name="st" class="scsi" target=2 lun=0;
94 name="st" class="scsi" target=3 lun=0;
95 name="st" class="scsi" target=4 lun=0;
96 name="st" class="scsi" target=5 lun=0;
97 name="st" class="scsi" target=6 lun=0;
/illumos-gate/usr/src/cmd/devfsadm/
H A Dsgen_link.c83 scsi_lun_t lun; in sgen_callback() local
105 (lun.sl_lun2_msb == 0) && (lun.sl_lun2_lsb == 0) && in sgen_callback()
106 (lun.sl_lun3_msb == 0) && (lun.sl_lun3_lsb == 0) && in sgen_callback()
107 (lun.sl_lun4_msb == 0) && (lun.sl_lun4_lsb == 0)) { in sgen_callback()
112 (lun.sl_lun2_msb == 0) && (lun.sl_lun2_lsb == 0) && in sgen_callback()
113 (lun.sl_lun3_msb == 0) && (lun.sl_lun3_lsb == 0) && in sgen_callback()
114 (lun.sl_lun4_msb == 0) && (lun.sl_lun4_lsb == 0)) { in sgen_callback()
115 sl = (lun.sl_lun1_msb << 8) | lun.sl_lun1_lsb; in sgen_callback()
147 lun = *lunp; in sgen_callback()
149 lun = 0; in sgen_callback()
[all …]
H A Ddisk_link.c214 uint_t lun; in disk_callback_nchan() local
243 int lun; in disk_callback_wwn() local
254 lun = 0; in disk_callback_wwn()
269 int lun; in disk_callback_fabric() local
284 lun = 0; in disk_callback_fabric()
291 lun = 0; in disk_callback_fabric()
347 (lun.sl_lun2_msb == 0) && (lun.sl_lun2_lsb == 0) && in disk_callback_sas()
348 (lun.sl_lun3_msb == 0) && (lun.sl_lun3_lsb == 0) && in disk_callback_sas()
356 sl = (lun.sl_lun1_msb << 8) | lun.sl_lun1_lsb; in disk_callback_sas()
376 sl = (lun.sl_lun1_msb << 8) | lun.sl_lun1_lsb; in disk_callback_sas()
[all …]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Discsit.d59 ii_lun = (((uint64_t)P->lun[0] << (64 - 0*8 - 8)) +
60 ((uint64_t)P->lun[1] << (64 - 1*8 - 8)) +
61 ((uint64_t)P->lun[2] << (64 - 2*8 - 8)) +
62 ((uint64_t)P->lun[3] << (64 - 3*8 - 8)) +
63 ((uint64_t)P->lun[4] << (64 - 4*8 - 8)) +
64 ((uint64_t)P->lun[5] << (64 - 5*8 - 8)) +
65 ((uint64_t)P->lun[6] << (64 - 6*8 - 8)) +
66 ((uint64_t)P->lun[7] << (64 - 7*8 - 8)));
186 ii_lun = (((uint64_t)P->lun[0] << (64 - 0*8 - 8)) +
187 ((uint64_t)P->lun[1] << (64 - 1*8 - 8)) +
[all …]
/illumos-gate/usr/src/uts/intel/io/dktp/disk/
H A Dcmdk.conf25 name="cmdk" class="dada" target=0 lun=0 class_prop="dada";
26 name="cmdk" class="dada" target=1 lun=0 class_prop="dada";
27 name="cmdk" class="dada" target=2 lun=0 class_prop="dada";
28 name="cmdk" class="dada" target=3 lun=0 class_prop="dada";
29 name="cmdk" class="dada" target=4 lun=0 class_prop="dada";
30 name="cmdk" class="dada" target=5 lun=0 class_prop="dada";
31 name="cmdk" class="dada" target=6 lun=0 class_prop="dada";
/illumos-gate/usr/src/common/devid/
H A Ddevid_scsi.c1420 if (((lun.sl_lun2_msb == 0) && (lun.sl_lun2_lsb == 0) && in scsi_lun_to_lun64()
1421 (lun.sl_lun3_msb == 0) && (lun.sl_lun3_lsb == 0) && in scsi_lun_to_lun64()
1422 (lun.sl_lun4_msb == 0) && (lun.sl_lun4_lsb == 0)) && in scsi_lun_to_lun64()
1429 lun.sl_lun1_lsb; in scsi_lun_to_lun64()
1451 scsi_lun_t lun; in scsi_lun64_to_lun() local
1459 lun.sl_lun2_msb = 0; in scsi_lun64_to_lun()
1460 lun.sl_lun2_lsb = 0; in scsi_lun64_to_lun()
1461 lun.sl_lun3_msb = 0; in scsi_lun64_to_lun()
1462 lun.sl_lun3_lsb = 0; in scsi_lun64_to_lun()
1463 lun.sl_lun4_msb = 0; in scsi_lun64_to_lun()
[all …]
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_scsi.c416 int sid, lun; in common_open() local
431 sid = lun = -1; in common_open()
433 scsi_find_sid_lun(sa, devname, &sid, &lun); in common_open()
473 session->ns_scsi.sd_lun = lun; in common_open()
514 lun)) { in common_set_target()
516 sid, lun); in common_set_target()
520 lun); in common_set_target()
524 sid, lun); in common_set_target()
562 session->ns_scsi.sd_lun = lun; in common_set_target()
586 *lun = sl->sl_lun; in scsi_find_sid_lun()
[all …]
H A Dndmpd_tape.c115 int sid, lun; in ndmpd_tape_open_v2() local
137 sid = lun = -1; in ndmpd_tape_open_v2()
187 (void) ndmp_open_list_del(adptnm, sid, lun); in ndmpd_tape_open_v2()
212 (void) ndmp_open_list_del(adptnm, sid, lun); in ndmpd_tape_open_v2()
219 session->ns_tape.td_lun = lun; in ndmpd_tape_open_v2()
1208 int sid, lun; in common_tape_open() local
1224 sid = lun = -1; in common_tape_open()
1227 scsi_find_sid_lun(sa, devname, &sid, &lun); in common_tape_open()
1228 if (ndmp_open_list_find(devname, sid, lun) == 0 && in common_tape_open()
1296 adptnm, sid, lun, session->ns_tape.td_fd)) { in common_tape_open()
[all …]
/illumos-gate/usr/src/uts/sun/io/dada/targets/
H A Ddad.conf27 target=0 lun=0;
29 target=1 lun=0;
31 target=2 lun=0;
33 target=3 lun=0;
/illumos-gate/usr/src/cmd/luxadm/
H A Dfchba.c61 struct lun_val lun[1]; member
525 uint64_t lun = 0; in fchba_non_encl_probe() local
615 lun, 0, 0, in fchba_non_encl_probe()
678 uint64_t lun = 0; in fchba_inquiry() local
794 lun, 0, 0, in fchba_inquiry()
884 uint64_t lun = 0; in fchba_dump_map() local
1051 lun = 0; in fchba_dump_map()
1057 lun, 0, 0, in fchba_dump_map()
1505 uint64_t lun = 0; in fchba_display_config() local
1786 lun, 0, 0, in fchba_display_config()
[all …]
/illumos-gate/usr/src/uts/intel/io/scsi/adapters/arcmsr/
H A Darcmsr.c155 uint8_t lun);
770 uint8_t lun; in arcmsr_tran_tgt_init() local
1418 int tgt, lun; in arcmsr_tran_bus_config() local
1440 for (lun = 0; lun < ARCMSR_MAX_TARGETLUN; lun++) in arcmsr_tran_bus_config()
1965 int id, lun; in arcmsr_report_ccb_state() local
2265 int tgt, lun; in arcmsr_name_node() local
2273 if (lun == -1) in arcmsr_name_node()
2768 for (lun = 0; lun < ARCMSR_MAX_TARGETLUN; lun++) { in arcmsr_initialize()
3288 uint8_t lun; in arcmsr_dr_handle() local
3333 for (lun = 0; lun < ARCMSR_MAX_TARGETLUN; lun++) { in arcmsr_dr_handle()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/scsa2usb/
H A Dscsa2usb.c706 for (lun = 0; lun < SCSA2USB_MAX_LUNS; lun++) { in scsa2usb_attach()
966 for (lun = 0; lun < SCSA2USB_MAX_LUNS; lun++) { in scsa2usb_attach()
1344 uint_t lun; in scsa2usb_cleanup() local
1380 for (lun = 0; lun < SCSA2USB_MAX_LUNS; lun++) { in scsa2usb_cleanup()
1840 for (lun = 0; lun < scsa2usbp->scsa2usb_n_luns; lun++) { in scsa2usb_create_luns()
2107 for (lun = 0; lun < SCSA2USB_MAX_LUNS; lun++) { in scsa2usb_panic_callb()
2328 int lun; in scsa2usb_scsi_tgt_init() local
2397 int lun; in scsa2usb_scsi_tgt_free() local
4242 for (lun = 0; lun < scsa2usbp->scsa2usb_n_luns; lun++) { in scsa2usb_work_thread()
4246 for (lun = 0; lun < SCSA2USB_MAX_LUNS; lun++) { in scsa2usb_work_thread()
[all …]
/illumos-gate/usr/src/uts/common/io/comstar/stmf/
H A Dlun_map.c51 uint8_t *lun);
905 lun_num = ((uint16_t)lun[1] | (((uint16_t)(lun[0] & 0x3F)) << 8)); in stmf_add_view_entry()
959 if (lun[2] == 0xFF) { in stmf_add_view_entry()
981 ve->ve_lun[0] = lun[0]; in stmf_add_view_entry()
982 ve->ve_lun[1] = lun[1]; in stmf_add_view_entry()
1046 n = (uint16_t)lun[1] | (((uint16_t)(lun[0] & 0x3F)) << 8); in stmf_add_ent_to_map()
1083 n = (uint16_t)lun[1] | (((uint16_t)(lun[0] & 0x3F)) << 8); in stmf_remove_ent_from_map()
1129 if (lun) { in stmf_get_next_free_lun()
1130 bzero(lun, 8); in stmf_get_next_free_lun()
1703 if (lun[2] == 0xFF) { in stmf_validate_lun_view_entry()
[all …]
/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/
H A Dghd_waitq.c45 uchar_t lun) in ghd_target_init() argument
63 gtgtp->gt_lun = lun; in ghd_target_init()
92 if (gdevp->gd_target == target && gdevp->gd_lun == lun) { in ghd_target_init()
94 " gtgtp 0x%p max %lu\n", target, lun, in ghd_target_init()
111 gdevp->gd_lun = lun; in ghd_target_init()
120 " max %lu\n", target, lun, (void *)gdevp, (void *)gtgtp, in ghd_target_init()
/illumos-gate/usr/src/uts/common/sys/
H A Discsi_protocol.h112 uint8_t lun[8]; member
168 uint8_t lun[8]; member
244 uint8_t lun[8]; member
273 uint8_t lun[8]; member
289 uint8_t lun[8]; member
305 uint8_t lun[8]; member
387 uint8_t lun[8]; member
409 uint8_t lun[8]; member
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_scsa.c285 if (lun == NULL) { in pmcs_scsa_tran_tgt_init()
299 lun->target = tgt; in pmcs_scsa_tran_tgt_init()
324 lun->sd = sd; in pmcs_scsa_tran_tgt_init()
378 if (lun) { in pmcs_scsa_tran_tgt_init()
415 pmcs_lun_t *lun; in pmcs_scsa_tran_tgt_free() local
429 ASSERT((lun != NULL) && (lun->target != NULL)); in pmcs_scsa_tran_tgt_free()
632 uint64_t lun; in pmcs_scsa_abort() local
674 lun = 0; in pmcs_scsa_abort()
775 lp = &lun; in pmcs_scsa_reset()
939 if ((lun == NULL) || (lun->target == NULL)) { in pmcs_addr2xp()
[all …]
/illumos-gate/usr/src/cmd/bhyve/
H A Dpci_virtio_scsi.c166 uint8_t lun[8]; member
181 uint8_t lun[8]; member
208 uint8_t lun[8]; member
213 uint8_t lun[8]; member
354 pci_vtscsi_get_lun(uint8_t *lun) in pci_vtscsi_get_lun() argument
357 return (((lun[2] << 8) | lun[3]) & 0x3fff); in pci_vtscsi_get_lun()
395 io->io_hdr.nexus.targ_lun = pci_vtscsi_get_lun(tmf->lun); in pci_vtscsi_tmf_handle()
486 io->io_hdr.nexus.targ_lun = pci_vtscsi_get_lun(cmd_rd->lun); in pci_vtscsi_request_handle()
/illumos-gate/usr/src/lib/sun_fc/common/
H A DIOError.cc91 IOError::IOError(HBAPort *port, uint64_t target, uint64_t lun) : in IOError() argument
98 lun, strerror(errno)); in IOError()
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_cvt.c38 static fpcfga_ret_t update_lunlist(struct luninfo_list **lunlistpp, int lun,
500 int lun, in update_lunlist() argument
515 newlun->lunnum = lun; in update_lunlist()
527 if ((*lunlistpp)->lunnum == lun) { in update_lunlist()
536 if ((*lunlistpp)->lunnum < lun) { in update_lunlist()
559 if (curlun->lunnum == lun) { in update_lunlist()
562 } else if (curlun->lunnum < lun) { in update_lunlist()

12345