Searched refs:relpath (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/gen/
H A Drealpath.c87 char *relpath = resolved_name; local
94 relpath[len++] = '/';
95 while (len >= 3 && strncmp(relpath, "../", 3) == 0) {
96 relpath += 3;
106 relpath[--len] = '\0';
114 (void) strcpy(endcwd, relpath);
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_util.c994 smb_name_validate_rpath(const char *relpath) argument
999 if ((relpath == NULL) || (*relpath == '\0') || (*relpath == '/'))
1002 if (strpbrk(relpath, invalid))
1005 for (cp = (char *)relpath; *cp != '\0'; cp++) {
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Ddfs.c756 * to the share (relpath) and the specified entry type (i.e. root/link)
760 dfs_cache_add_byname(const char *name, const char *relpath, uint32_t type) argument
776 (void) snprintf(fspath, DFS_PATH_MAX, "%s/%s", si.shr_path, relpath);
778 name, relpath);
780 /* relpath may contain '/' */
788 * in the namespace ('name') with 'relpath'
791 dfs_cache_remove(const char *name, const char *relpath) argument
796 "\\\\%s\\%s\\%s", dfs_nbname, name, relpath);
798 /* relpath may contain '/' */
1049 * Search the path specified by 'relpath' t
1054 dfs_namespace_findlink(const char *name, char *relpath, char *linkpath, size_t bufsz) argument
[all...]
H A Dnetdfs.c1353 char relpath[DFS_PATH_MAX]; local
1360 (void) strlcpy(relpath, unc->unc_path, DFS_PATH_MAX);
1362 if ((p = strrchr(relpath, '/')) != NULL) {
1364 (void) rmdirp(relpath, dir);
/illumos-gate/usr/src/cmd/zinject/
H A Dtranslate.c85 * and 'relpath' must be at least MAXPATHLEN characters. We also pass a stat64
89 parse_pathname(const char *inpath, char *dataset, char *relpath, argument
154 (void) strcpy(relpath, rel);
/illumos-gate/usr/src/tools/scripts/
H A Dgit-pbchk.py188 # Taken entirely from Python 2.6's os.path.relpath which we would use if we
190 def relpath(path, here): function in function:gen_files
201 f = relpath(f, '.')
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dqueue.c6122 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);
[all...]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_dataset.c2390 const char *relpath; local
2400 relpath = "";
2402 relpath = zhp->zfs_name + strlen(source);
2403 if (relpath[0] == '/')
2404 relpath++;
2425 relpath[0] != '\0'))
2428 if (relpath[0] == '\0')
2433 root, str, relpath[0] == '@' ? "" : "/",
2434 relpath);

Completed in 87 milliseconds