/osnet-11/usr/src/lib/libstmf/common/ |
H A D | libstmf_impl.h | 35 #define LUN_NUM(lun) \ 36 ((uint16_t)(lun)[1] | (((uint16_t)((lun)[0] & 0x3F)) << 8)) 37 #define UINT16_TO_LUN(n, lun) \ 38 ((lun)[0] = (n) >> 8, (lun)[1] = (n) & 0xFF) 39 #define SET_AUTO_LUN(lun) (lun[0] = 0xC0, lun[1] = 0x00, lun[ [all...] |
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | iscsit.d | 59 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[ [all...] |
/osnet-11/usr/src/grub/grub2/include/grub/ |
H A D | scsicmd.h | 31 grub_uint8_t lun; /* 7-5 LUN, 4-0 reserved */ member in struct:grub_scsi_test_unit_ready 42 grub_uint8_t lun; /* 7-5 LUN, 4-1 reserved, 0 EVPD */ member in struct:grub_scsi_inquiry 65 grub_uint8_t lun; /* 7-5 LUN, 4-0 reserved */ member in struct:grub_scsi_request_sense 91 grub_uint8_t lun; /* 7-5 LUN, 4-1 reserved, 0 reserved */ member in struct:grub_scsi_read_capacity 109 grub_uint8_t lun; member in struct:grub_scsi_read10 120 grub_uint8_t lun; member in struct:grub_scsi_read12 130 grub_uint8_t lun; member in struct:grub_scsi_write10 141 grub_uint8_t lun; member in struct:grub_scsi_write12
|
H A D | scsi.h | 46 grub_make_scsi_id (int subsystem, int bus, int lun) argument 49 | (bus << GRUB_SCSI_ID_BUS_SHIFT) | (lun << GRUB_SCSI_ID_LUN_SHIFT); 92 int lun; member in struct:grub_scsi
|
/osnet-11/usr/src/grub/grub2/grub-core/disk/ |
H A D | scsi.c | 73 rs.lun = scsi->lun << GRUB_SCSI_LUN_SHIFT; 96 tur.lun = scsi->lun << GRUB_SCSI_LUN_SHIFT; 130 iq.lun = scsi->lun << GRUB_SCSI_LUN_SHIFT; 166 rc.lun = scsi->lun << GRUB_SCSI_LUN_SHIFT; 207 rd.lun = scsi->lun << GRUB_SCSI_LUN_SHIF 379 int lun, bus; local [all...] |
H A D | usbms.c | 38 grub_uint8_t lun; member in struct:grub_usbms_cbw 258 cbw.lun = scsi->lun; /* In USB MS CBW are LUN bits on another place than in SCSI CDB, both should be set correctly. */ 265 grub_dprintf ("usb", "CBW: flags=0x%02x lun=0x%02x CB_len=0x%02x\n", 266 cbw.flags, cbw.lun, cbw.length);
|
/osnet-11/usr/src/lib/sun_fc/common/ |
H A D | IOError.cc | 89 * @param lun The unit number which failed 91 IOError::IOError(HBAPort *port, uint64_t target, uint64_t lun) : argument 93 Trace log("IOError::IOError(HBAPort, wwn, lun)"); 95 "On HBA port %016llx target %016llx lun %016llx (%s)", 98 lun, strerror(errno));
|
H A D | Exceptions.h | 215 IOError(HBAPort *port, uint64_t target, uint64_t lun);
|
/osnet-11/usr/src/lib/libuefi_rt/common/ |
H A D | libuefi_rt_impl.h | 141 uint16_t lun; member in struct:uefi_scsi_device_path 151 uint16_t lun; member in struct:uefi_atapi_device_path 160 uint64_t lun; member in struct:uefi_fibre_device_path 179 uint16_t lun; member in struct:uefi_sata_device_path
|
H A D | libuefi_rt_path.c | 52 int uefi_add_scsi(uint8_t target, uint8_t lun, 57 int uefi_add_sata(uint16_t port, uint16_t port_mult, uint16_t lun, 59 int uefi_add_atapi(uint8_t channel, uint8_t drive, uint16_t lun, 1270 uint32_t target, lun; local 1272 ret = sscanf(busaddr, "%"PRIx32",%"PRIx32, &target, &lun); 1322 return (uefi_add_scsi(target, lun, dpath_array_ptr)); 1334 (uint16_t)lun, dpath_array_ptr)); 1625 uefi_add_sata(uint16_t port, uint16_t port_mult, uint16_t lun, argument 1643 sata->lun = lun; 1655 uefi_add_scsi(uint8_t target, uint8_t lun, uefi_device_path_t ***dpath_array_ptr) argument 1684 uefi_add_atapi(uint8_t channel, uint8_t drive, uint16_t lun, uefi_device_path_t ***dpath_array_ptr) argument [all...] |
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/common/ |
H A D | pi_bay.c | 74 int lun; local 88 /* 'lun' property */ 89 lun = pi_get_lun(mod, dnode); 90 if (lun < 0 || lun > PI_MAX_LUN) { 91 topo_mod_dprintf(mod, "pi_bay_ocpath: failed to get 'lun' " 102 * 'devfs_path' + "/disk@w" + 'target-port' + "," + 'lun' 113 (got_w ? "/disk@" : "/disk@w"), tgt_port, lun); 219 int lun; local 229 /* 'lun' pro [all...] |
H A D | pi_subr.c | 516 * Return the "lun" property. 521 int lun; local 532 if (strcmp("lun", 535 bcopy(buf, &lun, sizeof (int)); 545 if (strncmp("lun", di_prop_name(di_prop), 550 bcopy(chbuf, &lun, sizeof (uint_t)); 560 topo_mod_dprintf(mod, "pi_get_lun: lun = (%d)\n", lun); 561 return (lun);
|
/osnet-11/usr/src/lib/libdevid/ |
H A D | libdevid.h | 64 extern scsi_lun64_t scsi_lun_to_lun64(scsi_lun_t lun);
|
/osnet-11/usr/src/lib/libraidcfg/common/ |
H A D | raidcfg_spi.h | 258 uint64_t lun; member in struct:__anon2397::__anon2398 266 uint64_t lun; member in struct:__anon2399::__anon2400
|
/osnet-11/usr/src/lib/libinetutil/common/ |
H A D | ifspec.c | 61 getlun(const char *bp, int bpsize, uint_t *lun) argument 70 if (tp == ep || tp != bp || extract_uint(bp + 1, lun) != 0) {
|
/osnet-11/usr/src/lib/libipmi/common/ |
H A D | ipmi_bmc.c | 123 bmcreq->lun = cmd->ic_lun; 154 response->ic_lun = bmcrsp->lun;
|
/osnet-11/usr/src/grub/grub2/util/ieee1275/ |
H A D | ofpath.c | 328 int host, bus, tgt, lun; local 337 sscanf(p, "%d:%d:%d:%d", &host, &bus, &tgt, &lun); 363 sprintf(disk, "/%s@%x,%d", disk_name, tgt, lun); 370 sprintf(disk, "/%s@%x,%d:%c", disk_name, tgt, lun, 'a' + (part - 1));
|
/osnet-11/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_cvt.c | 38 static fpcfga_ret_t update_lunlist(struct luninfo_list **lunlistpp, int lun, 377 /* is property name lun-wwn */ 500 int lun, 515 newlun->lunnum = lun; 520 /* if lunlist is empty add the new lun info and return. */ 526 /* if the first lun in the list is the same as the new lun return. */ 527 if ((*lunlistpp)->lunnum == lun) { 533 * if the first lun in the list is less than the new lun ad 498 update_lunlist( struct luninfo_list **lunlistpp, int lun, uint_t state, char *pathp, int *l_errnop) argument [all...] |
H A D | cfga_cs.c | 371 * With MPXIO there will be only one entry per lun 608 * xport addr and the target addr with current lun 690 uint64_t lun = 0; local 736 * send the SCSI Inquiry call to lun 0 743 lun = 0; 779 * issue the inquiry to the first valid lun found 783 memcpy(&lun, lun_string, sizeof (lun)); 787 *(HBA_WWN *)(pwwn), lun, 0, 0, &inq, &inquirySize, 791 * peripheral qualifier for the lun [all...] |
H A D | cfga_list.c | 465 * process FCP SCSI LUN data list via uscsi report lun operation and 466 * stat lun level instead of port WWN based target level. 472 * For each configured device, USCSI report lun is issued and ldata list 500 uint64_t lun = 0; local 529 /* if lun dyncomp exists delete it */ 641 discPortAttrs.PortWWN, lun, 0, 0, 728 discPortAttrs.PortWWN, lun, 0, 0, 971 * This routine returns report lun data and number of luns found 974 * Calls FCP passthru ioctl FCP_TGT_SEND_SCSI to get report lun data. 1050 * It calls get_report_lun_data to get report lun dat 3689 uint64_t lun = 0; local [all...] |
/osnet-11/usr/src/lib/fm/topo/modules/common/bay/common/ |
H A D | bay_subr.c | 249 int lun; local 288 /* 'lun' prop */ 289 lun = get_int_prop(dnode, pnode, "lun"); 290 if (lun < 0 || lun > 255) { 291 topo_mod_dprintf(mod, "%s: invalid lun (%d)\n", f, lun); 298 /* oc_path = devfs path + "/disk@w' + 'target-port' + "," + 'lun' */ 300 (got_w ? "/disk@" : "/disk@w"), target_port, lun); [all...] |
H A D | bay.c | 301 int rv, lun; local 326 /* 'lun' prop */ 327 lun = get_int_prop(cnode, pn, "lun"); 328 if (lun < 0 || lun > 255) { 330 "bay_decorate: invalid lun (%d)\n", lun); 335 oc_path = topo_mod_client_ocpath(mod, cnode, tgt, lun);
|
/osnet-11/usr/src/lib/libsun_ima/common/ |
H A D | ima.c | 1546 IMA_UINT64 lun, 1560 if (pLunList->ll_luns[i].l_num == lun) { 1592 iscsi_lun_props_t lun; local 1600 * get list of lun oids for all targets 1608 * for each lun, check if match is found 1612 * match found, break out of lun loop 1620 (void) memset(&lun, 0, sizeof (iscsi_lun_props_t)); 1621 lun.lp_vers = ISCSI_INTERFACE_VERSION; 1622 lun.lp_tgt_oid = pLunList->ll_luns[j].l_tgt_oid; 1623 lun 1544 IMA_GetLuOid( IMA_OID targetId, IMA_UINT64 lun, IMA_OID *pluId ) argument [all...] |
/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | alias.c | 72 if (nvlist_add_uint32(attrs, DM_LUN, ap->lun) != 0) {
|
/osnet-11/usr/src/grub/grub2/grub-core/kern/efi/ |
H A D | efi.c | 459 (unsigned) atapi.lun); 468 (unsigned) scsi.lun); 477 (unsigned long long) fc.lun);
|