Lines Matching refs:dent
100 struct host_dirent64 *dent; in foreach_file() local
111 for (dent = (struct host_dirent64 *)dents; in foreach_file()
112 (char *)dent < dents + dentsize; in foreach_file()
113 dent = (struct host_dirent64 *)((void *)dent + dent->d_reclen)) { in foreach_file()
114 if (!cb(dent, argp)) in foreach_file()
145 hostdisk_one_part(struct host_dirent64 *dent, void *argp) in hostdisk_one_part() argument
152 if (strncmp(dent->d_name, hd_name(hd), strlen(hd_name(hd))) != 0) in hostdisk_one_part()
156 hd_name(hd), dent->d_name); in hostdisk_one_part()
159 hostdisk_add_part(hd, dent->d_name, sz); in hostdisk_one_part()
228 hostdisk_one_disk(struct host_dirent64 *dent, void *argp __unused) in hostdisk_one_disk() argument
236 if (strcmp(dent->d_name, ".") == 0 || in hostdisk_one_disk()
237 strcmp(dent->d_name, "..") == 0) in hostdisk_one_disk()
242 dent->d_name); in hostdisk_one_disk()
245 hostdisk_add_drive(dent->d_name, sz); in hostdisk_one_disk()