Searched refs:curpath (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_finddev.c | 50 int curpath; member 117 handle->curpath = 0; in finddev_readdir_alt() 192 handle->curpath = 0; in finddev_readdir_devfs() 336 if (handle->curpath < handle->npaths) { in finddev_next() 337 path = handle->paths[handle->curpath]; in finddev_next() 338 handle->curpath++; in finddev_next()
|
/illumos-gate/usr/src/tools/protocmp/ |
H A D | protodir.c | 49 static char curpath[MAXPATHLEN]; in resolve_relative() local 53 return (strcpy(curpath, link)); in resolve_relative() 55 (void) strcpy(curpath, source); in resolve_relative() 56 p = rindex(curpath, '/'); in resolve_relative() 62 if ((p = rindex(curpath, '/')) != NULL) in resolve_relative() 65 curpath[0] = '\0'; in resolve_relative() 68 if (curpath[0]) in resolve_relative() 69 (void) strcat(curpath, "/"); in resolve_relative() 71 (void) strncat(curpath, l_pos, in resolve_relative() 74 (void) strcat(curpath, l_pos); in resolve_relative() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_mount/ |
H A D | zfs_mount_010_neg.ksh | 66 curpath=`dirname $0` 69 cd $curpath
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_unmount/ |
H A D | zfs_unmount_008_neg.ksh | 113 curpath=`dirname $0` 120 cd $curpath
|
/illumos-gate/usr/src/cmd/stmsboot/ |
H A D | stmsboot_util.c | 991 char *curpath = NULL; in popcheck_devnvl() local 1065 if ((curpath = calloc(1, MAXPATHLEN)) == NULL) { in popcheck_devnvl() 1070 curpath = find_link(thisnode); in popcheck_devnvl() 1071 if (curpath == NULL) { in popcheck_devnvl() 1084 (void) nvlist_add_string(devnvl, NVL_MPXPATH, curpath); in popcheck_devnvl() 1086 (void) nvlist_add_string(devnvl, NVL_PATH, curpath); in popcheck_devnvl() 1087 path = curpath; in popcheck_devnvl() 1105 if (nvlist_add_string(mapnvl, curpath, strdevid) != 0) { in popcheck_devnvl() 1109 curpath, strdevid, strerror(errno)); in popcheck_devnvl() 1113 curpath, strdevid); in popcheck_devnvl()
|
/illumos-gate/usr/src/cmd/find/ |
H A D | find.c | 358 char *curpath; in main() local 361 curpath = *(argv++); in main() 371 if (stat(curpath, &sb) < 0 && errno == ENOENT) in main() 401 if (nftw(curpath, execute, 1000, walkflags)) { in main() 404 cmdname, curpath, strerror(errno)); in main()
|
/illumos-gate/usr/src/cmd/zdb/ |
H A D | zdb.c | 2936 static char curpath[PATH_MAX]; variable 2957 (void) strlcat(curpath, name, sizeof (curpath)); in dump_path_impl() 2961 curpath, strerror(err)); in dump_path_impl() 2985 (u_longlong_t)child_obj, curpath, doi.doi_type, in dump_path_impl() 2989 (void) strlcat(curpath, "/", sizeof (curpath)); in dump_path_impl() 3030 (void) snprintf(curpath, sizeof (curpath), "dataset=%s path=/", ds); in dump_path()
|