| /freebsd/bin/setfacl/ |
| H A D | setfacl.c | 193 warnx("%s: %s", file->fts_path, strerror(file->fts_errno)); in handle_file() 201 file->fts_path); in handle_file() 215 file->fts_path); in handle_file() 224 file->fts_path); in handle_file() 233 warn("%s: acl_get_file() failed", file->fts_path); in handle_file() 235 warn("%s: acl_get_link_np() failed", file->fts_path); in handle_file() 248 file->fts_path); in handle_file() 254 local_error += merge_acl(nacl, &acl, file->fts_path); in handle_file() 266 file->fts_path); in handle_file() 269 remove_ext(&acl, file->fts_path); in handle_file() [all …]
|
| /freebsd/contrib/mandoc/ |
| H A D | compat_fts.c | 157 mem2: free(sp->fts_path); in fts_open() 176 memmove(sp->fts_path, p->fts_name, len + 1); in fts_load() 182 p->fts_accpath = p->fts_path = sp->fts_path; in fts_load() 209 free(sp->fts_path); in fts_close() 220 (p->fts_path[p->fts_pathlen - 1] == '/' \ 292 name: t = sp->fts_path + NAPPEND(p->fts_parent); in fts_read() 313 sp->fts_path[p->fts_pathlen] = '\0'; in fts_read() 387 cp = sp->fts_path + len; in fts_build() 415 oldaddr = sp->fts_path; in fts_build() 432 if (oldaddr != sp->fts_path) { in fts_build() [all …]
|
| H A D | compat_fts.h | 43 char *fts_path; /* path for this descent */ member 63 char *fts_path; /* root path */ member
|
| /freebsd/bin/pax/ |
| H A D | ftree.c | 396 set_ftime(ftent->fts_path, mtime, atime, 1); in next_file() 402 paxwarn(1,"File system cycle found at %s",ftent->fts_path); in next_file() 406 "Unable to read directory %s", ftent->fts_path); in next_file() 415 "Unable to access %s", ftent->fts_path); in next_file() 444 add_atdir(ftent->fts_path, arcn->sb.st_dev, in next_file() 469 if ((cnt = readlink(ftent->fts_path, arcn->ln_name, in next_file() 472 ftent->fts_path); in next_file() 500 arcn->nlen = l_strncpy(arcn->name, ftent->fts_path, sizeof(arcn->name) - 1); in next_file() 502 arcn->org_name = ftent->fts_path; in next_file()
|
| /freebsd/bin/rm/ |
| H A D | rm.c | 201 p->fts_path, strerror(p->fts_errno)); in rm_tree() 206 errx(1, "%s: %s", p->fts_path, strerror(p->fts_errno)); in rm_tree() 216 p->fts_path, strerror(p->fts_errno)); in rm_tree() 222 if (!fflag && !check(p->fts_path, p->fts_accpath, in rm_tree() 241 !check(p->fts_path, p->fts_accpath, p->fts_statp)) in rm_tree() 264 p->fts_path); in rm_tree() 268 p->fts_path); in rm_tree() 279 p->fts_path); in rm_tree() 283 p->fts_path); in rm_tree() 305 p->fts_path); in rm_tree() [all …]
|
| /freebsd/lib/libc/gen/ |
| H A D | fts-compat.c | 223 mem2: free(sp->fts_path); in __fts_open_44bsd() 242 memmove(sp->fts_path, p->fts_name, len + 1); in fts_load() 248 p->fts_accpath = p->fts_path = sp->fts_path; in fts_load() 277 free(sp->fts_path); in __fts_close_44bsd() 303 (p->fts_path[p->fts_pathlen - 1] == '/' \ 442 name: t = sp->fts_path + NAPPEND(p->fts_parent); in __fts_read_44bsd() 463 sp->fts_path[p->fts_pathlen] = '\0'; in __fts_read_44bsd() 736 cp = sp->fts_path + len; in fts_build() 759 oldaddr = sp->fts_path; in fts_build() 777 if (oldaddr != sp->fts_path) { in fts_build() [all …]
|
| H A D | fts-compat11.c | 213 mem2: free(sp->fts_path); in freebsd11_fts_open() 232 memmove(sp->fts_path, p->fts_name, len + 1); in fts_load() 238 p->fts_accpath = p->fts_path = sp->fts_path; in fts_load() 267 free(sp->fts_path); in freebsd11_fts_close() 293 (p->fts_path[p->fts_pathlen - 1] == '/' \ 435 name: t = sp->fts_path + NAPPEND(p->fts_parent); in freebsd11_fts_read() 456 sp->fts_path[p->fts_pathlen] = '\0'; in freebsd11_fts_read() 735 cp = sp->fts_path + len; in fts_build() 758 oldaddr = sp->fts_path; in fts_build() 776 if (oldaddr != sp->fts_path) { in fts_build() [all …]
|
| H A D | fts.c | 222 mem2: free(sp->fts_path); in __fts_open() 332 memmove(sp->fts_path, p->fts_name, len + 1); in fts_load() 338 p->fts_accpath = p->fts_path = sp->fts_path; in fts_load() 367 free(sp->fts_path); in fts_close() 404 (p->fts_path[p->fts_pathlen - 1] == '/' \ 546 name: t = sp->fts_path + NAPPEND(p->fts_parent); in fts_read() 567 sp->fts_path[p->fts_pathlen] = '\0'; in fts_read() 860 cp = sp->fts_path + len; in fts_build() 883 oldaddr = sp->fts_path; in fts_build() 901 if (oldaddr != sp->fts_path) { in fts_build() [all …]
|
| H A D | fts-compat11.h | 38 char *fts_path; /* path for this descent */ member 56 char *fts_path; /* root path */ member
|
| H A D | fts-compat.h | 40 char *fts_path; /* path for this descent */ member 78 char *fts_path; /* root path */ member
|
| /freebsd/bin/chflags/ |
| H A D | chflags.c | 167 warnx("%s: %s", p->fts_path, strerror(p->fts_errno)); in main() 172 warnx("%s: %s", p->fts_path, strerror(p->fts_errno)); in main() 188 warnc(e, "%s", p->fts_path); in main() 192 (void)printf("%s: %s\n", p->fts_path, in main() 197 (void)printf("%s", p->fts_path); in main()
|
| /freebsd/usr.bin/find/ |
| H A D | find.c | 181 err(1, "%s", entry->fts_path); in find_execute() 202 entry->fts_path, strerror(entry->fts_errno)); in find_execute() 214 fprintf(stderr, "Scanning: %s\n", entry->fts_path); in find_execute() 221 if (isxargs && strpbrk(entry->fts_path, BADCH)) { in find_execute() 223 warnx("%s: illegal path", entry->fts_path); in find_execute()
|
| H A D | function.c | 464 warn("-delete: rmdir(%s)", entry->fts_path); in f_delete() 467 warn("-delete: unlink(%s)", entry->fts_path); in f_delete() 627 (file = strrchr(entry->fts_path, '/'))) in f_exec() 630 file = entry->fts_path; in f_exec() 882 fprintf(plan->fprint_file, "%s\n", entry->fts_path); in f_fprint() 912 fprintf(plan->fprint_file, "%s%c", entry->fts_path, '\0'); in f_fprint0() 1168 printlong(entry->fts_path, entry->fts_accpath, entry->fts_statp); in f_ls() 1344 return !fnmatch(plan->c_data, entry->fts_path, in f_path() 1410 (void)puts(entry->fts_path); in f_print() 1431 fputs(entry->fts_path, stdout); in f_print0() [all …]
|
| /freebsd/bin/chmod/ |
| H A D | chmod.c | 169 warnx("%s: %s", p->fts_path, strerror(p->fts_errno)); in main() 176 warnx("%s: %s", p->fts_path, strerror(p->fts_errno)); in main() 193 warn("%s", p->fts_path); in main() 196 (void)printf("%s", p->fts_path); in main() 244 warn("%s", ent->fts_path); in may_have_nfs4acl()
|
| /freebsd/contrib/mtree/ |
| H A D | mtree.h | 147 ((p)->fts_path[0] == '.' && (p)->fts_path[1] == '/' ? \ 148 (p)->fts_path + 2 : (p)->fts_path)
|
| H A D | create.c | 128 if (check_excludes(p->fts_name, p->fts_path)) { in cwalk() 132 if (!find_only(p->fts_path)) { in cwalk() 141 fprintf(fp, "# %s\n", p->fts_path); in cwalk() 149 p->fts_path); in cwalk() 160 p->fts_path, strerror(p->fts_errno)); in cwalk() 193 warn("%s: %s failed", p->fts_path, key); in dosum() 197 mtree_err("%s: %s failed: %s", p->fts_path, key, strerror(errno)); in dosum()
|
| /freebsd/bin/cp/ |
| H A D | utils.c | 113 if ((from_fd = open(entp->fts_path, O_RDONLY, 0)) < 0 || in copy_file() 115 warn("%s", entp->fts_path); in copy_file() 129 warnx("%s: File changed", entp->fts_path); in copy_file() 174 if (linkat(AT_FDCWD, entp->fts_path, to.dir, to.path, 0) != 0) { in copy_file() 182 if (symlinkat(entp->fts_path, to.dir, to.path) != 0) { in copy_file() 227 entp->fts_path, to.base, to.path, in copy_file() 232 warn("%s", entp->fts_path); in copy_file() 269 if ((len = readlink(p->fts_path, llink, sizeof(llink) - 1)) == -1) { in copy_link() 270 warn("readlink: %s", p->fts_path); in copy_link()
|
| H A D | cp.c | 364 warnc(curr->fts_errno, "%s", curr->fts_path); in copy() 368 warnx("%s: directory causes a cycle", curr->fts_path); in copy() 579 to.base, to.path, curr->fts_path); in copy() 608 curr->fts_path); in copy() 666 curr->fts_path); in copy() 683 (void)printf("%s -> %s%s\n", curr->fts_path, to.base, to.path); in copy()
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | dev.sh | 100 if (strstr(p->fts_path, "ttyu") != NULL) 102 if (strstr(p->fts_path, "fcdm") != NULL) 104 if ((fd = open(p->fts_path, O_RDONLY|O_NONBLOCK)) == -1)
|
| H A D | pty.sh | 95 if ((fd = open(p->fts_path, O_RDWR)) == -1) 96 if ((fd = open(p->fts_path, O_WRONLY)) == -1) 97 if ((fd = open(p->fts_path, O_RDONLY)) == -1)
|
| H A D | procfs3.sh | 109 warnx("%s: %s. fts_info = %d", p->fts_path, strerror(p->fts_errno), 117 if ((fd = open(p->fts_path, O_RDONLY)) == -1)
|
| /freebsd/usr.sbin/setfmac/ |
| H A D | setfmac.c | 160 ftsent->fts_path); in main() 164 ftsent->fts_path); in main() 171 err(1, "traversing %s", ftsent->fts_path); in main() 174 ftsent->fts_info, ftsent->fts_path); in main() 419 error = regexec(&ent->regex, ftsent->fts_path, 1, in apply_specs() 440 ftsent->fts_path); in apply_specs() 483 err(1, "mac_set_link(%s, %s)", ftsent->fts_path, macstr); in apply_specs()
|
| /freebsd/usr.sbin/chown/ |
| H A D | chown.c | 181 warnx("%s: %s", p->fts_path, strerror(p->fts_errno)); in main() 186 warnx("%s: %s", p->fts_path, strerror(p->fts_errno)); in main() 201 chownerr(p->fts_path); in main() 297 printf("%s", p->fts_path); in print_info()
|
| /freebsd/tools/test/stress2/testcases/fts/ |
| H A D | fts.c | 71 (void) printf("%s\n", p->fts_path); in test() 90 warnx("%s: %s", p->fts_path, strerror(p->fts_errno)); in test()
|
| /freebsd/include/ |
| H A D | fts.h | 44 char *fts_path; /* path for this descent */ member 92 char *fts_path; /* root path */ member
|