/freebsd-9.3-release/bin/ls/ |
H A D | cmp.c | 69 if (b->fts_statp->st_mtim.tv_sec > 70 a->fts_statp->st_mtim.tv_sec) 72 if (b->fts_statp->st_mtim.tv_sec < 73 a->fts_statp->st_mtim.tv_sec) 75 if (b->fts_statp->st_mtim.tv_nsec > 76 a->fts_statp->st_mtim.tv_nsec) 78 if (b->fts_statp->st_mtim.tv_nsec < 79 a->fts_statp->st_mtim.tv_nsec) 98 if (b->fts_statp->st_atim.tv_sec > 99 a->fts_statp [all...] |
H A D | print.c | 153 sp = p->fts_statp; 329 sp = p->fts_statp; 635 if (S_ISCHR(p->fts_statp->st_mode) || S_ISBLK(p->fts_statp->st_mode) || 636 S_ISWHT(p->fts_statp->st_mode)) 639 if (previous_dev == p->fts_statp->st_dev && supports_acls == 0) 648 if (previous_dev != p->fts_statp->st_dev) { 649 previous_dev = p->fts_statp->st_dev;
|
H A D | ls.c | 709 sp = cur->fts_statp;
|
/freebsd-9.3-release/usr.sbin/mtree/ |
H A D | create.c | 161 if (iflag || S_ISDIR(p->fts_statp->st_mode)) 173 if (!S_ISREG(p->fts_statp->st_mode) && !dflag) 174 output(indent, &offset, "type=%s", inotype(p->fts_statp->st_mode)); 175 if (p->fts_statp->st_uid != uid) { 177 pw = getpwuid(p->fts_statp->st_uid); 182 p->fts_statp->st_uid); 186 p->fts_statp->st_uid); 189 output(indent, &offset, "uid=%u", p->fts_statp->st_uid); 191 if (p->fts_statp->st_gid != gid) { 193 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...] |
H A D | verify.c | 141 if ((S_ISDIR(p->fts_statp->st_mode)
|
/freebsd-9.3-release/contrib/mtree/ |
H A D | compare.c | 89 if (flags != p->fts_statp->st_flags) { \ 93 sf = flags_to_string(p->fts_statp->st_flags, "none"); \ 143 if (!S_ISBLK(p->fts_statp->st_mode)) 147 if (!S_ISCHR(p->fts_statp->st_mode)) 151 if (!S_ISDIR(p->fts_statp->st_mode)) 155 if (!S_ISFIFO(p->fts_statp->st_mode)) 159 if (!S_ISREG(p->fts_statp->st_mode)) 163 if (!S_ISLNK(p->fts_statp->st_mode)) 168 if (!S_ISSOCK(p->fts_statp->st_mode)) 174 nodetype(s->type), inotype(p->fts_statp [all...] |
H A D | create.c | 186 S_ISDIR(p->fts_statp->st_mode) ? "" : " ", vispath(p->fts_name)); 193 if (!S_ISREG(p->fts_statp->st_mode) && (flavor == F_NETBSD6 || !dflag)) 195 inotype(p->fts_statp->st_mode)); 196 if (keys & (F_UID | F_UNAME) && p->fts_statp->st_uid != uid) { 198 (name = user_from_uid(p->fts_statp->st_uid, 1)) != NULL) 201 output(indent, &offset, "uid=%u", p->fts_statp->st_uid); 203 if (keys & (F_GID | F_GNAME) && p->fts_statp->st_gid != gid) { 205 (name = group_from_gid(p->fts_statp->st_gid, 1)) != NULL) 208 output(indent, &offset, "gid=%u", p->fts_statp->st_gid); 210 if (keys & F_MODE && (p->fts_statp [all...] |
H A D | verify.c | 148 if ((S_ISDIR(p->fts_statp->st_mode)
|
/freebsd-9.3-release/bin/chmod/ |
H A D | chmod.c | 176 newmode = getmode(set, p->fts_statp->st_mode); 183 (newmode & ALLPERMS) == (p->fts_statp->st_mode & ALLPERMS)) 201 strmode(p->fts_statp->st_mode, m1); 202 strmode((p->fts_statp->st_mode & 205 p->fts_statp->st_mode, m1, 206 (p->fts_statp->st_mode & S_IFMT) | 233 if (previous_dev != ent->fts_statp->st_dev) { 234 previous_dev = ent->fts_statp->st_dev;
|
/freebsd-9.3-release/bin/cp/ |
H A D | cp.c | 369 if (setfile(curr->fts_statp, -1)) 371 if (preserve_dir_acls(curr->fts_statp, 375 mode = curr->fts_statp->st_mode; 390 if (to_stat.st_dev == curr->fts_statp->st_dev && 391 to_stat.st_ino == curr->fts_statp->st_ino) { 395 if (S_ISDIR(curr->fts_statp->st_mode)) 399 if (!S_ISDIR(curr->fts_statp->st_mode) && 410 switch (curr->fts_statp->st_mode & S_IFMT) { 441 curr->fts_statp->st_mode | S_IRWXU) < 0) 457 if (copy_special(curr->fts_statp, !dn [all...] |
H A D | utils.c | 91 fs = entp->fts_statp; 282 return (pflag ? setfile(p->fts_statp, -1) : 0);
|
/freebsd-9.3-release/usr.sbin/chown/ |
H A D | chown.c | 187 if ((uid == (uid_t)-1 || uid == p->fts_statp->st_uid) && 188 (gid == (gid_t)-1 || gid == p->fts_statp->st_gid)) 202 p->fts_statp->st_uid, 204 p->fts_statp->st_gid, 207 p->fts_statp->st_uid : 211 p->fts_statp->st_gid : 216 p->fts_statp->st_gid, 219 p->fts_statp->st_gid :
|
/freebsd-9.3-release/bin/chflags/ |
H A D | chflags.c | 179 newflags = (p->fts_statp->st_flags | set) & clear; 180 if (newflags == p->fts_statp->st_flags) 189 (u_long)p->fts_statp->st_flags,
|
/freebsd-9.3-release/usr.bin/find/ |
H A D | function.c | 257 COMPARE((now - entry->fts_statp->st_ctime + 260 COMPARE((now - entry->fts_statp->st_atime + 263 COMPARE((now - entry->fts_statp->st_birthtime + 266 COMPARE((now - entry->fts_statp->st_mtime + 304 xtime = entry->fts_statp->st_atime; 306 xtime = entry->fts_statp->st_birthtime; 308 xtime = entry->fts_statp->st_ctime; 310 xtime = entry->fts_statp->st_mtime; 375 if (S_ISLNK(entry->fts_statp->st_mode)) 449 if ((entry->fts_statp [all...] |
/freebsd-9.3-release/bin/rm/ |
H A D | rm.c | 230 p->fts_statp)) { 235 (p->fts_statp->st_flags & (UF_APPEND|UF_IMMUTABLE)) && 236 !(p->fts_statp->st_flags & (SF_APPEND|SF_IMMUTABLE)) && 238 p->fts_statp->st_flags &= ~(UF_APPEND|UF_IMMUTABLE)) < 0) 248 !check(p->fts_path, p->fts_accpath, p->fts_statp)) 254 (p->fts_statp->st_flags & (UF_APPEND|UF_IMMUTABLE)) && 255 !(p->fts_statp->st_flags & (SF_APPEND|SF_IMMUTABLE))) 257 p->fts_statp->st_flags &= ~(UF_APPEND|UF_IMMUTABLE)); 309 FTS_NSOK ? NULL : p->fts_statp))
|
/freebsd-9.3-release/lib/libc/gen/ |
H A D | fts-compat.h | 124 struct stat *fts_statp; /* stat(2) information */ member in struct:_ftsent
|
H A D | ftw.c | 80 error = fn(cur->fts_path, cur->fts_statp, fnflag);
|
H A D | nftw.c | 105 error = fn(cur->fts_path, cur->fts_statp, fnflag, &ftw);
|
H A D | fts-compat.c | 914 sbp = ISSET(FTS_NOSTAT) ? &sb : p->fts_statp; 1061 p->fts_statp = NULL; 1064 p->fts_statp = &((struct ftsent_withstat *)p)->statbuf;
|
H A D | fts.c | 893 sbp = ISSET(FTS_NOSTAT) ? &sb : p->fts_statp; 1040 p->fts_statp = NULL; 1043 p->fts_statp = &((struct ftsent_withstat *)p)->statbuf;
|
/freebsd-9.3-release/usr.bin/du/ |
H A D | du.c | 274 howmany(p->fts_statp->st_size, cblocksize) : 275 howmany(p->fts_statp->st_blocks, cblocksize); 309 if (lflag == 0 && p->fts_statp->st_nlink > 1 && 314 howmany(p->fts_statp->st_size, cblocksize) : 315 howmany(p->fts_statp->st_blocks, cblocksize); 372 st = p->fts_statp; 542 if (nodumpflag && (ent->fts_statp->st_flags & UF_NODUMP))
|
/freebsd-9.3-release/include/ |
H A D | fts.h | 113 struct stat *fts_statp; /* stat(2) information */ member in struct:_ftsent
|
/freebsd-9.3-release/bin/pax/ |
H A D | ftree.c | 407 if (!tflag || (get_atdir(ftent->fts_statp->st_dev, 408 ftent->fts_statp->st_ino, &mtime, &atime) < 0)) 457 arcn->sb = *(ftent->fts_statp);
|
/freebsd-9.3-release/usr.sbin/setfmac/ |
H A D | setfmac.c | 413 (ftsent->fts_statp->st_mode & S_IFMT) != ent->mode)
|