Home
last modified time | relevance | path

Searched refs:zone_dir (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/tools/power/cpupower/lib/
Dpowercap.c191 DIR *zone_dir; in powercap_read_zone() local
201 zone_dir = opendir(sysfs_dir); in powercap_read_zone()
202 if (zone_dir == NULL) in powercap_read_zone()
218 while ((dent = readdir(zone_dir)) != NULL) { in powercap_read_zone()
225 if (fstatat(dirfd(zone_dir), dent->d_name, &st, 0) < 0) in powercap_read_zone()
258 closedir(zone_dir); in powercap_read_zone()