Searched refs:TOTAL_HP_PATH (Results 1 – 1 of 1) sorted by relevance
45 #define TOTAL_HP_PATH "/proc/sys/vm/nr_hugepages" macro210 access(TOTAL_HP_PATH, F_OK)) in setup()217 SAFE_FILE_LINES_SCANF(TOTAL_HP_PATH, "%ld", &og_total_pages); in setup()220 fd = open(TOTAL_HP_PATH, O_RDWR | O_TRUNC); in setup()228 SAFE_FILE_LINES_SCANF(TOTAL_HP_PATH, "%ld", &total_pages); in setup()246 fd = open(TOTAL_HP_PATH, O_RDWR | O_TRUNC); in cleanup()253 SAFE_FILE_LINES_SCANF(TOTAL_HP_PATH, "%ld", &total_pages); in cleanup()