Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/mm/
H A Dksm_functional_tests.c33 static int proc_self_ksm_stat_fd; variable
74 if (!proc_self_ksm_stat_fd) in get_my_ksm_zero_pages()
77 read_size = pread(proc_self_ksm_stat_fd, buf, sizeof(buf) - 1, 0); in get_my_ksm_zero_pages()
252 if (proc_self_ksm_stat_fd < 0) { in test_unmerge_zero_pages()
563 proc_self_ksm_stat_fd = open("/proc/self/ksm_stat", O_RDONLY); in main()