/freebsd-13-stable/bin/ls/ |
H A D | cmp.c | 71 if (b->fts_statp->st_mtim.tv_sec > 72 a->fts_statp->st_mtim.tv_sec) 74 if (b->fts_statp->st_mtim.tv_sec < 75 a->fts_statp->st_mtim.tv_sec) 77 if (b->fts_statp->st_mtim.tv_nsec > 78 a->fts_statp->st_mtim.tv_nsec) 80 if (b->fts_statp->st_mtim.tv_nsec < 81 a->fts_statp->st_mtim.tv_nsec) 100 if (b->fts_statp->st_atim.tv_sec > 101 a->fts_statp [all...] |
H A D | print.c | 226 sp = p->fts_statp; 402 sp = p->fts_statp; 776 if (S_ISCHR(p->fts_statp->st_mode) || S_ISBLK(p->fts_statp->st_mode) || 777 S_ISWHT(p->fts_statp->st_mode)) 780 if (previous_dev == p->fts_statp->st_dev && supports_acls == 0) 789 if (previous_dev != p->fts_statp->st_dev) { 790 previous_dev = p->fts_statp->st_dev;
|
/freebsd-13-stable/usr.sbin/fmtree/ |
H A D | create.c | 163 if (iflag || S_ISDIR(p->fts_statp->st_mode)) 175 if (!S_ISREG(p->fts_statp->st_mode) && !dflag) 176 output(indent, &offset, "type=%s", inotype(p->fts_statp->st_mode)); 177 if (p->fts_statp->st_uid != uid) { 179 pw = getpwuid(p->fts_statp->st_uid); 184 p->fts_statp->st_uid); 188 p->fts_statp->st_uid); 191 output(indent, &offset, "uid=%u", p->fts_statp->st_uid); 193 if (p->fts_statp->st_gid != gid) { 195 gr = getgrgid(p->fts_statp [all...] |
H A D | compare.c | 88 if (!S_ISBLK(p->fts_statp->st_mode)) 92 if (!S_ISCHR(p->fts_statp->st_mode)) 96 if (!S_ISDIR(p->fts_statp->st_mode)) 100 if (!S_ISFIFO(p->fts_statp->st_mode)) 104 if (!S_ISREG(p->fts_statp->st_mode)) 108 if (!S_ISLNK(p->fts_statp->st_mode)) 112 if (!S_ISSOCK(p->fts_statp->st_mode)) { 115 ftype(s->type), inotype(p->fts_statp->st_mode)); 121 if (s->flags & (F_UID | F_UNAME) && s->st_uid != p->fts_statp->st_uid) { 124 tab, (u_long)s->st_uid, (u_long)p->fts_statp [all...] |
/freebsd-13-stable/contrib/mtree/ |
H A D | compare.c | 95 if (flags != p->fts_statp->st_flags) { \ 99 sf = flags_to_string(p->fts_statp->st_flags, "none"); \ 149 if (!S_ISBLK(p->fts_statp->st_mode)) 153 if (!S_ISCHR(p->fts_statp->st_mode)) 157 if (!S_ISDIR(p->fts_statp->st_mode)) 161 if (!S_ISFIFO(p->fts_statp->st_mode)) 165 if (!S_ISREG(p->fts_statp->st_mode)) 169 if (!S_ISLNK(p->fts_statp->st_mode)) 174 if (!S_ISSOCK(p->fts_statp->st_mode)) 181 nodetype(s->type), inotype(p->fts_statp [all...] |
H A D | create.c | 194 S_ISDIR(p->fts_statp->st_mode) ? "" : " ", vispath(p->fts_name)); 202 if (!S_ISREG(p->fts_statp->st_mode) && (flavor == F_NETBSD6 || !dflag)) 204 inotype(p->fts_statp->st_mode)); 205 if (keys & (F_UID | F_UNAME) && p->fts_statp->st_uid != uid) { 207 (name = user_from_uid(p->fts_statp->st_uid, 1)) != NULL) 211 p->fts_statp->st_uid); 213 if (keys & (F_GID | F_GNAME) && p->fts_statp->st_gid != gid) { 215 (name = group_from_gid(p->fts_statp->st_gid, 1)) != NULL) 219 p->fts_statp->st_gid); 221 if (keys & F_MODE && (p->fts_statp [all...] |
H A D | verify.c | 152 if ((S_ISDIR(p->fts_statp->st_mode)
|
/freebsd-13-stable/bin/chmod/ |
H A D | chmod.c | 196 newmode = getmode(set, p->fts_statp->st_mode); 203 (newmode & ALLPERMS) == (p->fts_statp->st_mode & ALLPERMS)) 215 strmode(p->fts_statp->st_mode, m1); 216 strmode((p->fts_statp->st_mode & 219 p->fts_statp->st_mode, m1, 220 (p->fts_statp->st_mode & S_IFMT) | 247 if (previous_dev != ent->fts_statp->st_dev) { 248 previous_dev = ent->fts_statp->st_dev;
|
/freebsd-13-stable/bin/cp/ |
H A D | cp.c | 376 if (setfile(curr->fts_statp, -1)) 378 if (preserve_dir_acls(curr->fts_statp, 382 mode = curr->fts_statp->st_mode; 398 if (to_stat.st_dev == curr->fts_statp->st_dev && 399 to_stat.st_ino == curr->fts_statp->st_ino) { 403 if (S_ISDIR(curr->fts_statp->st_mode)) 407 if (!S_ISDIR(curr->fts_statp->st_mode) && 418 switch (curr->fts_statp->st_mode & S_IFMT) { 449 curr->fts_statp->st_mode | S_IRWXU) < 0) 465 if (copy_special(curr->fts_statp, !dn [all...] |
H A D | utils.c | 119 fs = entp->fts_statp; 322 return (pflag ? setfile(p->fts_statp, -1) : 0);
|
/freebsd-13-stable/usr.sbin/chown/ |
H A D | chown.c | 211 if ((uid == (uid_t)-1 || uid == p->fts_statp->st_uid) && 212 (gid == (gid_t)-1 || gid == p->fts_statp->st_gid)) 316 (uintmax_t)p->fts_statp->st_uid, 317 (uintmax_t)p->fts_statp->st_gid, 319 (uintmax_t)p->fts_statp->st_uid : (uintmax_t)uid, 321 (uintmax_t)p->fts_statp->st_gid : (uintmax_t)gid); 323 printf(": %ju -> %ju", (uintmax_t)p->fts_statp->st_gid, 325 (uintmax_t)p->fts_statp->st_gid : (uintmax_t)gid);
|
/freebsd-13-stable/usr.bin/find/ |
H A D | function.c | 257 COMPARE((now - entry->fts_statp->st_ctime + 260 COMPARE((now - entry->fts_statp->st_atime + 264 COMPARE((now - entry->fts_statp->st_birthtime + 268 COMPARE((now - entry->fts_statp->st_mtime + 306 xtime = entry->fts_statp->st_atime; 309 xtime = entry->fts_statp->st_birthtime; 312 xtime = entry->fts_statp->st_ctime; 314 xtime = entry->fts_statp->st_mtime; 380 if (S_ISLNK(entry->fts_statp->st_mode)) 457 if ((entry->fts_statp [all...] |
/freebsd-13-stable/bin/rm/ |
H A D | rm.c | 237 p->fts_statp)) { 242 (p->fts_statp->st_flags & (UF_APPEND|UF_IMMUTABLE)) && 243 !(p->fts_statp->st_flags & (SF_APPEND|SF_IMMUTABLE)) && 245 p->fts_statp->st_flags &= ~(UF_APPEND|UF_IMMUTABLE)) < 0) 255 !check(p->fts_path, p->fts_accpath, p->fts_statp)) 261 (p->fts_statp->st_flags & (UF_APPEND|UF_IMMUTABLE)) && 262 !(p->fts_statp->st_flags & (SF_APPEND|SF_IMMUTABLE))) 264 p->fts_statp->st_flags &= ~(UF_APPEND|UF_IMMUTABLE));
|
/freebsd-13-stable/bin/chflags/ |
H A D | chflags.c | 196 newflags = (p->fts_statp->st_flags | set) & clear; 197 if (newflags == p->fts_statp->st_flags) 207 (u_long)p->fts_statp->st_flags,
|
/freebsd-13-stable/lib/libc/gen/ |
H A D | fts-compat.h | 122 struct freebsd11_stat *fts_statp; /* stat(2) information */ member in struct:_ftsent
|
H A D | fts-compat11.h | 77 struct freebsd11_stat *fts_statp; /* stat(2) information */ member in struct:_ftsent11
|
H A D | ftw-compat11.c | 88 error = fn(cur->fts_path, cur->fts_statp, fnflag);
|
H A D | ftw.c | 80 error = fn(cur->fts_path, cur->fts_statp, fnflag);
|
H A D | nftw-compat11.c | 102 error = fn(cur->fts_path, cur->fts_statp, fnflag, &ftw);
|
H A D | nftw.c | 98 error = fn(cur->fts_path, cur->fts_statp, fnflag, &ftw);
|
/freebsd-13-stable/contrib/mandoc/ |
H A D | compat_fts.h | 94 struct stat *fts_statp; /* stat(2) information */ member in struct:_ftsent
|
H A D | compat_fts.c | 517 sbp = p->fts_statp; 608 p->fts_statp = malloc(sizeof(struct stat)); 609 if (p->fts_statp == NULL) {
|
/freebsd-13-stable/usr.bin/du/ |
H A D | du.c | 282 howmany(p->fts_statp->st_size, cblocksize) : 283 howmany(p->fts_statp->st_blocks, cblocksize); 317 if (lflag == 0 && p->fts_statp->st_nlink > 1 && 322 howmany(p->fts_statp->st_size, cblocksize) : 323 howmany(p->fts_statp->st_blocks, cblocksize); 380 st = p->fts_statp; 550 if (nodumpflag && (ent->fts_statp->st_flags & UF_NODUMP))
|
/freebsd-13-stable/include/ |
H A D | fts.h | 117 struct stat *fts_statp; /* stat(2) information */ member in struct:_ftsent
|
/freebsd-13-stable/bin/pax/ |
H A D | ftree.c | 409 if (!tflag || (get_atdir(ftent->fts_statp->st_dev, 410 ftent->fts_statp->st_ino, &mtime, &atime) < 0)) 459 arcn->sb = *(ftent->fts_statp);
|