/src/usr.bin/mail/ |
temp.c | 54 char pathbuf[MAXPATHLEN]; local in function:tinit 90 if (getcwd(pathbuf, sizeof(pathbuf)) != NULL) 91 origdir = savestr(pathbuf);
|
/src/sys/sys/ |
namei.h | 59 * To call namei, first set up a pathbuf with pathbuf_create or 62 * pathbuf before you've finished using the nameidata, or mysterious 71 struct pathbuf; 73 struct pathbuf *pathbuf_create(const char *path); 74 struct pathbuf *pathbuf_assimilate(char *path); 75 int pathbuf_copyin(const char *userpath, struct pathbuf **ret); 76 void pathbuf_destroy(struct pathbuf *); 79 void pathbuf_copystring(const struct pathbuf *, char *buf, size_t maxlen); 82 const char *pathbuf_stringcopy_get(struct pathbuf *); 83 void pathbuf_stringcopy_put(struct pathbuf *, const char *) [all...] |
namei.src | 51 * To call namei, first set up a pathbuf with pathbuf_create or 54 * pathbuf before you've finished using the nameidata, or mysterious 63 struct pathbuf; 65 struct pathbuf *pathbuf_create(const char *path); 66 struct pathbuf *pathbuf_assimilate(char *path); 67 int pathbuf_copyin(const char *userpath, struct pathbuf **ret); 68 void pathbuf_destroy(struct pathbuf *); 71 void pathbuf_copystring(const struct pathbuf *, char *buf, size_t maxlen); 74 const char *pathbuf_stringcopy_get(struct pathbuf *); 75 void pathbuf_stringcopy_put(struct pathbuf *, const char *) [all...] |
vfs_syscalls.h | 62 struct pathbuf; 63 int do_open(struct lwp *, struct vnode *, struct pathbuf *, int, int, int *);
|
exec.h | 100 struct pathbuf; /* from namei.h */ 273 struct pathbuf *, char **); 315 struct pathbuf **, size_t *);
|
/src/sys/compat/common/ |
vfs_syscalls_10.c | 48 real_sys_openat_10(struct pathbuf **pb)
|
/src/bin/ln/ |
ln.c | 191 char pathbuf[PATH_MAX]; local in function:samedirent 211 memcpy(pathbuf, ".", 2); 213 memcpy(pathbuf, path1, file1 - path1); 214 pathbuf[file1 - path1] = '\0'; 216 if (stat(pathbuf, &sb1) != 0) 219 memcpy(pathbuf, ".", 2); 221 memcpy(pathbuf, path2, file2 - path2); 222 pathbuf[file2 - path2] = '\0'; 224 if (stat(pathbuf, &sb2) != 0)
|
/src/sys/stand/efiboot/ |
boot.c | 155 bootcfg_path(char *pathbuf, size_t pathbuflen) 164 efi_file_path(efi_bootdp, BOOTCFG_FILENAME, pathbuf, pathbuflen)) 165 snprintf(pathbuf, pathbuflen, "%s:%s", default_device, 397 char pathbuf[80]; local in function:command_version 414 if (bootcfg_path(pathbuf, sizeof(pathbuf)) == 0) { 415 command_printtab("Config path", "%s\n", pathbuf); 569 char pathbuf[80]; local in function:boot 572 if (bootcfg_path(pathbuf, sizeof(pathbuf)) == 0) [all...] |
/src/lib/libc/gen/ |
glob.c | 589 Char pathbuf[MAXPATHLEN+1]; local in function:glob1 601 return glob2(pathbuf, pathbuf, 602 pathbuf + (sizeof(pathbuf) / sizeof(*pathbuf)) - 1, pattern, 612 glob2(Char *pathbuf, Char *pathend, Char *pathlim, const Char *pattern, 620 _DIAGASSERT(pathbuf != NULL); 626 qprintf("glob2", pathbuf); 635 if (g_lstat(pathbuf, &sb, pglob) [all...] |
/src/sbin/fsck_ext2fs/ |
pass2.c | 95 char pathbuf[MAXPATHLEN + 1]; local in function:pass2 166 getpathname(pathbuf, sizeof(pathbuf), inp->i_number, 169 pathbuf, (u_long)inp->i_isize, sblock.e2fs_bsize); 232 char pathbuf[MAXPATHLEN + 1]; local in function:pass2check 417 getpathname(pathbuf, sizeof(pathbuf), 422 pwarn("%s %s %s\n", pathbuf,
|
inode.c | 174 char pathbuf[MAXPATHLEN + 1]; local in function:ckinode 192 getpathname(pathbuf, sizeof(pathbuf), 195 pathbuf); 229 getpathname(pathbuf, sizeof(pathbuf), 232 pathbuf); 262 char pathbuf[MAXPATHLEN + 1]; local in function:iblock 312 getpathname(pathbuf, sizeof(pathbuf), [all...] |
dir.c | 300 char pathbuf[MAXPATHLEN + 1]; local in function:fileerror 305 getpathname(pathbuf, sizeof(pathbuf), cwd, ino); 307 pfatal("NAME=%s\n", pathbuf); 313 (fs2h16(dp->e2di_mode) & IFMT) == IFDIR ? "DIR" : "FILE", pathbuf); 315 pfatal("NAME=%s\n", pathbuf); 524 char pathbuf[MAXPATHLEN + 1]; local in function:makeentry 544 getpathname(pathbuf, sizeof(pathbuf), parent, parent); 546 if (expanddir(dp, pathbuf) == 0 [all...] |
/src/sbin/fsck_lfs/ |
inode.c | 132 char pathbuf[MAXPATHLEN + 1]; local in function:ckinode 165 getpathname(pathbuf, sizeof(pathbuf), 168 pathbuf, (long long)idesc->id_number); 205 getpathname(pathbuf, sizeof(pathbuf), 208 pathbuf, (long long)idesc->id_number); 238 char pathbuf[MAXPATHLEN + 1], buf[BUFSIZ]; local in function:iblock 301 getpathname(pathbuf, sizeof(pathbuf), [all...] |
pass2.c | 70 char pathbuf[MAXPATHLEN + 1]; local in function:pass2 149 getpathname(pathbuf, sizeof(pathbuf), inp->i_number, 152 pathbuf, (unsigned long) inp->i_isize, LFS_DIRBLKSIZ); 223 char pathbuf[MAXPATHLEN + 1]; local in function:pass2check 419 getpathname(pathbuf, sizeof(pathbuf), 424 pwarn("%s %s %s\n", pathbuf,
|
dir.c | 305 char pathbuf[MAXPATHLEN + 1]; local in function:fileerror 312 getpathname(pathbuf, sizeof(pathbuf), cwd, ino); 314 pfatal("NAME=%s\n", pathbuf); 324 "DIR" : "FILE", pathbuf); 326 pfatal("NAME=%s\n", pathbuf); 555 char pathbuf[MAXPATHLEN + 1]; local in function:makeentry 579 getpathname(pathbuf, sizeof(pathbuf), parent, parent); 582 if (expanddir(vp, dp, pathbuf) == 0 [all...] |
/src/sys/dev/ |
dkvar.h | 37 struct pathbuf; /* from namei.h */
|
/src/sys/kern/ |
subr_emul.c | 104 struct pathbuf *pb;
|
kern_ktrace_vfs.c | 95 struct pathbuf *pb;
|
vfs_lookup.c | 238 * first create a pathbuf and adjust all the bells and whistles on it 242 struct pathbuf { struct 248 static struct pathbuf * 251 struct pathbuf *pb; 265 pathbuf_destroy(struct pathbuf *pb) 274 struct pathbuf * 277 struct pathbuf *pb; 286 struct pathbuf * 289 struct pathbuf *pb; 306 pathbuf_copyin(const char *userpath, struct pathbuf **ret [all...] |
/src/bin/ps/ |
ps.c | 156 char pathbuf[MAXPATHLEN]; local in function:ttyname2dev 170 (void)snprintf(pathbuf, 171 sizeof(pathbuf), "%s%s", _PATH_DEV, ttname); 172 ttypath = pathbuf; 174 (void)snprintf(pathbuf, 175 sizeof(pathbuf), "%s%s", _PATH_TTY, ttname); 176 ttypath = pathbuf; 189 snprintf(pathbuf, sizeof(pathbuf), "pts/%d", ptsminor); 190 if (strcmp(pathbuf, ttname) == 0 && ptsminor >= 0 [all...] |
/src/sbin/fsck_ffs/ |
pass2.c | 76 char pathbuf[MAXPATHLEN + 1]; local in function:pass2 174 getpathname(pathbuf, sizeof(pathbuf), inp->i_number, 178 "DIRECTORY", pathbuf, 182 "DIRECTORY", pathbuf, 334 char pathbuf[MAXPATHLEN + 1]; local in function:pass2check 596 getpathname(pathbuf, sizeof(pathbuf), 600 pwarn("%s %s %s\n", pathbuf,
|
dir.c | 423 char pathbuf[MAXPATHLEN + 1]; local in function:fileerror 429 getpathname(pathbuf, sizeof(pathbuf), cwd, ino); 431 pfatal("NAME=%s\n", pathbuf); 438 (iswap16(mode) & IFMT) == IFDIR ? "DIR" : "FILE", pathbuf); 441 pfatal("NAME=%s\n", pathbuf); 717 char pathbuf[MAXPATHLEN + 1]; local in function:makeentry 739 getpathname(pathbuf, sizeof(pathbuf), parent, parent); 741 if (expanddir(dp, pathbuf) == 0 [all...] |
/src/usr.bin/make/ |
util.c | 242 char pathbuf[MAXPATHLEN], nextpathbuf[MAXPATHLEN * 2]; local in function:getwd 251 pathbuf[MAXPATHLEN - 1] = '\0'; 252 pathptr = &pathbuf[MAXPATHLEN - 1];
|
/src/lib/libterminfo/ |
term.c | 325 char pathbuf[PATH_MAX]; local in function:_ti_dbgettermp 335 if (l != 0 && l + 1 < sizeof(pathbuf)) { 336 memcpy(pathbuf, p, l); 337 pathbuf[l] = '\0'; 338 r = _ti_dbgetterm(term, pathbuf, name, flags);
|
/src/sys/compat/netbsd32/ |
netbsd32_fd.c | 59 struct pathbuf *pb;
|