Home
last modified time | relevance | path

Searched refs:hba_phys (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_cvt.c47 const char *hba_phys; member
155 pmt.phys = (char *)hba_phys; in make_hba_logid()
240 const char *hba_phys, in apid_to_path() argument
253 if ((*pathpp = strdup(hba_phys)) == NULL) { in apid_to_path()
295 const char *hba_phys, in path_apid_dyn_to_path() argument
313 if ((root_path = strdup(hba_phys)) == NULL) { in path_apid_dyn_to_path()
413 const char *hba_phys, in drv_dyn_to_devpath() argument
430 dpt.hba_phys = hba_phys; in drv_dyn_to_devpath()
509 if (!hba_dev_cmp(dptp->hba_phys, devpath) && in do_drv_dyn_to_devpath()
541 const char *hba_phys, in devlink_dyn_to_devpath() argument
[all …]
H A Dcfga_ctl.c46 static int critical_ctrlr(const char *hba_phys);
78 assert(apidp->hba_phys != NULL); in bus_change_state()
264 assert(apidp->hba_phys != NULL); in dev_change_state()
389 assert(apidp->hba_phys != NULL); in dev_remove()
499 assert(apidp->hba_phys != NULL); in dev_insert()
554 assert(apidp->hba_phys != NULL); in dev_replace()
666 assert(apidp->hba_phys != NULL); in reset_common()
801 assert(apidp->hba_phys != NULL); in quiesce_confirm()
1222 s_getpid(), apidp->hba_phys)); in wait_and_cleanup()
1301 assert(apidp->hba_phys != NULL); in dev_hotplug()
[all …]
H A Dcfga_list.c103 assert(apidp->hba_phys != NULL && apidp->path != NULL); in do_list()
110 ret = make_hba_logid(apidp->hba_phys, &larg.hba_logp, &l_errno); in do_list()
193 ret = walk_tree(apidp->hba_phys, &larg, init_flag, NULL, in do_list()
204 ret = walk_tree(apidp->hba_phys, &larg, init_flag, &u, in do_list()
220 ret = walk_tree(apidp->hba_phys, &larg, init_flag, NULL, in do_list()
355 if (!dev_cmp(lap->apidp->hba_phys, nodepath, match_minor)) { in stat_dev()
453 lap->apidp->hba_phys, DYN_SEP, dyncomp); in create_pathinfo_ldata()
616 ret = walk_tree(lap->apidp->hba_phys, &bstate, DINFOPROP, &u, in do_stat_bus()
640 lap->apidp->hba_phys); in do_stat_bus()
710 assert(lap->apidp->hba_phys != NULL); in do_stat_dev()
[all …]
H A Dcfga_utils.c333 char *hba_phys = NULL, *dyn = NULL; in apidt_create() local
339 if ((hba_phys = pathdup(ap_id, &l_errno)) == NULL) { in apidt_create()
346 if ((dyn = GET_DYN(hba_phys)) != NULL) { in apidt_create()
372 if ((ret = apid_to_path(hba_phys, dyncomp, &path, in apidt_create()
379 assert(hba_phys != NULL); in apidt_create()
381 apidp->hba_phys = hba_phys; in apidt_create()
389 S_FREE(hba_phys); in apidt_create()
401 S_FREE(apidp->hba_phys); in apidt_free()
799 if ((root_path = strdup(apidp->hba_phys)) == NULL) { in path_apid_state_change()
H A Dcfga_scsi.h186 char *hba_phys; member
394 scfga_ret_t make_hba_logid(const char *hba_phys, char **hba_logpp,
396 scfga_ret_t apid_to_path(const char *hba_phys, const char *dyncomp,
/illumos-gate/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_sata.h130 char *hba_phys; member
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_cvt.c31 static fpcfga_ret_t get_xport_devlink(const char *hba_phys,