/external/ltp/testcases/kernel/mem/hugetlb/lib/ |
hugetlb.h | 58 long orig_hugepages; variable
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/ |
hugeshmat02.c | 132 orig_hugepages = get_sys_tune("nr_hugepages"); 154 set_sys_tune("nr_hugepages", orig_hugepages, 0);
|
hugeshmat03.c | 138 orig_hugepages = get_sys_tune("nr_hugepages"); 159 set_sys_tune("nr_hugepages", orig_hugepages, 0);
|
hugeshmat05.c | 68 orig_hugepages = get_sys_tune("nr_hugepages"); 80 set_sys_tune("nr_hugepages", orig_hugepages, 0);
|
hugeshmat04.c | 142 orig_hugepages = get_sys_tune("nr_hugepages"); 145 hugepages = (orig_hugepages * hpage_size + SIZE) / hpage_size; 153 set_sys_tune("nr_hugepages", orig_hugepages, 0);
|
hugeshmat01.c | 216 orig_hugepages = get_sys_tune("nr_hugepages"); 235 set_sys_tune("nr_hugepages", orig_hugepages, 0);
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmget/ |
hugeshmget01.c | 150 orig_hugepages = get_sys_tune("nr_hugepages"); 165 set_sys_tune("nr_hugepages", orig_hugepages, 0);
|
hugeshmget02.c | 145 orig_hugepages = get_sys_tune("nr_hugepages"); 165 set_sys_tune("nr_hugepages", orig_hugepages, 0);
|
hugeshmget03.c | 120 orig_hugepages = get_sys_tune("nr_hugepages"); 160 set_sys_tune("nr_hugepages", orig_hugepages, 0);
|
hugeshmget05.c | 142 orig_hugepages = get_sys_tune("nr_hugepages"); 164 set_sys_tune("nr_hugepages", orig_hugepages, 0);
|
/external/ltp/testcases/kernel/syscalls/futex/ |
futex_wake04.c | 62 static long orig_hugepages; variable 78 SAFE_FILE_SCANF(NULL, PATH_NR_HUGEPAGES, "%ld", &orig_hugepages); 86 SAFE_FILE_PRINTF(NULL, PATH_NR_HUGEPAGES, "%ld", orig_hugepages);
|
/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/ |
hugemmap01.c | 165 orig_hugepages = get_sys_tune("nr_hugepages"); 173 set_sys_tune("nr_hugepages", orig_hugepages, 0);
|
hugemmap04.c | 180 orig_hugepages = get_sys_tune("nr_hugepages"); 188 set_sys_tune("nr_hugepages", orig_hugepages, 0);
|
hugemmap06.c | 77 orig_hugepages = get_sys_tune("nr_hugepages"); 91 set_sys_tune("nr_hugepages", orig_hugepages, 0);
|
hugemmap02.c | 201 orig_hugepages = get_sys_tune("nr_hugepages"); 209 set_sys_tune("nr_hugepages", orig_hugepages, 0);
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/ |
hugeshmctl02.c | 138 orig_hugepages = get_sys_tune("nr_hugepages"); 165 set_sys_tune("nr_hugepages", orig_hugepages, 0);
|
hugeshmctl03.c | 164 orig_hugepages = get_sys_tune("nr_hugepages"); 186 set_sys_tune("nr_hugepages", orig_hugepages, 0);
|
hugeshmctl01.c | 400 orig_hugepages = get_sys_tune("nr_hugepages"); 415 set_sys_tune("nr_hugepages", orig_hugepages, 0);
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmdt/ |
hugeshmdt01.c | 172 orig_hugepages = get_sys_tune("nr_hugepages"); 201 set_sys_tune("nr_hugepages", orig_hugepages, 0);
|
/external/ltp/testcases/kernel/syscalls/move_pages/ |
move_pages12.c | 56 static long orig_hugepages = -1; variable 228 SAFE_FILE_SCANF(PATH_NR_HUGEPAGES, "%ld", &orig_hugepages); 230 orig_hugepages + 8); 231 SAFE_FILE_PRINTF(PATH_NR_HUGEPAGES, "%ld", orig_hugepages + 8); 240 if (orig_hugepages != -1) 241 SAFE_FILE_PRINTF(PATH_NR_HUGEPAGES, "%ld", orig_hugepages);
|