Home
last modified time | relevance | path

Searched refs:hba_dip (Results 1 – 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/uts/common/sys/scsi/impl/
H A Dtransport.h86 dev_info_t *hba_dip,
96 dev_info_t *hba_dip,
175 dev_info_t *hba_dip,
181 dev_info_t *hba_dip,
196 dev_info_t *hba_dip,
202 dev_info_t *hba_dip);
205 dev_info_t *hba_dip);
208 dev_info_t *hba_dip,
237 dev_info_t *hba_dip,
244 dev_info_t *hba_dip,
[all …]
H A Dscsi_sas.h46 extern int sas_phymap_create(dev_info_t *hba_dip,
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_lun.c412 mdi_rtn = mdi_pi_alloc_compatible(ihp->hba_dip, nodename, in iscsi_lun_virt_create()
508 if (ddi_prop_lookup_string(DDI_DEV_T_ANY, isp->sess_hba->hba_dip, in iscsi_lun_phys_create()
527 ndi_devi_enter(ihp->hba_dip); in iscsi_lun_phys_create()
529 ndi_rtn = ndi_devi_alloc(ihp->hba_dip, nodename, in iscsi_lun_phys_create()
592 ndi_devi_exit(ihp->hba_dip); in iscsi_lun_phys_create()
636 ndi_devi_enter(ihp->hba_dip); in iscsi_lun_online()
638 ndi_devi_exit(ihp->hba_dip); in iscsi_lun_online()
764 ndi_devi_enter(ihp->hba_dip); in iscsi_lun_offline()
779 ndi_devi_exit(ihp->hba_dip); in iscsi_lun_offline()
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,
341 *result = ip->hba_dip; in iscsi_getinfo()
342 if (ip->hba_dip == NULL) in iscsi_getinfo()
443 ihp->hba_dip = dip; in iscsi_attach()
465 DDI_DEV_T_ANY, ihp->hba_dip, 0, "so-rcvbuf", in iscsi_attach()
469 DDI_DEV_T_ANY, ihp->hba_dip, 0, "so-sndbuf", in iscsi_attach()
473 DDI_DEV_T_ANY, ihp->hba_dip, 0, "tcp-nodelay", in iscsi_attach()
[all …]
H A Discsi_stats.c97 ddi_get_instance(ihp->hba_dip), ks_name, iSCSI_CLASS_HBA, in iscsi_hba_kstat_init()
193 ddi_get_instance(ihp->hba_dip), ks_name, iSCSI_CLASS_SESS, in iscsi_sess_kstat_init()
235 ddi_get_instance(ihp->hba_dip), ks_name, iSCSI_CLASS_SESS, in iscsi_sess_kstat_init()
358 ddi_get_instance(ihp->hba_dip), ks_name, iSCSI_CLASS_CONN, in iscsi_conn_kstat_init()
H A Discsi_sess.c158 ihp->hba_dip, in iscsi_sess_create()
288 isp->sess_login_taskq = ddi_taskq_create(ihp->hba_dip, in iscsi_sess_create()
299 isp->sess_enum_taskq = ddi_taskq_create(ihp->hba_dip, in iscsi_sess_create()
311 isp->sess_wd_thread = iscsi_thread_create(ihp->hba_dip, in iscsi_sess_create()
1632 isp->sess_ic_thread = iscsi_thread_create(ihp->hba_dip, in iscsi_sess_threads_create()
H A Discsi_conn.c124 ddi_taskq_create(icp->conn_sess->sess_hba->hba_dip, th_name, 1, in iscsi_conn_create()
146 icp->conn_tx_thread = iscsi_thread_create(isp->sess_hba->hba_dip, in iscsi_conn_create()
H A Discsid.c285 iscsi_thread_create(ihp->hba_dip, in iscsid_init()
1422 login_taskq = ddi_taskq_create(ihp->hba_dip, in iscsid_login_tgt()
1859 t->thr_id = iscsi_thread_create(ihp->hba_dip, t->name, in iscsid_threads_create()
2197 (void) ddi_log_sysevent(ihp->hba_dip, DDI_VENDOR_SUNW, eventclass, in iscsi_send_sysevent()
H A Discsi.h1108 dev_info_t *hba_dip; /* dev info ptr */ member
/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/
H A Dghd_waitq.c37 ghd_target_init(dev_info_t *hba_dip, in ghd_target_init() argument
45 _NOTE(ARGUNUSED(hba_dip)) in ghd_target_init()
136 ghd_target_free(dev_info_t *hba_dip, in ghd_target_free() argument
141 _NOTE(ARGUNUSED(hba_dip,tgt_dip)) in ghd_target_free()
/illumos-gate/usr/src/uts/sun/sys/dada/impl/
H A Dtransport.h80 dev_info_t *hba_dip,
89 dev_info_t *hba_dip,
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smrt/
H A Dsmrt_hba.c22 smrt_ctrl_tran_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip, in smrt_ctrl_tran_tgt_init() argument
69 smrt_logvol_tran_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip, in smrt_logvol_tran_tgt_init() argument
72 _NOTE(ARGUNUSED(hba_dip)) in smrt_logvol_tran_tgt_init()
144 smrt_logvol_tran_tgt_free(dev_info_t *hba_dip, dev_info_t *tgt_dip, in smrt_logvol_tran_tgt_free() argument
147 _NOTE(ARGUNUSED(hba_dip, tgt_dip)) in smrt_logvol_tran_tgt_free()
168 smrt_phys_tran_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip, in smrt_phys_tran_tgt_init() argument
171 _NOTE(ARGUNUSED(hba_dip)) in smrt_phys_tran_tgt_init()
257 smrt_phys_tran_tgt_free(dev_info_t *hba_dip, dev_info_t *tgt_dip, in smrt_phys_tran_tgt_free() argument
260 _NOTE(ARGUNUSED(hba_dip, tgt_dip)) in smrt_phys_tran_tgt_free()
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Datapi.c36 static int atapi_tran_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip,
39 static void atapi_tran_tgt_free(dev_info_t *hba_dip, dev_info_t *tgt_dip,
324 dev_info_t *hba_dip, in atapi_tran_tgt_init() argument
358 gtgtp = ghd_target_init(hba_dip, tgt_dip, &ata_ctlp->ac_ccc, in atapi_tran_tgt_init()
402 dev_info_t *hba_dip, in atapi_tran_tgt_free() argument
409 ghd_target_free(hba_dip, tgt_dip, &TRAN2ATAP(hba_tran)->ac_ccc, in atapi_tran_tgt_free()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smartpqi/
H A Dsmartpqi_hba.c27 static int pqi_scsi_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip,
29 static void pqi_scsi_tgt_free(dev_info_t *hba_dip, dev_info_t *tgt_dip,
158 pqi_scsi_tgt_init(dev_info_t *hba_dip __unused, dev_info_t *tgt_dip, in pqi_scsi_tgt_init()
194 pqi_scsi_tgt_free(dev_info_t *hba_dip __unused, dev_info_t *tgt_dip __unused, in pqi_scsi_tgt_free()
/illumos-gate/usr/src/uts/common/io/
H A Demul64.c76 static int emul64_tran_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip,
511 emul64_tran_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip, in emul64_tran_tgt_init() argument
542 if (ddi_prop_lookup_string_array(DDI_DEV_T_ANY, hba_dip, in emul64_tran_tgt_init()
557 if (ddi_prop_lookup_int_array(DDI_DEV_T_ANY, hba_dip, DDI_PROP_DONTPASS, in emul64_tran_tgt_init()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/lmrc/
H A Dlmrc_scsa.c189 lmrc_tran_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip, in lmrc_tran_tgt_init() argument
210 lmrc_tran_tgt_free(dev_info_t *hba_dip, dev_info_t *tgt_dip, in lmrc_tran_tgt_free() argument
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c918 vhci_scsi_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip, in vhci_scsi_tgt_init() argument
928 ASSERT(hba_dip != NULL); in vhci_scsi_tgt_init()
942 VHCI_DEBUG(4, (CE_WARN, hba_dip, "tgt_init: lun guid " in vhci_scsi_tgt_init()
958 vhci = ddi_get_soft_state(vhci_softstate, ddi_get_instance(hba_dip)); in vhci_scsi_tgt_init()
961 VHCI_DEBUG(4, (CE_NOTE, hba_dip, in vhci_scsi_tgt_init()
977 VHCI_DEBUG(1, (CE_WARN, hba_dip, "tgt_init: " in vhci_scsi_tgt_init()
982 VHCI_DEBUG(1, (CE_WARN, hba_dip, "tgt_init: " in vhci_scsi_tgt_init()
1004 VHCI_DEBUG(1, (CE_WARN, hba_dip, "tgt_init: " in vhci_scsi_tgt_init()
1015 VHCI_DEBUG(1, (CE_WARN, hba_dip, "vhci_scsi_tgt_init: " in vhci_scsi_tgt_init()
1028 VHCI_DEBUG(1, (CE_WARN, hba_dip, in vhci_scsi_tgt_init()
[all …]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_scsa.c150 pmcs_scsa_tran_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip, in pmcs_scsa_tran_tgt_init() argument
168 if (scsi_hba_iport_unit_address(hba_dip) == NULL) { in pmcs_scsa_tran_tgt_init()
410 pmcs_scsa_tran_tgt_free(dev_info_t *hba_dip, dev_info_t *tgt_dip, in pmcs_scsa_tran_tgt_free() argument
413 _NOTE(ARGUNUSED(hba_dip, tgt_dip)); in pmcs_scsa_tran_tgt_free()
420 if (scsi_hba_iport_unit_address(hba_dip) == NULL) { in pmcs_scsa_tran_tgt_free()
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c372 static int fcp_phys_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip,
374 static int fcp_scsi_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip,
376 static void fcp_scsi_tgt_free(dev_info_t *hba_dip, dev_info_t *tgt_dip,
603 static int fcp_virt_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip,
10814 fcp_phys_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip, in fcp_phys_tgt_init() argument
10900 fcp_virt_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip, in fcp_virt_tgt_init() argument
10918 ddi_get_instance(tgt_dip), hba_dip, tgt_dip); in fcp_virt_tgt_init()
10997 fcp_scsi_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip, in fcp_scsi_tgt_init() argument
11012 rval = fcp_virt_tgt_init(hba_dip, tgt_dip, hba_tran, sd); in fcp_scsi_tgt_init()
11014 rval = fcp_phys_tgt_init(hba_dip, tgt_dip, hba_tran, sd); in fcp_scsi_tgt_init()
[all …]
/illumos-gate/usr/src/uts/intel/io/amr/
H A Damr.c170 static int amr_tran_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip,
1476 amr_tran_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip, in amr_tran_tgt_init() argument
/illumos-gate/usr/src/uts/common/io/cpqary3/
H A Dcpqary3_transport.c112 cpqary3_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip, in cpqary3_tgt_init() argument
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas.c190 static int mptsas_scsi_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip,
192 static void mptsas_scsi_tgt_free(dev_info_t *hba_dip, dev_info_t *tgt_dip,
3148 mptsas_scsi_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip, in mptsas_scsi_tgt_init() argument
3175 ASSERT(scsi_hba_iport_unit_address(hba_dip) != 0); in mptsas_scsi_tgt_init()
3178 (void *)hba_dip, (void *)tgt_dip, lun)); in mptsas_scsi_tgt_init()
3188 phymask = (mptsas_phymask_t)ddi_prop_get_int(DDI_DEV_T_ANY, hba_dip, 0, in mptsas_scsi_tgt_init()
3318 mptsas_scsi_tgt_free(dev_info_t *hba_dip, dev_info_t *tgt_dip, in mptsas_scsi_tgt_free() argument
3322 _NOTE(ARGUNUSED(hba_dip, tgt_dip, hba_tran, sd)) in mptsas_scsi_tgt_free()
/illumos-gate/usr/src/uts/sun/io/scsi/adapters/
H A Dfas.c316 static int fas_scsi_quiesce(dev_info_t *hba_dip);
317 static int fas_scsi_unquiesce(dev_info_t *hba_dip);
512 fas_scsi_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip, in fas_scsi_tgt_init() argument
/illumos-gate/usr/src/uts/common/io/sata/impl/
H A Dsata.c2055 sata_scsi_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip, in sata_scsi_tgt_init() argument
2059 _NOTE(ARGUNUSED(hba_dip)) in sata_scsi_tgt_init()
2110 (ddi_getprop(DDI_DEV_T_ANY, hba_dip, DDI_PROP_DONTPASS, in sata_scsi_tgt_init()
2187 sata_scsi_tgt_free(dev_info_t *hba_dip, dev_info_t *tgt_dip, in sata_scsi_tgt_free() argument
2191 _NOTE(ARGUNUSED(hba_dip)) in sata_scsi_tgt_free()
2238 (ddi_getprop(DDI_DEV_T_ANY, hba_dip, DDI_PROP_DONTPASS, in sata_scsi_tgt_free()
/illumos-gate/usr/src/uts/common/io/aac/
H A Daac.c4151 aac_tran_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip, in aac_tran_tgt_init() argument
4235 aac_tran_tgt_free(dev_info_t *hba_dip, dev_info_t *tgt_dip, in aac_tran_tgt_free() argument
4239 _NOTE(ARGUNUSED(hba_dip, tgt_dip, hba_tran)) in aac_tran_tgt_free()

12