Searched refs:dpath (Results 1 - 8 of 8) sorted by relevance

/osnet-11/usr/src/lib/fm/topo/modules/common/ses/common/
H A Dses_dev.c162 char *dpath = NULL; local
195 dpath = di_devfs_path(node);
196 if (dpath) {
209 topo_mod_strdup(mod, dpath);
230 i = strlen(dpath) + 1 + strlen(mname) + 1;
233 (void) snprintf(minorpath, i, "%s:%s", dpath, mname);
246 if (dpath && (strstr(dpath, "/scsi_vhci/") == NULL) &&
248 dpath, strcmp, 0))
277 error: if (dpath)
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/common/bay/common/
H A Dbay_util.c572 char *dpath = NULL; local
587 &dpath, &err);
594 if (!cmp_str(dpath, hba_path)) {
612 if (dpath != NULL) {
613 topo_mod_strfree(cbp->mod, dpath);
619 if (dpath != NULL) {
620 topo_hdl_strfree(cbp->hdl, dpath);
H A Dbay_subr.c322 di_path_t dpath = DI_PATH_NIL; local
332 while ((dpath = di_path_client_next_path(dnode, dpath)) !=
334 path = di_path_devfs_path(dpath);
353 dpath = DI_PATH_NIL;
354 rv = find_child(mod, bp->hba_dnode, &cnode, &dpath, bp->phy);
359 rv = get_str_prop(cnode, dpath, DEVID_PROP_NAME, ndevid);
/osnet-11/usr/src/lib/fm/topo/modules/common/disk/common/
H A Ddisk_common.c787 char *dpath = NULL; local
857 /* A devinfo node may add a dpath */
858 dpath = di_devfs_path(node);
859 if (dpath && aps_findadd(mod, &dnode->ddn_dpaths, &dnode->ddn_dpaths_n,
860 dpath, strcmp, 0))
864 if (dpath && (strstr(dpath, "/scsi_vhci/") == NULL) &&
866 dpath, strcmp, 0))
876 if (dpath && s && ((dnode->ddn_dtype & DTYPE_MASK) == DTYPE_DIRECT)) {
877 i = strlen(dpath)
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/common/
H A Dpi_subr.c525 di_path_t dpath = DI_PATH_NIL; local
529 while ((dpath = di_path_phci_next_path(node, dpath)) != DI_PATH_NIL) {
531 di_path_prop_next(dpath, di_path_prop)) != DI_PROP_NIL) {
555 if (di_prop == DI_PROP_NIL && (dpath == DI_PATH_NIL ||
827 di_path_t dpath = DI_PATH_NIL; local
832 while ((dpath = di_path_phci_next_path(node, dpath)) != DI_PATH_NIL) {
834 di_path_prop_next(dpath, di_path_prop)) != DI_PROP_NIL) {
858 if (di_prop == DI_PROP_NIL && (dpath
967 di_path_t dpath = DI_PATH_NIL; local
[all...]
/osnet-11/usr/src/lib/efcode/engine/
H A Denv.c714 char *dpath; local
723 dpath = get_path(env, env->current_device);
724 strcpy(new->buf+new->len, dpath);
725 new->len += strlen(dpath);
728 free(dpath);
/osnet-11/usr/src/lib/libuefi_rt/common/
H A Dlibuefi_rt_path.c1114 uefi_device_path_t **dpath, **new_path_array; local
1132 dpath = *dpath_array_ptr;
1134 for (num_nodes = 0; *dpath != NULL; num_nodes++, dpath++)
2278 uefi_device_path_t **dpath = device_path; local
2285 while (*dpath) {
2286 free(*dpath);
2287 dpath++;
2624 char *dpath = (char *)device_path, *str; local
2635 (void) sprintf(&str[i * 2], "%02x", dpath[
3113 uefi_device_path_t **dpath = NULL, *dp, **new_path_array; local
3637 uefi_device_path_t **dpath = NULL; local
[all...]
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dinuse_svm.c67 static int drive_in_diskset(char *dpath, char *setname);
435 drive_in_diskset(char *dpath, char *setname) argument
440 (void) strlcpy(path, dpath, sizeof (path));

Completed in 42 milliseconds