/coreutils/src/ |
D | remove.c | 168 get_dir_status (FTS const *fts, FTSENT const *ent, int *dir_status) in get_dir_status() argument 171 *dir_status = directory_status (fts->fts_cwd_fd, ent->fts_accpath); in get_dir_status() 189 prompt (FTS const *fts, FTSENT const *ent, bool is_dir, in prompt() argument 194 char const *full_name = ent->fts_path; in prompt() 195 char const *filename = ent->fts_accpath; in prompt() 206 if (ent->fts_number) in prompt() 256 && get_dir_status (fts, ent, dir_status) != 0))) in prompt() 275 && get_dir_status (fts, ent, dir_status) == DS_NONEMPTY) in prompt() 365 fts_skip_tree (FTS *fts, FTSENT *ent) in fts_skip_tree() argument 367 fts_set (fts, ent, FTS_SKIP); in fts_skip_tree() [all …]
|
D | cp-hash.c | 85 struct Src_to_dest *ent; in forget_created() local 91 ent = hash_remove (src_to_dest, &probe); in forget_created() 92 if (ent) in forget_created() 93 src_to_dest_free (ent); in forget_created() 102 struct Src_to_dest ent; in src_to_dest_lookup() local 104 ent.st_ino = ino; in src_to_dest_lookup() 105 ent.st_dev = dev; in src_to_dest_lookup() 106 e = hash_lookup (src_to_dest, &ent); in src_to_dest_lookup() 117 struct Src_to_dest *ent; in remember_copied() local 120 ent = xmalloc (sizeof *ent); in remember_copied() [all …]
|
D | chcon.c | 208 process_file (FTS *fts, FTSENT *ent) in process_file() argument 210 char const *file_full_name = ent->fts_path; in process_file() 211 char const *file = ent->fts_accpath; in process_file() 212 const struct stat *file_stats = ent->fts_statp; in process_file() 215 switch (ent->fts_info) in process_file() 220 if (ROOT_DEV_INO_CHECK (root_dev_ino, ent->fts_statp)) in process_file() 226 fts_set (fts, ent, FTS_SKIP); in process_file() 248 if (ent->fts_level == 0 && ent->fts_number == 0) in process_file() 250 ent->fts_number = 1; in process_file() 251 fts_set (fts, ent, FTS_AGAIN); in process_file() [all …]
|
D | chmod.c | 203 process_file (FTS *fts, FTSENT *ent) in process_file() argument 205 char const *file_full_name = ent->fts_path; in process_file() 206 char const *file = ent->fts_accpath; in process_file() 207 const struct stat *file_stats = ent->fts_statp; in process_file() 211 switch (ent->fts_info) in process_file() 224 if (ent->fts_level == 0 && ent->fts_number == 0) in process_file() 226 ent->fts_number = 1; in process_file() 227 fts_set (fts, ent, FTS_AGAIN); in process_file() 231 error (0, ent->fts_errno, _("cannot access %s"), in process_file() 237 error (0, ent->fts_errno, "%s", quotef (file_full_name)); in process_file() [all …]
|
D | du.c | 122 struct duinfo ent; member 454 mount_point_in_fts_cycle (FTSENT const *ent) in mount_point_in_fts_cycle() argument 456 FTSENT const *cycle_ent = ent->fts_cycle; in mount_point_in_fts_cycle() 468 while (ent && ent != cycle_ent) in mount_point_in_fts_cycle() 470 if (di_set_lookup (di_mnt, ent->fts_statp->st_dev, in mount_point_in_fts_cycle() 471 ent->fts_statp->st_ino) > 0) in mount_point_in_fts_cycle() 475 ent = ent->fts_parent; in mount_point_in_fts_cycle() 487 process_file (FTS *fts, FTSENT *ent) in process_file() argument 504 char const *file = ent->fts_path; in process_file() 505 const struct stat *sb = ent->fts_statp; in process_file() [all …]
|
D | chown-core.c | 283 change_file_owner (FTS *fts, FTSENT *ent, in change_file_owner() argument 288 char const *file_full_name = ent->fts_path; in change_file_owner() 289 char const *file = ent->fts_accpath; in change_file_owner() 296 switch (ent->fts_info) in change_file_owner() 301 if (ROOT_DEV_INO_CHECK (chopt->root_dev_ino, ent->fts_statp)) in change_file_owner() 307 fts_set (fts, ent, FTS_SKIP); in change_file_owner() 329 if (ent->fts_level == 0 && ent->fts_number == 0) in change_file_owner() 331 ent->fts_number = 1; in change_file_owner() 332 fts_set (fts, ent, FTS_AGAIN); in change_file_owner() 336 error (0, ent->fts_errno, _("cannot access %s"), in change_file_owner() [all …]
|
D | selinux.c | 314 for (FTSENT *ent; (ent = fts_read (fts)); ) in restorecon() local
|
D | ls.c | 1422 struct dev_ino *ent; in visit_dir() local 1426 ent = xmalloc (sizeof *ent); in visit_dir() 1427 ent->st_ino = ino; in visit_dir() 1428 ent->st_dev = dev; in visit_dir() 1431 ent_from_table = hash_insert (active_dir_set, ent); in visit_dir() 1439 found_match = (ent_from_table != ent); in visit_dir() 1444 free (ent); in visit_dir()
|
/coreutils/gl/lib/ |
D | xfts.c | 55 cycle_warning_required (FTS const *fts, FTSENT const *ent) in cycle_warning_required() argument 63 && ent->fts_level != FTS_ROOTLEVEL)); in cycle_warning_required()
|
D | xfts.h | 10 cycle_warning_required (FTS const *fts, FTSENT const *ent)
|
D | randperm.c | 91 struct sparse_ent_ const *ent = x; in sparse_hash_() local 92 return ent->index % table_size; in sparse_hash_()
|