Home
last modified time | relevance | path

Searched refs:stats (Results 1 – 10 of 10) sorted by relevance

/coreutils/tests/ls/
Dstat-free-symlinks.sh23 stats='stat'
28 stats="$stats,$stat"
39 strace -q -o log1 -e $stats ls -F --color=always d || fail=1
58 strace -qe $stats -o log2 ls -F --color=always x link-to-x > out.tmp || fail=1
Dstat-free-color.sh24 stats='stat'
29 stats="$stats,$stat"
67 strace -q -o log1 -e $stats ls -a --color=always d || fail=1
82 strace -q -o log2 -e $stats ls --color=always d || fail=1
/coreutils/src/
Dtail.c1164 struct stat stats; in tail_forever() local
1206 if (fstat (fd, &stats) != 0) in tail_forever()
1215 if (f[i].mode == stats.st_mode in tail_forever()
1216 && (! S_ISREG (stats.st_mode) || f[i].size == stats.st_size) in tail_forever()
1217 && timespec_cmp (f[i].mtime, get_stat_mtime (&stats)) == 0) in tail_forever()
1226 if (fd != f[i].fd || S_ISREG (stats.st_mode) || 1 < n_files) in tail_forever()
1237 f[i].mtime = get_stat_mtime (&stats); in tail_forever()
1238 f[i].mode = stats.st_mode; in tail_forever()
1247 if (S_ISREG (mode) && stats.st_size < f[i].size) in tail_forever()
1271 bytes_to_read = stats.st_size - f[i].size; in tail_forever()
[all …]
Dcp.c405 struct stat stats; in make_dir_parents_private() local
431 if (fstatat (dst_dirfd, dst_reldir, &stats, 0) != 0) in make_dir_parents_private()
448 missing_dir = fstatat (dst_dirfd, dst_reldir, &stats, 0) != 0; in make_dir_parents_private()
528 if (fstatat (dst_dirfd, dst_reldir, &stats, AT_SYMLINK_NOFOLLOW)) in make_dir_parents_private()
538 if (omitted_permissions & ~stats.st_mode) in make_dir_parents_private()
540 if (omitted_permissions & ~stats.st_mode in make_dir_parents_private()
541 || (stats.st_mode & S_IRWXU) != S_IRWXU) in make_dir_parents_private()
543 new->st.st_mode = stats.st_mode | omitted_permissions; in make_dir_parents_private()
548 mode_t accessible = stats.st_mode | S_IRWXU; in make_dir_parents_private()
549 if (stats.st_mode != accessible) in make_dir_parents_private()
[all …]
Dpinky.c194 struct stat stats; in print_entry() local
218 if (AT_FDCWD <= dirfd && fstatat (dirfd, line, &stats, 0) == 0) in print_entry()
220 mesg = (stats.st_mode & S_IWGRP) ? ' ' : '*'; in print_entry()
221 last_change = stats.st_atime; in print_entry()
Dwho.c324 struct stat stats; in print_user() local
354 if (AT_FDCWD <= dirfd && fstatat (dirfd, line, &stats, 0) == 0) in print_user()
356 mesg = is_tty_writable (&stats) ? '+' : '-'; in print_user()
357 last_change = stats.st_atime; in print_user()
Ddf.c1587 struct stat *stats = nullptr; in main() local
1777 stats = xnmalloc (argc - optind, sizeof *stats); in main()
1780 int err = automount_stat_err (argv[i], &stats[i - optind]); in main()
1823 if (stats) in main()
1830 get_entry (argv[i], &stats[i - optind]); in main()
/coreutils/tests/
Dlocal.mk558 tests/dd/stats.sh \
/coreutils/doc/
Dcoreutils.texi3164 @item --max-unchanged-stats=@var{n}
3165 @opindex --max-unchanged-stats
9942 # Output stats every second.
/coreutils/
DNEWS1432 du no longer stats all mount points at startup, only doing so