Searched refs:root_path (Results 1 - 6 of 6) sorted by relevance
/osnet-11/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_utils.c | 416 char *root_path, *cp = NULL, *init_path; local 422 if ((root_path = strdup(physpath)) == NULL) { 429 if (strncmp(root_path, DEVICES_DIR SLASH, 431 cp = root_path + len; 432 (void) memmove(root_path, cp, strlen(cp) + 1); 433 } else if (*root_path != '/') { 440 if ((cp = GET_DYN(root_path)) != NULL) { 445 if ((cp = strrchr(root_path, ':')) != NULL) { 452 init_path = root_path; 469 walk_root = di_lookup_node(root, root_path); 782 char *root_path, *cp, *client_path, devpath[MAXPATHLEN]; local [all...] |
H A D | cfga_cvt.c | 303 char *root_path, *devpath, *cp; local 313 if ((root_path = strdup(hba_phys)) == NULL) { 320 if (strncmp(root_path, DEVICES_DIR SLASH, 322 cp = root_path + len; 323 (void) memmove(root_path, cp, strlen(cp) + 1); 324 } else if (*root_path != '/') { 326 S_FREE(root_path); 331 if ((cp = GET_DYN(root_path)) != NULL) { 336 if ((cp = strrchr(root_path, ':')) != NULL) { 347 S_FREE(root_path); [all...] |
/osnet-11/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_utils.c | 503 char *root_path, *cp = NULL; local 511 if ((root_path = strdup(physpath)) == NULL) { 518 if (strncmp(root_path, DEVICES_DIR SLASH, 520 cp = root_path + len; 521 (void) memmove(root_path, cp, strlen(cp) + 1); 522 } else if (*root_path != '/') { 529 if ((cp = GET_DYN(root_path)) != NULL) { 534 if ((cp = strrchr(root_path, ':')) != NULL) { 567 root_path, strlen(root_path)))) { [all...] |
/osnet-11/usr/src/lib/libprtdiag/common/ |
H A D | display_sun4v.c | 515 get_rc_path(picl_nodehdl_t pnodeh, char *root_path, int size) argument 540 root_path, size); 561 char root_path[PICL_PROPNAMELEN_MAX]; local 734 if ((get_rc_path(pnodeh, root_path, 735 sizeof (root_path)) == -1) || 737 (get_lane_width(root_path,
|
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
H A D | opl_picl.c | 95 static char root_path[MAXSTRLEN]; local 144 (void) strlcpy(root_path, parent_path, prop_size); 221 err = get_lane_width(root_path, pci_card.slot, pci_card.dev_no,
|
/osnet-11/usr/src/lib/libdevinfo/ |
H A D | devinfo.c | 231 (void) sprintf(dinfo_io.root_path, "/"); 233 (void) snprintf(dinfo_io.root_path, sizeof (dinfo_io.root_path), 236 (void) snprintf(dinfo_io.root_path, sizeof (dinfo_io.root_path), 407 if (strcmp(DI_ALL(pa)->root_path, "/") != 0) 1177 name[depth] = DI_ALL(pa)->root_path; 4000 if (strcmp(dap->root_path, "/") != 0) { 4001 DPRINTF((DI_ERR, "snapshot root not / : %s\n", dap->root_path));
|
Completed in 45 milliseconds