Home
last modified time | relevance | path

Searched refs:fts_accpath (Results 1 – 14 of 14) sorted by relevance

/dragonfly/usr.sbin/mtree/
H A Dcompare.c89 if (lchflags(p->fts_accpath, flags)) { \
197 if ((unlink(p->fts_accpath) == -1) || in compare()
198 (mknod(p->fts_accpath, in compare()
220 if (lchown(p->fts_accpath, s->st_uid, -1)) in compare()
237 if (lchown(p->fts_accpath, -1, s->st_gid)) in compare()
274 if (lchmod(p->fts_accpath, s->st_mode)) in compare()
341 if (utimes(p->fts_accpath, tv)) in compare()
396 tab, p->fts_accpath, strerror(errno)); in compare()
402 tab, p->fts_accpath, strerror(errno)); in compare()
539 if ((unlink(p->fts_accpath) == -1) || in compare()
[all …]
H A Dverify.c139 lchflags(p->fts_accpath, 0) == -1) in vwalk()
144 ? rmdir : unlink)(p->fts_accpath)) { in vwalk()
H A Dcreate.c173 digestbuf = (*func)(p->fts_accpath, NULL); in dosum()
176 digestbuf = dohash(flag, p->fts_accpath); in dosum()
291 vispath(rlink(p->fts_accpath))); in statf()
/dragonfly/lib/libc/gen/
H A Dfts.c155 p->fts_accpath = p->fts_name; in fts_open()
375 p->fts_accpath = in fts_read()
376 p->fts_parent->fts_accpath; in fts_read()
770 p->fts_accpath = cur->fts_accpath; in fts_build()
777 p->fts_accpath = in fts_build()
783 p->fts_accpath = p->fts_path; in fts_build()
786 p->fts_accpath = p->fts_name; in fts_build()
881 if (stat(p->fts_accpath, sbp)) { in fts_stat()
883 if (!lstat(p->fts_accpath, sbp)) { in fts_stat()
890 } else if (lstat(p->fts_accpath, sbp)) { in fts_stat()
[all …]
/dragonfly/bin/rm/
H A Drm.c243 if (!fflag && !check(p->fts_path, p->fts_accpath, in rm_tree()
252 lchflags(p->fts_accpath, in rm_tree()
264 !check(p->fts_path, p->fts_accpath, p->fts_statp)) in rm_tree()
278 rval = lchflags(p->fts_accpath, in rm_tree()
291 rval = rmdir(p->fts_accpath); in rm_tree()
301 rval = undelete(p->fts_accpath); in rm_tree()
320 if (!rm_overwrite(p->fts_accpath, NULL)) in rm_tree()
322 rval = unlink(p->fts_accpath); in rm_tree()
/dragonfly/contrib/grep/lib/
H A Dfts.c483 p->fts_accpath = p->fts_name; in fts_open()
569 p->fts_accpath = p->fts_path = sp->fts_path; in fts_load()
937 p->fts_accpath = in fts_read()
938 p->fts_parent->fts_accpath; in fts_read()
1531 p->fts_accpath = p->fts_path; in fts_build()
1534 p->fts_accpath = p->fts_name; in fts_build()
1672 ad->fts_ent->fts_accpath, in find_matching_ancestor()
1675 ent->fts_accpath, in find_matching_ancestor()
1812 if (stat(p->fts_accpath, sbp)) { in fts_stat()
1814 && lstat(p->fts_accpath, sbp) == 0) { in fts_stat()
[all …]
H A Dfts_.h208 char *fts_accpath; /* access file name */ member
/dragonfly/usr.bin/find/
H A Dfunction.c360 if (strcmp(entry->fts_accpath, ".") == 0 || in f_delete()
361 strcmp(entry->fts_accpath, "..") == 0) in f_delete()
375 strchr(entry->fts_accpath, '/') != NULL) in f_delete()
377 entry->fts_accpath); in f_delete()
384 lchflags(entry->fts_accpath, in f_delete()
393 if (unlink(entry->fts_accpath) < 0) in f_delete()
498 dir = opendir(entry->fts_accpath); in f_empty()
825 if ((p = strrchr(entry->fts_accpath, '/')) != NULL) in f_fstype()
828 p = entry->fts_accpath; in f_fstype()
836 if (statfs(entry->fts_accpath, &sb)) { in f_fstype()
[all …]
/dragonfly/include/
H A Dfts.h74 char *fts_accpath; /* access path */ member
/dragonfly/usr.bin/chflags/
H A Dchflags.c170 if (chflagsat(AT_FDCWD, p->fts_accpath, newflags, in main()
/dragonfly/bin/chmod/
H A Dchmod.c179 if (fchmodat(AT_FDCWD, p->fts_accpath, newmode, atflag) == -1 in main()
/dragonfly/usr.sbin/chown/
H A Dchown.c183 if (fchownat(AT_FDCWD, p->fts_accpath, uid, gid, atflag) in main()
/dragonfly/bin/ls/
H A Dprint.c606 "%s/%s", p->fts_parent->fts_accpath, p->fts_name); in printlink()
/dragonfly/contrib/grep/src/
H A Dgrep.c1646 if (fstatat (fts->fts_cwd_fd, ent->fts_accpath, &st1, flag) != 0) in grepdirent()
1670 return grepfile (fts->fts_cwd_fd, ent->fts_accpath, follow, command_line); in grepdirent()