Home
last modified time | relevance | path

Searched refs:file_stats (Results 1 – 4 of 4) sorted by relevance

/coreutils/src/
Dchown-core.c290 struct stat const *file_stats; in change_file_owner() local
369 file_stats = nullptr; in change_file_owner()
377 file_stats = ent->fts_statp; in change_file_owner()
381 file_stats = ent->fts_statp; in change_file_owner()
385 if (chopt->affect_symlink_referent && S_ISLNK (file_stats->st_mode)) in change_file_owner()
395 file_stats = &stat_buf; in change_file_owner()
400 || required_uid == file_stats->st_uid) in change_file_owner()
402 || required_gid == file_stats->st_gid)); in change_file_owner()
408 && ROOT_DEV_INO_CHECK (chopt->root_dev_ino, file_stats)) in change_file_owner()
442 = restricted_chown (fts->fts_cwd_fd, file, file_stats, uid, gid, in change_file_owner()
[all …]
Dchmod.c207 const struct stat *file_stats = ent->fts_statp; in process_file() local
265 && ROOT_DEV_INO_CHECK (root_dev_ino, file_stats)) in process_file()
275 if (ch.status == CH_NOT_APPLIED && ! S_ISLNK (file_stats->st_mode)) in process_file()
277 ch.old_mode = file_stats->st_mode; in process_file()
Dod.c1011 struct stat file_stats; in skip() local
1023 if (fstat (fileno (in_stream), &file_stats) == 0) in skip()
1025 bool usable_size = usable_st_size (&file_stats); in skip()
1034 if (usable_size && STP_BLKSIZE (&file_stats) < file_stats.st_size) in skip()
1036 if ((uintmax_t) file_stats.st_size < n_skip) in skip()
1037 n_skip -= file_stats.st_size; in skip()
Dchcon.c212 const struct stat *file_stats = ent->fts_statp; in process_file() local
283 && ok && ROOT_DEV_INO_CHECK (root_dev_ino, file_stats)) in process_file()