Home
last modified time | relevance | path

Searched refs:lunp (Results 1 – 8 of 8) sorted by relevance

/titanic_50/usr/src/cmd/devfsadm/
H A Dsgen_link.c144 int lun, *lunp, count; in sgen_callback() local
145 if (di_prop_lookup_ints(DDI_DEV_T_ANY, node, "lun", &lunp) > 0) in sgen_callback()
146 lun = *lunp; in sgen_callback()
/titanic_50/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_cvt.c437 int *lunp; in insert_lun_to_lunlist() local
442 count = di_prop_ints(prop_lun, &lunp); in insert_lun_to_lunlist()
481 *lunp); in insert_lun_to_lunlist()
494 return (update_lunlist(lunlistpp, *lunp, state, pathp, l_errnop)); in insert_lun_to_lunlist()
H A Dcfga_list.c2799 char *lun_dyn = NULL, *lunp = NULL; in is_FCP_dev_ap_on_ldata_list() local
2819 lunp = LUN_DYN_TO_LUNCOMP(lun_dyn); in is_FCP_dev_ap_on_ldata_list()
2820 if ((ldata_lun = atoi(lunp)) == lun_num) { in is_FCP_dev_ap_on_ldata_list()
2837 lun_dyn = lunp = NULL; in is_FCP_dev_ap_on_ldata_list()
2845 lunp = LUN_DYN_TO_LUNCOMP(lun_dyn); in is_FCP_dev_ap_on_ldata_list()
2846 if ((ldata_lun = atoi(lunp)) == lun_num) { in is_FCP_dev_ap_on_ldata_list()
2860 lun_dyn = lunp = NULL; in is_FCP_dev_ap_on_ldata_list()
3602 char *lun_dyn = NULL, *lunp = NULL; in insert_FCP_dev_ldata() local
3615 lunp = LUN_DYN_TO_LUNCOMP(lun_dyn); in insert_FCP_dev_ldata()
3616 if ((atoi(lunp)) >= lun_num) { in insert_FCP_dev_ldata()
[all …]
H A Dcfga_utils.c471 struct luninfo_list *lunp; in lunlist_free() local
474 lunp = lunlist->next; in lunlist_free()
477 lunlist = lunp; in lunlist_free()
/titanic_50/usr/src/uts/common/sys/scsi/targets/
H A Dsddef.h1153 #define SD_FILL_SCSI1_LUN_CDB(lunp, cdbp) \ argument
1154 if (! (lunp)->un_f_is_fibre && \
1155 SD_INQUIRY((lunp))->inq_ansi == 0x01) { \
1157 SD_DEVINFO((lunp)), DDI_PROP_DONTPASS, \
1164 #define SD_FILL_SCSI1_LUN(lunp, pktp) \ argument
1165 SD_FILL_SCSI1_LUN_CDB((lunp), (union scsi_cdb *)(pktp)->pkt_cdbp)
/titanic_50/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_subr.c8108 pmcs_lun_t *lunp; in pmcs_update_phy_pm_props() local
8110 lunp = list_head(&tgt->lun_list); in pmcs_update_phy_pm_props()
8111 while (lunp) { in pmcs_update_phy_pm_props()
8112 (void) scsi_device_prop_update_string(lunp->sd, in pmcs_update_phy_pm_props()
8116 (void) scsi_device_prop_update_string(lunp->sd, in pmcs_update_phy_pm_props()
8120 lunp = list_next(&tgt->lun_list, lunp); in pmcs_update_phy_pm_props()
/titanic_50/usr/src/uts/common/io/scsi/impl/
H A Dscsi_hba.c7155 scsi_lun_t *lunp = NULL; in scsi_hba_enum_lsf_of_t() local
7217 taddr, pi, &lunp, &nluns, &tluns, &size) == NDI_SUCCESS)) { in scsi_hba_enum_lsf_of_t()
7219 ASSERT(lunp && (size > 0) && (nluns > 0) && (tluns > 0)); in scsi_hba_enum_lsf_of_t()
7227 lun64 = scsi_lun_to_lun64(lunp[lun]); in scsi_hba_enum_lsf_of_t()
7265 kmem_free(lunp, size); in scsi_hba_enum_lsf_of_t()
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_solaris.c10806 uint16_t *lunp; in emlxs_swap_fcp_pkt() local
10837 lunp = (uint16_t *)&cmd->fcpLunMsl; in emlxs_swap_fcp_pkt()
10839 lunp[i] = LE_SWAP16(lunp[i]); in emlxs_swap_fcp_pkt()