Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap05.c71 static int checksys(char *path, char *pattern, long exp_val);
89 if (checksys(path_sys_sz_huge, "HugePages_Total", length / 2)) in test_overcommit()
91 if (checksys(path_sys_sz_free, "HugePages_Free", length / 2)) in test_overcommit()
93 if (checksys(path_sys_sz_surp, "HugePages_Surp", in test_overcommit()
96 if (checksys(path_sys_sz_resv, "HugePages_Rsvd", length / 2)) in test_overcommit()
124 if (checksys(path_sys_sz_huge, "HugePages_Total", length / 2)) in test_overcommit()
126 if (checksys(path_sys_sz_free, "HugePages_Free", 0)) in test_overcommit()
128 if (checksys(path_sys_sz_surp, "HugePages_Surp", in test_overcommit()
131 if (checksys(path_sys_sz_resv, "HugePages_Rsvd", 0)) in test_overcommit()
262 static int checksys(char *path, char *string, long exp_val) in checksys() function