Searched refs:luNbr (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/uts/common/io/comstar/stmf/ |
H A D | lun_map.c | 366 uint16_t luNbr = in stmf_add_lu_to_session() local 370 ASSERT(!stmf_get_ent_from_map(sm, luNbr)); in stmf_add_lu_to_session() 408 uint16_t luNbr = in stmf_remove_lu_from_session() local 412 lun_map_ent = stmf_get_ent_from_map(sm, luNbr); in stmf_remove_lu_from_session() 1118 uint16_t luNbr; in stmf_get_next_free_lun() local 1122 for (luNbr = 0; luNbr < sm->lm_nentries; luNbr++) { in stmf_get_next_free_lun() 1123 if (sm->lm_plus[luNbr] == NULL) in stmf_get_next_free_lun() 1131 lun[1] = luNbr & 0xff; in stmf_get_next_free_lun() 1132 lun[0] = (luNbr >> 8) & 0xff; in stmf_get_next_free_lun() 1135 return (luNbr); in stmf_get_next_free_lun() [all …]
|
H A D | lun_map.h | 153 uint8_t *luNbr, uint32_t *err_detail); 155 uint16_t tgname_size, uint8_t *luNbr, uint32_t *err_detail);
|
H A D | stmf.c | 4333 uint16_t luNbr; in stmf_task_alloc() local 4346 luNbr = ((uint16_t)lun[1] | (((uint16_t)(lun[0] & 0x3F)) << 8)); in stmf_task_alloc() 4349 (stmf_lun_map_ent_t *)stmf_get_ent_from_map(iss->iss_sm, luNbr); in stmf_task_alloc()
|
/illumos-gate/usr/src/lib/libstmf/common/ |
H A D | stmf.c | 660 bcopy(viewEntry->luNbr, &ioctlViewEntry.ve_lu_nbr, in addViewEntryIoctl() 726 bcopy(&ioctlViewEntry.ve_lu_nbr, viewEntry->luNbr, in addViewEntryIoctl() 773 bcopy(viewEntry->luNbr, iViewEntry.luNbr, in stmfAddViewEntry() 774 sizeof (iViewEntry.luNbr)); in stmfAddViewEntry() 848 bcopy(iViewEntry.luNbr, viewEntry->luNbr, in stmfAddViewEntry() 849 sizeof (iViewEntry.luNbr)); in stmfAddViewEntry() 4878 bcopy(fVeList[i].ve_lu_nbr, (*viewEntryList)->ve[i].luNbr, in stmfGetViewEntryList() 4879 sizeof ((*viewEntryList)->ve[i].luNbr)); in stmfGetViewEntryList() 6803 bcopy(viewEntry->luNbr, &ioctlViewEntry.ve_lu_nbr, in validateLunNumIoctl() 6820 bcopy(ioctlViewEntry.ve_lu_nbr, viewEntry->luNbr, in validateLunNumIoctl() [all …]
|
H A D | libstmf.h | 250 uchar_t luNbr[8]; /* LU number for this view entry */ member
|
H A D | store.c | 1176 if (scf_value_set_opaque(value[i], (char *)viewEntry->luNbr, in iPsAddViewEntry() 1177 sizeof (viewEntry->luNbr)) == -1) { in iPsAddViewEntry() 3878 if (scf_value_get_opaque(value, (char *)viewEntry->luNbr, in iPsGetViewEntry() 3879 sizeof (viewEntry->luNbr)) == -1) { in iPsGetViewEntry()
|
/illumos-gate/usr/src/cmd/stmfadm/ |
H A D | stmfadm.c | 641 viewEntry.luNbr[0] = inputLuNbr >> 8; in addViewFunc() 642 viewEntry.luNbr[1] = inputLuNbr & 0xff; in addViewFunc() 2796 outputLuNbr = ((viewEntryList->ve[j].luNbr[0] & in listViewFunc() 2797 0x3F) << 8) | viewEntryList->ve[j].luNbr[1]; in listViewFunc()
|