Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_subr.c499 di_path_t dpath = DI_PATH_NIL; in pi_get_lun() local
503 while ((dpath = di_path_phci_next_path(node, dpath)) != DI_PATH_NIL) { in pi_get_lun()
505 di_path_prop_next(dpath, di_path_prop)) != DI_PROP_NIL) { in pi_get_lun()
529 if (di_prop == DI_PROP_NIL && (dpath == DI_PATH_NIL || in pi_get_lun()
769 di_path_t dpath = DI_PATH_NIL; in pi_get_phynum() local
774 while ((dpath = di_path_phci_next_path(node, dpath)) != DI_PATH_NIL) { in pi_get_phynum()
776 di_path_prop_next(dpath, di_path_prop)) != DI_PROP_NIL) { in pi_get_phynum()
800 if (di_prop == DI_PROP_NIL && (dpath == DI_PATH_NIL || in pi_get_phynum()
904 di_path_t dpath = DI_PATH_NIL; in pi_get_target_port() local
908 while ((dpath = di_path_phci_next_path(node, dpath)) != DI_PATH_NIL) { in pi_get_target_port()
[all …]
/titanic_41/usr/src/lib/efcode/engine/
H A Denv.c718 char *dpath; in fc_cmn_start() local
727 dpath = get_path(env, env->current_device); in fc_cmn_start()
728 strcpy(new->buf+new->len, dpath); in fc_cmn_start()
729 new->len += strlen(dpath); in fc_cmn_start()
732 free(dpath); in fc_cmn_start()
/titanic_41/usr/src/cmd/dumpadm/
H A Ddconf.c122 dconf_open(dumpconf_t *dcp, const char *dpath, const char *fpath, int dcmode) in dconf_open() argument
130 if ((dcp->dc_dump_fd = open(dpath, O_RDWR)) == -1) { in dconf_open()
131 warn(gettext("failed to open %s"), dpath); in dconf_open()
/titanic_41/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) in drive_in_diskset() argument
440 (void) strlcpy(path, dpath, sizeof (path)); in drive_in_diskset()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/
H A Dpiclfrudr.c1746 char *dpath; in frutree_evhandler() local
1768 if (nvlist_lookup_string(nvlp, PICLEVENTARG_DEVFS_PATH, &dpath)) { in frutree_evhandler()
1773 fru_name = strdup(dpath); in frutree_evhandler()
/titanic_41/usr/src/cmd/boot/bootadm/
H A Dbootadm.c1782 char dpath[PATH_MAX]; in dircache_updatedir() local
1788 ret = snprintf(dpath, sizeof (dpath), "%s/%s", updt ? in dircache_updatedir()
1791 if (ret >= sizeof (dpath)) { in dircache_updatedir()
1797 if (stat(dpath, &sb) == 0 && S_ISDIR(sb.st_mode)) in dircache_updatedir()
1802 if (!bam_nowrite() && mkdirp(dpath, DIR_PERMS) == -1) in dircache_updatedir()
1805 if (!bam_nowrite() && mkdirp(dpath, DIR_PERMS) == -1) { in dircache_updatedir()