Searched refs:sysfs__read_int (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/tools/lib/api/ |
D | cpu.c | 12 if (sysfs__read_int("devices/system/cpu/online", &cpu) < 0) in cpu__get_max_freq()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | cacheline.c | 12 if (sysfs__read_int("devices/system/cpu/cpu0/cache/index0/coherency_line_size", cacheline_sizep)) in cache_line_size()
|
D | smt.c | 18 if (sysfs__read_int("devices/system/cpu/smt/active", &cached_result) >= 0) in smt_on()
|
D | cpumap.c | 105 return sysfs__read_int(path, value); in cpu__get_topology_int()
|
D | header.c | 1078 if (sysfs__read_int(file, (int *) &cache->level)) in cpu_cache_level__read() 1082 if (sysfs__read_int(file, (int *) &cache->line_size)) in cpu_cache_level__read() 1086 if (sysfs__read_int(file, (int *) &cache->sets)) in cpu_cache_level__read() 1090 if (sysfs__read_int(file, (int *) &cache->ways)) in cpu_cache_level__read()
|
D | pmu.c | 814 sysfs__read_int(path, &max_precise); in pmu_max_precise()
|
D | evsel.c | 2612 if (!sysfs__read_int("fs/selinux/enforce", &enforced)) { in evsel__open_strerror()
|
/kernel/linux/linux-5.10/tools/perf/arch/powerpc/util/ |
D | header.c | 49 return sysfs__read_int(path, &count) < 0 ? 1 : count; in arch_get_runtimeparam()
|
/kernel/linux/linux-5.10/tools/lib/api/fs/ |
D | fs.h | 55 int sysfs__read_int(const char *entry, int *value);
|
D | fs.c | 478 int sysfs__read_int(const char *entry, int *value) in sysfs__read_int() function
|
/kernel/linux/linux-5.10/tools/perf/ |
D | builtin-stat.c | 1666 if (sysfs__read_int(FREEZE_ON_SMI_PATH, &smi) < 0) { in add_default_attributes()
|