Lines Matching refs:lun_dip
81 static int iscsi_tran_lun_init(dev_info_t *hba_dip, dev_info_t *lun_dip,
87 static void iscsi_tran_lun_free(dev_info_t *hba_dip, dev_info_t *lun_dip,
141 static int iscsi_virt_lun_init(dev_info_t *hba_dip, dev_info_t *lun_dip,
143 static int iscsi_phys_lun_init(dev_info_t *hba_dip, dev_info_t *lun_dip,
774 iscsi_tran_lun_init(dev_info_t *hba_dip, dev_info_t *lun_dip,
787 type = mdi_get_component_type(lun_dip);
789 rval = iscsi_phys_lun_init(hba_dip, lun_dip, hba_tran, sd);
791 rval = iscsi_virt_lun_init(hba_dip, lun_dip, hba_tran, sd);
891 iscsi_tran_lun_free(dev_info_t *hba_dip, dev_info_t *lun_dip,
897 ASSERT(lun_dip != NULL);
1317 dev_info_t *lun_dip = NULL;
1321 lun_dip = sd->sd_dev;
1322 ASSERT(lun_dip != NULL);
1326 ddi_get_instance(ddi_get_parent(lun_dip)));
1467 dev_info_t *lun_dip = NULL;
3433 lun_dip = mdi_pi_get_client(
3436 lun_dip = ilp->lun_dip;
3439 if (lun_dip != NULL &&
3440 ((i_ddi_devi_attached(lun_dip)) ||
3441 (ddi_get_devstate(lun_dip) ==
3443 (void) ddi_pathname(lun_dip,
4703 iscsi_virt_lun_init(dev_info_t *hba_dip, dev_info_t *lun_dip,
4838 iscsi_phys_lun_init(dev_info_t *hba_dip, dev_info_t *lun_dip,
4850 ASSERT(lun_dip);
4856 if (ddi_prop_lookup_int_array(DDI_DEV_T_ANY, lun_dip,
4859 "lun for %s (instance %d)", ddi_get_name(lun_dip),
4860 ddi_get_instance(lun_dip));
4934 if (ddi_prop_update_string(DDI_DEV_T_NONE, lun_dip,