Home
last modified time | relevance | path

Searched refs:lun_dip (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_lun.c463 ilp->lun_dip = NULL; in iscsi_lun_virt_create()
469 ilp->lun_dip = NULL; in iscsi_lun_virt_create()
494 dev_info_t *lun_dip = NULL; in iscsi_lun_phys_create() local
530 DEVI_SID_NODEID, &lun_dip); in iscsi_lun_phys_create()
536 lun_dip, TARGET_PROP, (int)isp->sess_oid) != in iscsi_lun_phys_create()
546 lun_dip, LUN_PROP, (int)ilp->lun_num) != in iscsi_lun_phys_create()
556 lun_dip, "compatible", compatible, ncompatible) in iscsi_lun_phys_create()
569 ndi_rtn = ndi_devi_online(lun_dip, 0); in iscsi_lun_phys_create()
581 ddi_get_instance(lun_dip)); in iscsi_lun_phys_create()
583 lun_dip, NDI_GUID, instance); in iscsi_lun_phys_create()
[all …]
H A Discsi.c83 static int iscsi_tran_lun_init(dev_info_t *hba_dip, dev_info_t *lun_dip,
89 static void iscsi_tran_lun_free(dev_info_t *hba_dip, dev_info_t *lun_dip,
143 static int iscsi_virt_lun_init(dev_info_t *hba_dip, dev_info_t *lun_dip,
145 static int iscsi_phys_lun_init(dev_info_t *hba_dip, dev_info_t *lun_dip,
771 iscsi_tran_lun_init(dev_info_t *hba_dip, dev_info_t *lun_dip, in iscsi_tran_lun_init() argument
784 type = mdi_get_component_type(lun_dip); in iscsi_tran_lun_init()
786 rval = iscsi_phys_lun_init(hba_dip, lun_dip, hba_tran, sd); in iscsi_tran_lun_init()
788 rval = iscsi_virt_lun_init(hba_dip, lun_dip, hba_tran, sd); in iscsi_tran_lun_init()
889 iscsi_tran_lun_free(dev_info_t *hba_dip, dev_info_t *lun_dip, in iscsi_tran_lun_free() argument
895 ASSERT(lun_dip != NULL); in iscsi_tran_lun_free()
[all …]
H A Discsi.h535 dev_info_t *lun_dip; member
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas.c3107 mptsas_name_child(dev_info_t *lun_dip, char *name, int len) in mptsas_name_child() argument
3115 lun = ddi_prop_get_int(DDI_DEV_T_ANY, lun_dip, DDI_PROP_DONTPASS, in mptsas_name_child()
3118 if ((phynum = ddi_prop_get_int(DDI_DEV_T_ANY, lun_dip, in mptsas_name_child()
3124 } else if (ddi_prop_lookup_string(DDI_DEV_T_ANY, lun_dip, in mptsas_name_child()
9362 dev_info_t *lun_dip = NULL; in mptsas_get_name() local
9366 lun_dip = sd->sd_dev; in mptsas_get_name()
9367 ASSERT(lun_dip != NULL); in mptsas_get_name()
9369 if (mptsas_name_child(lun_dip, name, len) == DDI_SUCCESS) { in mptsas_get_name()
15365 dev_info_t **lun_dip, mptsas_target_t *ptgt, int lun) in mptsas_create_lun() argument
15467 rval = mptsas_create_virt_lun(pdip, sd_inq, guid, lun_dip, &pip, in mptsas_create_lun()
[all …]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smartpqi/
H A Dsmartpqi_hba.c1008 dev_info_t *lun_dip; local
1012 lun_dip = mdi_pi_get_client(d->pd_pip_offlined);
1013 ASSERT(lun_dip != NULL);
1015 if (ddi_prop_lookup_string(DDI_DEV_T_ANY, lun_dip,
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dmpapi_impl.c3920 dev_info_t *lun_dip; in vhci_mpapi_sync_lu_oid_list() local
3949 lun_dip = mdi_pi_get_client in vhci_mpapi_sync_lu_oid_list()
3957 ddi_get_instance(lun_dip), raw_oid); in vhci_mpapi_sync_lu_oid_list()
3959 ddi_driver_major(lun_dip), raw_oid); in vhci_mpapi_sync_lu_oid_list()