Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/arm64/mte/
A Dcheck_ksm_options.c26 static unsigned long read_sysfs(char *str) in read_sysfs() function
59 ksm_sysfs[0] = read_sysfs(PATH_KSM "merge_across_nodes"); in mte_ksm_setup()
61 ksm_sysfs[1] = read_sysfs(PATH_KSM "sleep_millisecs"); in mte_ksm_setup()
63 ksm_sysfs[2] = read_sysfs(PATH_KSM "run"); in mte_ksm_setup()
65 ksm_sysfs[3] = read_sysfs(PATH_KSM "max_page_sharing"); in mte_ksm_setup()
67 ksm_sysfs[4] = read_sysfs(PATH_KSM "pages_to_scan"); in mte_ksm_setup()
82 int cur_count = read_sysfs(PATH_KSM "full_scans"); in mte_ksm_scan()
88 cur_count = read_sysfs(PATH_KSM "full_scans"); in mte_ksm_scan()
93 read_sysfs(PATH_KSM "pages_shared"), in mte_ksm_scan()
94 read_sysfs(PATH_KSM "pages_sharing")); in mte_ksm_scan()
[all …]
/linux-6.3-rc2/tools/testing/selftests/mm/
A Dthuge-gen.c108 unsigned long read_sysfs(int warn, char *fmt, ...) in read_sysfs() function
137 return read_sysfs(ps != getpagesize(), in read_free()
212 if (read_sysfs(0, "/proc/sys/kernel/shmmax") < NUM_PAGES * largest) { in sanity_checks()
/linux-6.3-rc2/tools/power/x86/x86_energy_perf_policy/
A Dx86_energy_perf_policy.c727 static unsigned int read_sysfs(const char *path, char *buf, size_t buflen) in read_sysfs() function
858 if (!read_sysfs(path, linebuf, 3)) in get_epb()

Completed in 8 milliseconds