HomeSort by: relevance | last modified time | path
    Searched defs:pathbuf (Results 1 - 25 of 26) sorted by relevancy

1 2

  /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/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,
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...]
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...]
  /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/sbin/fsck_lfs/
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...]
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...]
  /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...]
inode.c 81 char pathbuf[MAXPATHLEN + 1]; local in function:ckinode
109 getpathname(pathbuf, sizeof(pathbuf),
112 pathbuf);
152 getpathname(pathbuf, sizeof(pathbuf),
155 pathbuf);
183 char pathbuf[MAXPATHLEN + 1]; local in function:iblock
248 getpathname(pathbuf, sizeof(pathbuf),
    [all...]
  /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/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];
main.c 1117 char pathbuf[MAXPATHLEN]; local in function:InitVarMake
1120 const char *abspath = cached_realpath(argv0, pathbuf);
  /src/usr.bin/rdist/
expand.c 95 char pathbuf[BUFSIZ]; local in function:expand
113 path = tpathp = pathp = pathbuf;
115 lastpathp = &path[sizeof pathbuf - 2];
  /src/sys/stand/efiboot/
efinet.c 515 char **file, pathbuf[PATH_MAX], *default_device, *path, *ep; local in function:efi_net_open
530 snprintf(pathbuf, sizeof(pathbuf), "%s:%s", default_device, fname);
531 full_path = pathbuf;
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...]
efiblock.c 69 char pathbuf[PATH_MAX], *default_device, *ep = NULL; local in function:efi_block_parse
77 snprintf(pathbuf, sizeof(pathbuf), "%s:%s", default_device, fname);
78 full_path = pathbuf;
  /src/usr.sbin/mtree/
spec.c 440 static char pathbuf[4*MAXPATHLEN + 1]; local in function:vispath
443 strsvis(pathbuf, path, VIS_CSTYLE, extra);
445 strsvis(pathbuf, path, VIS_OCTAL, extra_glob);
446 return pathbuf;
  /src/usr.bin/rpcgen/
rpc_main.c 89 static char pathbuf[MAXPATHLEN + 1]; variable in typeref:typename:char[]
1061 (void) strlcpy(pathbuf, argv[i],
1062 sizeof(pathbuf));
1063 (void) strlcat(pathbuf, "/cpp",
1064 sizeof(pathbuf));
1065 CPP = pathbuf;
  /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/sys/kern/
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/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/sys/fs/udf/
udf_vnops.c 1605 uint8_t *pathbuf, *pathpos, *compnamepos; local in function:udf_do_symlink
1611 pathbuf = malloc(UDF_SYMLINKBUFLEN, M_UDFTEMP, M_WAITOK);
1612 pathpos = pathbuf;
1692 free(pathbuf, M_UDFTEMP);
1699 free(pathbuf, M_UDFTEMP);
1705 pathbuf, pathlen, 0,
1710 free(pathbuf, M_UDFTEMP);
1759 uint8_t *pathbuf, *tmpname; local in function:udf_do_readlink
1765 pathbuf = malloc(UDF_SYMLINKBUFLEN, M_UDFTEMP, M_WAITOK);
1767 memset(pathbuf, 0, UDF_SYMLINKBUFLEN)
    [all...]
  /src/usr.bin/xinstall/
xinstall.c 125 static char pathbuf[MAXPATHLEN]; variable in typeref:typename:char[]
700 (void)snprintf(pathbuf, sizeof(pathbuf), "%s/%s",
703 to_name = pathbuf;

Completed in 34 milliseconds

1 2