Searched refs:dyncomp (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_list.c91 static fpcfga_ret_t init_ldata_for_accessible_dev(const char *dyncomp,
113 static fpcfga_ret_t get_accessible_FCP_dev_ldata(const char *dyncomp,
116 const char *dyncomp, uchar_t *lun_num, struct scsi_inquiry **inq_buf,
123 static uchar_t get_inq_dtype(char *xport_phys, char *dyncomp, HBA_HANDLE handle,
178 char *dyncomp = NULL; local
253 if (cvt_dyncomp_to_lawwn(apidp->dyncomp, &pwwn) != 0) {
262 * if the dyncomp exists on disco ports construct list_data
279 * if dyncomp found in disco ports
291 apidp->dyncomp, handle, &portAttrs, &discPortAttrs);
293 if (init_ldata_for_accessible_dev(apidp->dyncomp,
491 char *xport_phys = NULL, *dyn = NULL, *dyncomp = NULL, local
930 get_standard_inq_data( const char *xport_phys, const char *dyncomp, uchar_t *lun_num, struct scsi_inquiry **inq_buf, int *l_errnop) argument
979 get_report_lun_data( const char *xport_phys, const char *dyncomp, int *num_luns, report_lun_resp_t **resp_buf, struct scsi_extended_sense *sensebuf, int *l_errnop) argument
1061 get_accessible_FCP_dev_ldata( const char *dyncomp, fpcfga_list_t *lap, int *l_errnop) argument
1573 char *dyncomp = NULL; local
2752 char *dyn = NULL, *dyncomp = NULL; local
2798 char *dyn = NULL, *dyncomp = NULL; local
2974 init_ldata_for_accessible_dev(const char *dyncomp, uchar_t inq_type, fpcfga_list_t *lap) argument
3049 char *dyn = NULL, *dyncomp = NULL; local
3550 char *dyn = NULL, *dyncomp = NULL; local
3601 char *dyn = NULL, *dyncomp = NULL; local
3683 get_inq_dtype(char *xport_phys, char *dyncomp, HBA_HANDLE handle, HBA_PORTATTRIBUTES *portAttrs, HBA_PORTATTRIBUTES *discPortAttrs) argument
[all...]
H A Dcfga_cvt.c35 const char *dyncomp, struct luninfo_list **lunlistpp, int *l_errnop);
37 const char *dyncomp, di_node_t devnode, int *l_errnop);
47 cvt_lawwn_to_dyncomp(const la_wwn_t *pwwn, char **dyncomp, int *l_errnop) argument
49 *dyncomp = calloc(1, WWN_SIZE*2 + 1);
50 if (*dyncomp == NULL) {
54 (void) sprintf(*dyncomp, "%016llx",
60 cvt_dyncomp_to_lawwn(const char *dyncomp, la_wwn_t *port_wwn) argument
69 c = ctoi(*dyncomp++);
70 c1 = ctoi(*dyncomp++);
154 const char *dyncomp,
152 dyn_apid_to_path( const char *xport_phys, const char *dyncomp, struct luninfo_list **lunlistpp, int *l_errnop) argument
184 is_apid_configured( const char *xport_phys, const char *dyncomp, struct luninfo_list **lunlistpp, int *l_errnop) argument
426 insert_lun_to_lunlist( struct luninfo_list **lunlistpp, const char *dyncomp, di_node_t dev_node, int *l_errnop) argument
[all...]
H A Dcfga_cs.c63 * So, apidt->dyncomp CANNOT be NULL
80 if (cvt_dyncomp_to_lawwn(apidt->dyncomp, &pwwn)) {
114 ERRARG_BUS_DEV_CREATE_UNKNOWN, apidt->dyncomp, 0);
117 apidt->dyncomp, 0);
341 lun_unconf(char *path, int lunnum, char *xport_phys, char *dyncomp, argument
402 dyncomp, lunnum);
450 apidt->dyncomp, errstring)) != FPCFGA_OK) {
460 apidt->dyncomp, errstring)) != FPCFGA_OK) {
472 apidt->xport_phys, apidt->dyncomp,
507 char *xport_phys, *vhci_path, *dyncomp; local
1060 unconf_vhci_nodes(di_path_t pnode, di_node_t fp_node, char *xport_phys, char *dyncomp, int unusable_flag, int *num_devs, int *failure_count, char **errstring, cfga_flags_t flags) argument
1239 unconf_non_vhci_nodes(di_node_t dnode, char *xport_phys, char *dyncomp, int unusable_flag, int *num_devs, int *failure_count, char **errstring, cfga_flags_t flags) argument
[all...]
H A Dcfga_utils.c411 char *dyncomp = NULL; local
423 dyncomp = NULL;
426 dyncomp = calloc(1, len);
427 if (dyncomp == NULL) {
432 (void) strcpy(dyncomp, DYN_TO_DYNCOMP(dyn));
433 if (GET_LUN_DYN(dyncomp)) {
443 if (dyncomp != NULL) {
444 ret = dyn_apid_to_path(xport_phys, dyncomp,
455 apidp->dyncomp = dyncomp;
[all...]
H A Dcfga_fp.h207 char *dyncomp; member in struct:__anon2389
447 const char *dyncomp, int *num_luns, report_lun_resp_t **resp_buf,
481 fpcfga_ret_t dyn_apid_to_path(const char *xport_phys, const char *dyncomp,
483 void cvt_lawwn_to_dyncomp(const la_wwn_t *pwwn, char **dyncomp, int *l_errnop);
484 int cvt_dyncomp_to_lawwn(const char *dyncomp, la_wwn_t *port_wwn);
H A Dcfga_fp.c125 if (apidt.dyncomp != NULL) { /* Was there a port WWN passed ? */
131 if (cvt_dyncomp_to_lawwn(apidt.dyncomp, &pwwn)) {
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_cvt.c29 char *dyncomp; member in struct:__anon2416
48 const char *dyncomp; member in struct:__anon2419
60 const char *dyncomp, char **pathpp, int *l_errnop);
63 const char *dyncomp, char **pathpp, int *l_errnop);
233 * Given a bus or device ap_id <hba_phys, dyncomp>, returns the physical
241 const char *dyncomp,
252 if (dyncomp == NULL) {
268 if (strchr(dyncomp, '/') != NULL) {
269 ret = devlink_dyn_to_devpath(hba_phys, dyncomp, pathpp,
271 } else if (strstr(dyncomp, PATH_APID_DYN_SE
239 apid_to_path( const char *hba_phys, const char *dyncomp, char **pathpp, int *l_errnop) argument
412 drv_dyn_to_devpath( const char *hba_phys, const char *dyncomp, char **pathpp, int *l_errnop) argument
540 devlink_dyn_to_devpath( const char *hba_phys, const char *dyncomp, char **pathpp, int *l_errnop) argument
[all...]
H A Dcfga_utils.c334 char *dyncomp = NULL, *path = NULL; local
345 dyncomp = NULL;
348 dyncomp = calloc(1, len);
349 if (dyncomp == NULL) {
354 (void) strcpy(dyncomp, DYN_TO_DYNCOMP(dyn));
363 if (dyncomp != NULL) {
364 if (strstr(dyncomp, PATH_APID_DYN_SEP) != NULL) {
372 if ((ret = apid_to_path(hba_phys, dyncomp, &path,
382 apidp->dyncomp = dyncomp;
[all...]
H A Dcfga_list.c425 char *dyncomp = NULL, *client_path = NULL; local
435 ret = make_path_dyncomp(pi_node, &dyncomp, &lap->l_errno);
444 S_FREE(dyncomp);
450 lap->hba_logp, DYN_SEP, dyncomp);
453 lap->apidp->hba_phys, DYN_SEP, dyncomp);
455 S_FREE(dyncomp);
558 strlen(lap->apidp->dyncomp)) {
564 lap->apidp->dyncomp)) {
704 char *dyncomp = NULL; local
735 ret = make_dyncomp(node, nodepath, &dyncomp,
[all...]
H A Dcfga_scsi.h187 char *dyncomp; member in struct:__anon2432
396 scfga_ret_t apid_to_path(const char *hba_phys, const char *dyncomp,
400 scfga_ret_t make_path_dyncomp(di_path_t path, char **dyncomp, int *l_errnop);
H A Dcfga_ctl.c83 if (apidp->dyncomp != NULL) {
269 if (apidp->dyncomp == NULL) {
393 if (apidp->dyncomp == NULL) {
503 if (apidp->dyncomp != NULL) {
558 if (apidp->dyncomp == NULL) {
670 if (apidp->dyncomp == NULL) {
678 if (apidp->dyncomp != NULL) {
746 if (apidp->dyncomp == NULL) {
H A Dcfga_scsi.c94 if (apidt.dyncomp != NULL) {
/illumos-gate/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_sata.h133 char *dyncomp; member in struct:sata_apid
H A Dcfga_sata.c1235 sata_make_dyncomp(const char *ap_id, char **dyncomp, const char *type) argument
1252 assert(dyncomp != NULL);
1373 *dyncomp = strdup(cp);
1388 *dyncomp = strdup(cp);
1676 char *dyncomp = NULL; local
1682 rv = sata_make_dyncomp(ap_id, &dyncomp,
1686 if (dyncomp != NULL) {
1690 dyncomp,
1692 free(dyncomp);
/illumos-gate/usr/src/lib/libcfgadm/common/
H A Dconfig_admin.c286 static void append_dyn(char *buf, const char *dyncomp, size_t blen);
1337 char *dyncomp, path[PATH_MAX]; local
1358 if ((ret = split_apid(apdup, &dyncomp, errstring)) != CFGA_OK) {
1366 if (dyncomp != NULL) {
1413 (type == AP_TYPE && dyncomp == NULL)) {
1442 assert(dyncomp == NULL || libp->plugin_vers >= CFGA_HSL_V2);
1448 append_dyn(lib_loc_p->ap_physical, dyncomp,
1460 S_FREE(dyncomp);
3233 append_dyn(char *buf, const char *dyncomp, size_t blen) argument
3235 if (dyncomp !
[all...]

Completed in 90 milliseconds