Lines Matching refs:hba_phys
47 const char *hba_phys;
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)
143 if (get_hba_devlink(hba_phys, hba_logpp, l_errnop) == SCFGA_OK) {
155 pmt.phys = (char *)hba_phys;
178 get_hba_devlink(const char *hba_phys, char **hba_logpp, int *l_errnop)
184 ret = physpath_to_devlink((char *)hba_phys, hba_logpp,
233 * Given a bus or device ap_id <hba_phys, dyncomp>, returns the physical
240 const char *hba_phys,
253 if ((*pathpp = strdup(hba_phys)) == NULL) {
269 ret = devlink_dyn_to_devpath(hba_phys, dyncomp, pathpp,
272 ret = path_apid_dyn_to_path(hba_phys, dyncomp, pathpp,
275 ret = drv_dyn_to_devpath(hba_phys, dyncomp, pathpp, l_errnop);
288 * hba_phys: physical path of HBA
295 const char *hba_phys,
309 if ((hba_phys == NULL) || (pathpp != NULL) && (*pathpp != NULL)) {
313 if ((root_path = strdup(hba_phys)) == NULL) {
413 const char *hba_phys,
430 dpt.hba_phys = hba_phys;
434 ret = walk_tree(hba_phys, &dpt, DINFOCPYALL, &u,
465 assert(dptp->hba_phys != NULL && dptp->dyncomp != NULL);
503 if (!dev_cmp(dptp->hba_phys, devpath, match_minor)) {
509 if (!hba_dev_cmp(dptp->hba_phys, devpath) &&
541 const char *hba_phys,
592 if (!hba_dev_cmp(hba_phys, path)) {