Searched refs:orig_hugepages (Results 1 – 2 of 2) sorted by relevance
94 static long orig_hugepages = -1; variable310 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()
84 long mem_total, hpage_size, orig_hugepages; in setup() local89 orig_hugepages = get_sys_tune("nr_hugepages"); in setup()103 hugepages = orig_hugepages + SIZE / hpage_size; in setup()