Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/arm64/mte/
H A Dcheck_ksm_options.c41 static unsigned long read_sysfs(char *str) in read_sysfs()
75 ksm_sysfs[0] = read_sysfs(PATH_KSM "merge_across_nodes"); in mte_ksm_restore()
78 ksm_sysfs[1] = read_sysfs(PATH_KSM "sleep_millisecs"); in mte_ksm_restore()
80 ksm_sysfs[2] = read_sysfs(PATH_KSM "run"); in mte_ksm_scan()
82 ksm_sysfs[3] = read_sysfs(PATH_KSM "max_page_sharing"); in mte_ksm_scan()
84 ksm_sysfs[4] = read_sysfs(PATH_KSM "pages_to_scan"); in mte_ksm_scan()
100 int cur_count = read_sysfs(PATH_KSM "full_scans"); in check_madvise_options()
106 cur_count = read_sysfs(PATH_KSM "full_scans"); in check_madvise_options()
111 read_sysfs(PATH_KSM "pages_shared"), in check_madvise_options()
112 read_sysfs(PATH_KS in check_madvise_options()
26 static unsigned long read_sysfs(char *str) read_sysfs() function
[all...]
/linux/tools/testing/selftests/mm/
H A Dthuge-gen.c
H A Dvm_util.h114 int read_sysfs(const char *file_path, unsigned long *val);
H A Dvm_util.c674 int read_sysfs(const char *file_path, unsigned long *val) in ksm_use_zero_pages()
554 int read_sysfs(const char *file_path, unsigned long *val) read_sysfs() function
H A Dksm_tests.c67 return read_sysfs(file_path, val); in ksm_read_sysfs()
H A Dmerge.c540 if (read_sysfs("/sys/bus/event_source/devices/uprobe/type", &type) != 0) { in TEST_F()
/linux/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c112 static unsigned int read_sysfs(const char *, char *, size_t);
849 static unsigned int read_sysfs(const char *path, char *buf, size_t buflen) in read_sysfs() function
897 len = read_sysfs(path, buf, buflen); in sysfs_read_string()
1004 if (!read_sysfs(path, linebuf, 3)) in get_epb_sysfs()