/freebsd-10.3-release/bin/chflags/ |
H A D | chflags.c | 177 newflags = (p->fts_statp->st_flags | set) & clear; 178 if (newflags == p->fts_statp->st_flags) 188 (u_long)p->fts_statp->st_flags,
|
/freebsd-10.3-release/bin/chmod/ |
H A D | chmod.c | 181 newmode = getmode(set, p->fts_statp->st_mode); 188 (newmode & ALLPERMS) == (p->fts_statp->st_mode & ALLPERMS)) 200 strmode(p->fts_statp->st_mode, m1); 201 strmode((p->fts_statp->st_mode & 204 p->fts_statp->st_mode, m1, 205 (p->fts_statp->st_mode & S_IFMT) | 231 if (previous_dev != ent->fts_statp->st_dev) { 232 previous_dev = ent->fts_statp->st_dev;
|
/freebsd-10.3-release/bin/cp/ |
H A D | cp.c | 373 if (setfile(curr->fts_statp, -1)) 375 if (preserve_dir_acls(curr->fts_statp, 379 mode = curr->fts_statp->st_mode; 395 if (to_stat.st_dev == curr->fts_statp->st_dev && 396 to_stat.st_ino == curr->fts_statp->st_ino) { 400 if (S_ISDIR(curr->fts_statp->st_mode)) 404 if (!S_ISDIR(curr->fts_statp->st_mode) && 415 switch (curr->fts_statp->st_mode & S_IFMT) { 446 curr->fts_statp->st_mode | S_IRWXU) < 0) 462 if (copy_special(curr->fts_statp, !dn [all...] |
H A D | utils.c | 97 fs = entp->fts_statp; 301 return (pflag ? setfile(p->fts_statp, -1) : 0);
|
/freebsd-10.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 | ls.c | 709 sp = cur->fts_statp;
|
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;
|
/freebsd-10.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-10.3-release/bin/rm/ |
H A D | rm.c | 238 p->fts_statp)) { 243 (p->fts_statp->st_flags & (UF_APPEND|UF_IMMUTABLE)) && 244 !(p->fts_statp->st_flags & (SF_APPEND|SF_IMMUTABLE)) && 246 p->fts_statp->st_flags &= ~(UF_APPEND|UF_IMMUTABLE)) < 0) 256 !check(p->fts_path, p->fts_accpath, p->fts_statp)) 262 (p->fts_statp->st_flags & (UF_APPEND|UF_IMMUTABLE)) && 263 !(p->fts_statp->st_flags & (SF_APPEND|SF_IMMUTABLE))) 265 p->fts_statp->st_flags &= ~(UF_APPEND|UF_IMMUTABLE)); 317 FTS_NSOK ? NULL : p->fts_statp))
|
/freebsd-10.3-release/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 | 192 S_ISDIR(p->fts_statp->st_mode) ? "" : " ", vispath(p->fts_name)); 200 if (!S_ISREG(p->fts_statp->st_mode) && (flavor == F_NETBSD6 || !dflag)) 202 inotype(p->fts_statp->st_mode)); 203 if (keys & (F_UID | F_UNAME) && p->fts_statp->st_uid != uid) { 205 (name = user_from_uid(p->fts_statp->st_uid, 1)) != NULL) 209 p->fts_statp->st_uid); 211 if (keys & (F_GID | F_GNAME) && p->fts_statp->st_gid != gid) { 213 (name = group_from_gid(p->fts_statp->st_gid, 1)) != NULL) 217 p->fts_statp->st_gid); 219 if (keys & F_MODE && (p->fts_statp [all...] |
H A D | verify.c | 152 if ((S_ISDIR(p->fts_statp->st_mode)
|
/freebsd-10.3-release/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_stat.c | 145 if (sb.st_ino != ftse->fts_statp->st_ino)
|
/freebsd-10.3-release/include/ |
H A D | fts.h | 115 struct stat *fts_statp; /* stat(2) information */ member in struct:_ftsent
|
/freebsd-10.3-release/lib/libc/gen/ |
H A D | fts-compat.c | 916 sbp = ISSET(FTS_NOSTAT) ? &sb : p->fts_statp; 1063 p->fts_statp = NULL; 1066 p->fts_statp = &((struct ftsent_withstat *)p)->statbuf;
|
H A D | fts-compat.h | 120 struct stat *fts_statp; /* stat(2) information */ member in struct:_ftsent
|
H A D | fts.c | 890 sbp = ISSET(FTS_NOSTAT) ? &sb : p->fts_statp; 1032 p->fts_statp = NULL; 1035 p->fts_statp = &((struct ftsent_withstat *)p)->statbuf;
|
H A D | ftw.c | 80 error = fn(cur->fts_path, cur->fts_statp, fnflag);
|
H A D | nftw.c | 98 error = fn(cur->fts_path, cur->fts_statp, fnflag, &ftw);
|
/freebsd-10.3-release/usr.bin/du/ |
H A D | du.c | 266 howmany(p->fts_statp->st_size, cblocksize) : 267 howmany(p->fts_statp->st_blocks, cblocksize); 301 if (lflag == 0 && p->fts_statp->st_nlink > 1 && 306 howmany(p->fts_statp->st_size, cblocksize) : 307 howmany(p->fts_statp->st_blocks, cblocksize); 364 st = p->fts_statp; 534 if (nodumpflag && (ent->fts_statp->st_flags & UF_NODUMP))
|
/freebsd-10.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)) 450 if ((entry->fts_statp [all...] |
/freebsd-10.3-release/usr.bin/gzip/ |
H A D | gzip.c | 1932 handle_file(entry->fts_path, entry->fts_statp);
|
/freebsd-10.3-release/usr.sbin/chown/ |
H A D | chown.c | 192 if ((uid == (uid_t)-1 || uid == p->fts_statp->st_uid) && 193 (gid == (gid_t)-1 || gid == p->fts_statp->st_gid)) 205 p->fts_statp->st_uid, 207 p->fts_statp->st_gid, 210 p->fts_statp->st_uid : 214 p->fts_statp->st_gid : 219 p->fts_statp->st_gid, 222 p->fts_statp->st_gid :
|
/freebsd-10.3-release/usr.sbin/mtree/ |
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 | 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...] |