Searched refs:dpart (Results 1 – 1 of 1) sorted by relevance
285 struct dirent *dpart; in hud_get_num_disks() local293 while ((dpart = readdir(pdir)) != NULL) { in hud_get_num_disks()295 if (strlen(dpart->d_name) <= 2) in hud_get_num_disks()299 snprintf(p, sizeof(p), "%s/%s/stat", basename, dpart->d_name); in hud_get_num_disks()307 add_object_part(basename, dpart->d_name, DISKSTAT_RD); in hud_get_num_disks()308 add_object_part(basename, dpart->d_name, DISKSTAT_WR); in hud_get_num_disks()