Searched refs:write_sysfs (Results 1 – 2 of 2) sorted by relevance
/linux-6.3-rc2/tools/testing/selftests/arm64/mte/ |
A D | check_ksm_options.c | 44 static void write_sysfs(char *str, unsigned long val) in write_sysfs() function 60 write_sysfs(PATH_KSM "merge_across_nodes", 1); in mte_ksm_setup() 62 write_sysfs(PATH_KSM "sleep_millisecs", 0); in mte_ksm_setup() 64 write_sysfs(PATH_KSM "run", 1); in mte_ksm_setup() 66 write_sysfs(PATH_KSM "max_page_sharing", ksm_sysfs[3] + TEST_UNIT); in mte_ksm_setup() 68 write_sysfs(PATH_KSM "pages_to_scan", ksm_sysfs[4] + TEST_UNIT); in mte_ksm_setup() 73 write_sysfs(PATH_KSM "merge_across_nodes", ksm_sysfs[0]); in mte_ksm_restore() 74 write_sysfs(PATH_KSM "sleep_millisecs", ksm_sysfs[1]); in mte_ksm_restore() 75 write_sysfs(PATH_KSM "run", ksm_sysfs[2]); in mte_ksm_restore() 76 write_sysfs(PATH_KSM "max_page_sharing", ksm_sysfs[3]); in mte_ksm_restore() [all …]
|
/linux-6.3-rc2/tools/power/x86/x86_energy_perf_policy/ |
A D | x86_energy_perf_policy.c | 748 static unsigned int write_sysfs(const char *path, char *buf, size_t buflen) in write_sysfs() function 881 ret = write_sysfs(path, linebuf, 3); in set_epb()
|
Completed in 5 milliseconds