Home
last modified time | relevance | path

Searched refs:xport_phys (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_cs.c94 if ((bus_hdl = devctl_bus_acquire(apidt->xport_phys, 0)) == NULL) { in do_devctl_dev_create()
97 apidt->xport_phys, 0); in do_devctl_dev_create()
341 lun_unconf(char *path, int lunnum, char *xport_phys, char *dyncomp, in lun_unconf() argument
359 (void) strlcpy(pathname, xport_phys, MAXPATHLEN); in lun_unconf()
449 lunlistp->lunnum, apidt->xport_phys, in dev_unconf()
459 lunlistp->lunnum, apidt->xport_phys, in dev_unconf()
472 apidt->xport_phys, apidt->dyncomp, in dev_unconf()
507 char *xport_phys, *vhci_path, *dyncomp; in is_xport_phys_in_pathlist() local
516 xport_phys = apidt->xport_phys; in is_xport_phys_in_pathlist()
534 if (xport_phys == NULL || vhci_path == NULL) { in is_xport_phys_in_pathlist()
[all …]
H A Dcfga_list.c115 static fpcfga_ret_t get_standard_inq_data(const char *xport_phys,
121 static fpcfga_ret_t issue_fcp_scsi_cmd(const char *xport_phys,
123 static uchar_t get_inq_dtype(char *xport_phys, char *dyncomp, HBA_HANDLE handle,
192 ret = make_xport_logid(apidp->xport_phys, &larg.xport_logp, &l_errno); in do_list()
204 if ((ret = findMatchingAdapterPort(larg.apidp->xport_phys, &handle, in do_list()
290 inq_dtype = get_inq_dtype(apidp->xport_phys, in do_list()
380 inq_dtype = get_inq_dtype(apidp->xport_phys, dyncomp, in do_list()
420 ret = walk_tree(apidp->xport_phys, &larg, DINFOCPYALL | DINFOPATH, in do_list()
491 char *xport_phys = NULL, *dyn = NULL, *dyncomp = NULL, in do_list_FCP_dev() local
511 if ((xport_phys = pathdup(ap_id, &l_errno)) == NULL) { in do_list_FCP_dev()
[all …]
H A Dcfga_cvt.c34 static fpcfga_ret_t is_apid_configured(const char *xport_phys,
99 make_xport_logid(const char *xport_phys, char **xport_logpp, int *l_errnop) in make_xport_logid() argument
112 if (get_xport_devlink(xport_phys, xport_logpp, l_errnop) == FPCFGA_OK) { in make_xport_logid()
121 get_xport_devlink(const char *xport_phys, char **xport_logpp, int *l_errnop) in get_xport_devlink() argument
128 ret = physpath_to_devlink(CFGA_DEV_DIR, (char *)xport_phys, in get_xport_devlink()
153 const char *xport_phys, in dyn_apid_to_path() argument
165 ret = is_apid_configured(xport_phys, dyncomp, lunlistpp, l_errnop); in dyn_apid_to_path()
185 const char *xport_phys, in is_apid_configured() argument
211 if ((devfs_phys = strdup(xport_phys)) == NULL) { in is_apid_configured()
H A Dcfga_utils.c410 char *xport_phys = NULL, *dyn = NULL; in apidt_create() local
417 if ((xport_phys = pathdup(ap_id, &l_errno)) == NULL) { in apidt_create()
424 if ((dyn = GET_DYN(xport_phys)) != NULL) { in apidt_create()
444 ret = dyn_apid_to_path(xport_phys, dyncomp, in apidt_create()
452 assert(xport_phys != NULL); in apidt_create()
454 apidp->xport_phys = xport_phys; in apidt_create()
462 S_FREE(xport_phys); in apidt_create()
487 S_FREE(apidp->xport_phys); in apidt_free()
959 char *xport_phys, in physpath_to_devlink() argument
967 pmt.phys = xport_phys; in physpath_to_devlink()
H A Dcfga_fp.h206 char *xport_phys; member
446 fpcfga_ret_t get_report_lun_data(const char *xport_phys,
479 fpcfga_ret_t make_xport_logid(const char *xport_phys, char **xport_logpp,
481 fpcfga_ret_t dyn_apid_to_path(const char *xport_phys, const char *dyncomp,
505 fpcfga_ret_t physpath_to_devlink(const char *basedir, char *xport_phys,
H A Dcfga_fp.c136 if ((ret = findMatchingAdapterPort(apidt.xport_phys, in cfga_change_state()