Lines Matching refs:ent
167 register FTSENT*ent; in b_chmod() local
268 while (!sh_checksig(context) && (ent = fts_read(fts))) in b_chmod()
269 switch (ent->fts_info) in b_chmod()
282 error(ERROR_system(0), "%s: cannot change symlink mode", ent->fts_path); in b_chmod()
295 mode = strperm(amode, &last, ent->fts_statp->st_mode); in b_chmod()
296 if (show || (*chmodf)(ent->fts_accpath, mode) >= 0) in b_chmod()
298 if (notify == 2 || notify == 1 && (mode&S_IPERM) != (ent->fts_statp->st_mode&S_IPERM)) in b_chmod()
299 … sfprintf(sfstdout, "%s: mode changed to %0.4o (%s)\n", ent->fts_path, mode, fmtmode(mode, 1)+1); in b_chmod()
302 error(ERROR_system(0), "%s: cannot change mode", ent->fts_path); in b_chmod()
306 error(ERROR_warn(0), "%s: directory causes cycle", ent->fts_path); in b_chmod()
310 error(ERROR_system(0), "%s: cannot read directory", ent->fts_path); in b_chmod()
314 error(ERROR_system(0), "%s: cannot search directory", ent->fts_path); in b_chmod()
318 error(ERROR_system(0), "%s: not found", ent->fts_path); in b_chmod()