Searched refs:sysfs__read_str (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/tools/lib/api/fs/ |
D | fs.h | 58 int sysfs__read_str(const char *entry, char **buf, size_t *sizep);
|
D | fs.c | 463 int sysfs__read_str(const char *entry, char **buf, size_t *sizep) in sysfs__read_str() function 482 ret = sysfs__read_str(entry, &buf, &size); in sysfs__read_bool()
|
/linux-6.6.21/tools/perf/arch/x86/util/ |
D | iostat.c | 157 if (sysfs__read_str(path, &buf, &size) < 0) { in iio_mapping()
|
/linux-6.6.21/tools/perf/util/ |
D | header.c | 1032 if (sysfs__read_str(buf, &str, &strlen) < 0) in is_cpu_online() 1181 if (sysfs__read_str(file, &cache->type, &len)) in cpu_cache_level__read() 1188 if (sysfs__read_str(file, &cache->size, &len)) { in cpu_cache_level__read() 1197 if (sysfs__read_str(file, &cache->map, &len)) { in cpu_cache_level__read()
|