Lines Matching refs:ent
82 struct dirent* ent; in resolve_ce_path_by_inode_or_fallback() local
83 while ((ent = readdir(dir))) { in resolve_ce_path_by_inode_or_fallback()
84 if (ent->d_ino == ce_data_inode) { in resolve_ce_path_by_inode_or_fallback()
85 auto resolved = StringPrintf("%s/%s", root_path.c_str(), ent->d_name); in resolve_ce_path_by_inode_or_fallback()
361 struct dirent* ent; in get_known_users() local
362 while ((ent = readdir(dir))) { in get_known_users()
363 if (ent->d_type != DT_DIR) { in get_known_users()
368 userid_t user = strtol(ent->d_name, &end, 10); in get_known_users()
798 struct dirent* ent; in read_path_inode() local
799 while ((ent = readdir(dir))) { in read_path_inode()
800 if (ent->d_ino == inode) { in read_path_inode()
801 auto resolved = StringPrintf("%s/%s", parent.c_str(), ent->d_name); in read_path_inode()