Searched defs:curpath (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_finddev.c52 int curpath; member in struct:finddevhdl
119 handle->curpath = 0;
194 handle->curpath = 0;
338 if (handle->curpath < handle->npaths) {
339 path = handle->paths[handle->curpath];
340 handle->curpath++;
/illumos-gate/usr/src/tools/protocmp/
H A Dprotodir.c49 static char curpath[MAXPATHLEN]; local
53 return (strcpy(curpath, link));
55 (void) strcpy(curpath, source);
56 p = rindex(curpath, '/');
62 if ((p = rindex(curpath, '/')) != NULL)
65 curpath[0] = '\0';
68 if (curpath[0])
69 (void) strcat(curpath, "/");
71 (void) strncat(curpath, l_pos,
74 (void) strcat(curpath, l_po
[all...]
/illumos-gate/usr/src/cmd/stmsboot/
H A Dstmsboot_util.c991 char *curpath = NULL; local
1065 if ((curpath = calloc(1, MAXPATHLEN)) == NULL) {
1070 curpath = find_link(thisnode);
1071 if (curpath == NULL) {
1084 (void) nvlist_add_string(devnvl, NVL_MPXPATH, curpath);
1086 (void) nvlist_add_string(devnvl, NVL_PATH, curpath);
1087 path = curpath;
1105 if (nvlist_add_string(mapnvl, curpath, strdevid) != 0) {
1109 curpath, strdevid, strerror(errno));
1112 logmsg(MSG_INFO, "popcheck_devnvl: added curpath
[all...]
/illumos-gate/usr/src/cmd/find/
H A Dfind.c349 char *curpath; local
352 curpath = *(argv++);
362 if (stat(curpath, &sb) < 0 && errno == ENOENT)
392 if (nftw(curpath, execute, 1000, walkflags)) {
395 cmdname, curpath, strerror(errno));
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c2668 static char curpath[PATH_MAX]; variable
2689 (void) strlcat(curpath, name, sizeof (curpath));
2693 curpath, strerror(err));
2717 (u_longlong_t)child_obj, curpath, doi.doi_type,
2721 (void) strlcat(curpath, "/", sizeof (curpath));
2762 (void) snprintf(curpath, sizeof (curpath), "dataset=%s path=/", ds);

Completed in 107 milliseconds