Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/move_pages/
Dmove_pages12.c94 static long orig_hugepages = -1; variable
310 SAFE_FILE_SCANF(PATH_NR_HUGEPAGES, "%ld", &orig_hugepages); in setup()
312 orig_hugepages + 8); in setup()
313 SAFE_FILE_PRINTF(PATH_NR_HUGEPAGES, "%ld", orig_hugepages + 8); in setup()
322 if (orig_hugepages != -1) in cleanup()
323 SAFE_FILE_PRINTF(PATH_NR_HUGEPAGES, "%ld", orig_hugepages); in cleanup()
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmat/
Dhugeshmat04.c84 long mem_total, hpage_size, orig_hugepages; in setup() local
89 orig_hugepages = get_sys_tune("nr_hugepages"); in setup()
103 hugepages = orig_hugepages + SIZE / hpage_size; in setup()