Home
last modified time | relevance | path

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

/illumos-gate/usr/src/test/i2c-tests/tests/libi2c/
H A Ddiscovery.c192 const char *dpath = i2c_port_disc_path(disc); in disc_port_cb() local
194 if (strstr(dpath, "i2csim") == NULL && strstr(dpath, "smbussim") == in disc_port_cb()
200 libi2c_test_warn(hdl, "failed to open port by devi %s", dpath); in disc_port_cb()
206 if (strcmp(alt_path, dpath) == 0) { in disc_port_cb()
208 "i2c_port_t path\n", dpath); in disc_port_cb()
211 "and i2c_port_t path %s", dpath, dpath, alt_path); in disc_port_cb()
/illumos-gate/usr/src/cmd/i2cadm/
H A Di2cadm_io.c762 const char *dpath = NULL, *addrstr = NULL, *cmdstr = NULL; in i2cadm_io() local
778 dpath = optarg; in i2cadm_io()
808 if (dpath == NULL) { in i2cadm_io()
812 if (!i2c_port_dev_init_by_path(i2cadm.i2c_hdl, dpath, true, &port, in i2cadm_io()
814 i2cadm_fatal("failed to parse path %s", dpath); in i2cadm_io()
/illumos-gate/usr/src/lib/libktest/common/
H A Dlibktest.c476 const char *dpath; in ktest_mod_for_each() local
478 if ((dpath = ktest_mod_directory()) == NULL) { in ktest_mod_for_each()
482 DIR *dp = opendir(dpath); in ktest_mod_for_each()
/illumos-gate/usr/src/cmd/dumpadm/
H A Ddconf.c127 dconf_open(dumpconf_t *dcp, const char *dpath, const char *fpath, int dcmode) in dconf_open() argument
135 if ((dcp->dc_dump_fd = open(dpath, O_RDWR)) == -1) { in dconf_open()
136 warn(gettext("failed to open %s"), dpath); in dconf_open()
/illumos-gate/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()
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c2152 char dpath[PATH_MAX]; in dircache_updatedir() local
2158 ret = snprintf(dpath, sizeof (dpath), "%s/%s", updt ? in dircache_updatedir()
2161 if (ret >= sizeof (dpath)) { in dircache_updatedir()
2168 if (stat(dpath, &sb) == 0 && S_ISDIR(sb.st_mode)) in dircache_updatedir()
2173 if (!bam_nowrite() && mkdirp(dpath, DIR_PERMS) == -1) in dircache_updatedir()
2176 if (!bam_nowrite() && mkdirp(dpath, DIR_PERMS) == -1) { in dircache_updatedir()