Searched refs:curpath (Results 1 – 7 of 7) sorted by relevance
/titanic_50/usr/src/lib/libdevinfo/ |
H A D | devinfo_finddev.c | 52 int curpath; member 119 handle->curpath = 0; in finddev_readdir_alt() 194 handle->curpath = 0; in finddev_readdir_devfs() 338 if (handle->curpath < handle->npaths) { in finddev_next() 339 path = handle->paths[handle->curpath]; in finddev_next() 340 handle->curpath++; in finddev_next()
|
/titanic_50/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 …]
|
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_mount/ |
H A D | zfs_mount_010_neg.ksh | 62 curpath=`$DIRNAME $0` 65 cd $curpath
|
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_unmount/ |
H A D | zfs_unmount_008_neg.ksh | 109 curpath=`$DIRNAME $0` 116 cd $curpath
|
/titanic_50/usr/src/cmd/stmsboot/ |
H A D | stmsboot_util.c | 985 char *curpath = NULL; in popcheck_devnvl() local 1059 if ((curpath = calloc(1, MAXPATHLEN)) == NULL) { in popcheck_devnvl() 1064 curpath = find_link(thisnode); in popcheck_devnvl() 1065 if (curpath == NULL) { in popcheck_devnvl() 1078 (void) nvlist_add_string(devnvl, NVL_MPXPATH, curpath); in popcheck_devnvl() 1080 (void) nvlist_add_string(devnvl, NVL_PATH, curpath); in popcheck_devnvl() 1081 path = curpath; in popcheck_devnvl() 1099 if (nvlist_add_string(mapnvl, curpath, strdevid) != 0) { in popcheck_devnvl() 1103 curpath, strdevid, strerror(errno)); in popcheck_devnvl() 1107 curpath, strdevid); in popcheck_devnvl()
|
/titanic_50/usr/src/tools/ctf/cvt/ |
H A D | stabs.c | 185 char curpath[MAXPATHLEN]; in stabs_read() local 262 strcpy(curpath, str); in stabs_read() 263 curfile = basename(curpath); in stabs_read()
|
/titanic_50/usr/src/cmd/find/ |
H A D | find.c | 347 char *curpath; in main() local 350 curpath = *(argv++); in main() 360 if (stat(curpath, &sb) < 0 && errno == ENOENT) in main() 390 if (nftw(curpath, execute, 1000, walkflags)) { in main() 393 cmdname, curpath, strerror(errno)); in main()
|