/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | realpath.c | 87 char *relpath = resolved_name; in realpath_impl() local 94 relpath[len++] = '/'; in realpath_impl() 95 while (len >= 3 && strncmp(relpath, "../", 3) == 0) { in realpath_impl() 96 relpath += 3; in realpath_impl() 106 relpath[--len] = '\0'; in realpath_impl() 114 (void) strcpy(endcwd, relpath); in realpath_impl()
|
/titanic_41/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_util.c | 994 smb_name_validate_rpath(const char *relpath) in smb_name_validate_rpath() argument 999 if ((relpath == NULL) || (*relpath == '\0') || (*relpath == '/')) in smb_name_validate_rpath() 1002 if (strpbrk(relpath, invalid)) in smb_name_validate_rpath() 1005 for (cp = (char *)relpath; *cp != '\0'; cp++) { in smb_name_validate_rpath()
|
/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | dfs.c | 761 dfs_cache_add_byname(const char *name, const char *relpath, uint32_t type) in dfs_cache_add_byname() argument 777 (void) snprintf(fspath, DFS_PATH_MAX, "%s/%s", si.shr_path, relpath); in dfs_cache_add_byname() 779 name, relpath); in dfs_cache_add_byname() 792 dfs_cache_remove(const char *name, const char *relpath) in dfs_cache_remove() argument 797 "\\\\%s\\%s\\%s", dfs_nbname, name, relpath); in dfs_cache_remove() 1055 dfs_namespace_findlink(const char *name, char *relpath, in dfs_namespace_findlink() argument 1065 (void) snprintf(linkpath, bufsz, "%s/%s", rootdir, relpath); in dfs_namespace_findlink() 1074 if ((p = strrchr(relpath, '/')) == NULL) in dfs_namespace_findlink() 1078 (void) snprintf(linkpath, bufsz, "%s/%s", rootdir, relpath); in dfs_namespace_findlink()
|
H A D | netdfs.c | 1353 char relpath[DFS_PATH_MAX]; in netdfs_path_remove() local 1360 (void) strlcpy(relpath, unc->unc_path, DFS_PATH_MAX); in netdfs_path_remove() 1362 if ((p = strrchr(relpath, '/')) != NULL) { in netdfs_path_remove() 1364 (void) rmdirp(relpath, dir); in netdfs_path_remove()
|
/titanic_41/usr/src/cmd/fs.d/cachefs/cachefspack/ |
H A D | docmds.c | 625 process_symlk(char *lkpath, char *relpath, int rel_lastpos, in process_symlk() argument 644 strcpy(&relpath[rel_lastpos], lkpath); in process_symlk() 645 l = relpath; in process_symlk()
|
/titanic_41/usr/src/cmd/zinject/ |
H A D | translate.c | 89 parse_pathname(const char *inpath, char *dataset, char *relpath, in parse_pathname() argument 154 (void) strcpy(relpath, rel); in parse_pathname()
|
/titanic_41/usr/src/tools/scripts/ |
H A D | git-pbchk.py | 189 def relpath(path, here): function 200 f = relpath(f, '.')
|
/titanic_41/usr/src/lib/libzfs/common/ |
H A D | libzfs_dataset.c | 2371 const char *relpath; in zfs_prop_get() local 2381 relpath = ""; in zfs_prop_get() 2383 relpath = zhp->zfs_name + strlen(source); in zfs_prop_get() 2384 if (relpath[0] == '/') in zfs_prop_get() 2385 relpath++; in zfs_prop_get() 2406 relpath[0] != '\0')) in zfs_prop_get() 2409 if (relpath[0] == '\0') in zfs_prop_get() 2414 root, str, relpath[0] == '@' ? "" : "/", in zfs_prop_get() 2415 relpath); in zfs_prop_get()
|
/titanic_41/usr/src/cmd/sendmail/src/ |
H A D | queue.c | 6122 char relpath[MAXPATHLEN]; local 6154 off = sm_strlcpyn(relpath, sizeof(relpath), 2, prefix, "/"); 6155 SM_ASSERT(off < sizeof(relpath)); 6159 relpath, cp); 6209 i = sizeof(relpath) - off; 6210 if (sm_strlcpy(relpath + off, d->d_name, i) >= i) 6213 if (!chkqdir(relpath, sff)) 6241 (void) sm_strlcpyn(subdir, sizeof(subdir), 3, relpath, "/", name); \ 6256 newstr(relpath); 6263 qg->qg_numqueues, relpath, [all …]
|