Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_cvt.c47 const char *hba_phys; member
59 static scfga_ret_t drv_dyn_to_devpath(const char *hba_phys,
62 static scfga_ret_t devlink_dyn_to_devpath(const char *hba_phys,
76 static scfga_ret_t get_hba_devlink(const char *hba_phys,
78 static scfga_ret_t path_apid_dyn_to_path(const char *hba_phys, const char *dyn,
131 make_hba_logid(const char *hba_phys, char **hba_logpp, int *l_errnop) in make_hba_logid() argument
143 if (get_hba_devlink(hba_phys, hba_logpp, l_errnop) == SCFGA_OK) { in make_hba_logid()
155 pmt.phys = (char *)hba_phys; in make_hba_logid()
178 get_hba_devlink(const char *hba_phys, char **hba_logpp, int *l_errnop) in get_hba_devlink() argument
184 ret = physpath_to_devlink((char *)hba_phys, hba_logpp, in get_hba_devlink()
[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()
275 if (devctl_cmd(apidp->hba_phys, SCFGA_BUS_GETSTATE, &state, in dev_change_state()
389 assert(apidp->hba_phys != NULL); in dev_remove()
499 assert(apidp->hba_phys != NULL); in dev_insert()
530 ret = devctl_cmd(apidp->hba_phys, SCFGA_BUS_CONFIGURE, NULL, &l_errno); in dev_insert()
554 assert(apidp->hba_phys != NULL); in dev_replace()
666 assert(apidp->hba_phys != NULL); in reset_common()
725 bus_path = apidp->hba_phys + strlen(DEVICES_DIR); in quiesce_required()
[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,
/titanic_50/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_sata.h132 char *hba_phys; member
/titanic_50/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_cvt.c31 static fpcfga_ret_t get_xport_devlink(const char *hba_phys,