/external/ltp/testcases/kernel/mem/hugetlb/hugeshmget/ |
D | hugeshmget01.c | 33 static long hugepages = 128; variable 72 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup() 74 limit_hugepages(&hugepages); in setup() 75 set_sys_tune("nr_hugepages", hugepages, 1); in setup() 78 shm_size = hpage_size * hugepages / 2; in setup()
|
D | hugeshmget05.c | 36 static long hugepages = 128; variable 83 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup() 85 limit_hugepages(&hugepages); in setup() 86 set_sys_tune("nr_hugepages", hugepages, 1); in setup() 89 shm_size = hpage_size * hugepages / 2; in setup()
|
D | hugeshmget03.c | 41 static long hugepages = 128; variable 69 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup() 73 limit_hugepages(&hugepages); in setup() 74 set_sys_tune("nr_hugepages", hugepages, 1); in setup() 75 SAFE_FILE_PRINTF(PATH_SHMMNI, "%ld", hugepages / 2); in setup()
|
D | hugeshmget02.c | 34 static long hugepages = 128; variable 90 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup() 92 limit_hugepages(&hugepages); in setup() 93 set_sys_tune("nr_hugepages", hugepages, 1); in setup() 96 shm_size = hpage_size * hugepages / 2; in setup()
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/ |
D | hugeshmat03.c | 53 static long hugepages = 128; variable 92 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup() 94 limit_hugepages(&hugepages); in setup() 95 set_sys_tune("nr_hugepages", hugepages, 1); in setup() 98 shm_size = hpage_size * hugepages / 2; in setup()
|
D | hugeshmat02.c | 53 static long hugepages = 128; variable 97 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup() 99 limit_hugepages(&hugepages); in setup() 100 set_sys_tune("nr_hugepages", hugepages, 1); in setup() 103 shm_size = hpage_size * hugepages / 2; in setup()
|
D | hugeshmat01.c | 50 static long hugepages = 128; variable 172 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup() 174 limit_hugepages(&hugepages); in setup() 175 set_sys_tune("nr_hugepages", hugepages, 1); in setup() 178 shm_size = hpage_size * hugepages / 2; in setup()
|
D | hugeshmat05.c | 43 static long hugepages; variable 53 hugepages = N + 1; in setup() 54 set_sys_tune("nr_hugepages", hugepages, 1); in setup()
|
D | hugeshmat04.c | 40 static long hugepages; variable 102 hugepages = orig_hugepages + SIZE / hpage_size; in setup() 103 set_sys_tune("nr_hugepages", hugepages, 1); in setup()
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmdt/ |
D | hugeshmdt01.c | 54 static long hugepages = 128; variable 137 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup() 139 limit_hugepages(&hugepages); in setup() 140 set_sys_tune("nr_hugepages", hugepages, 1); in setup() 143 shm_size = hpage_size * hugepages / 2; in setup()
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/ |
D | hugeshmctl02.c | 46 static long hugepages = 128; variable 97 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup() 99 limit_hugepages(&hugepages); in setup() 100 set_sys_tune("nr_hugepages", hugepages, 1); in setup() 103 shm_size = hpage_size * (hugepages / 2); in setup()
|
D | hugeshmctl03.c | 56 static long hugepages = 128; variable 122 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup() 124 limit_hugepages(&hugepages); in setup() 125 set_sys_tune("nr_hugepages", hugepages, 1); in setup() 128 shm_size = hpage_size * hugepages / 2; in setup()
|
D | hugeshmctl01.c | 67 static long hugepages = 128; variable 316 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup() 318 limit_hugepages(&hugepages); in setup() 319 set_sys_tune("nr_hugepages", hugepages, 1); in setup() 322 shm_size = hpage_size * hugepages / 2; in setup()
|
/external/ltp/testcases/kernel/numa/ |
D | numa01.sh | 331 Ori_hpgs=$(cat ${Sys_node}/node${node}/hugepages/hugepages-${HPAGE_SIZE}kB/nr_hugepages) 333 echo $New_hpgs >${Sys_node}/node${node}/hugepages/hugepages-${HPAGE_SIZE}kB/nr_hugepages 335 Chk_hpgs=$(cat ${Sys_node}/node${node}/hugepages/hugepages-${HPAGE_SIZE}kB/nr_hugepages) 352 echo $Ori_hpgs >${Sys_node}/node${node}/hugepages/hugepages-${HPAGE_SIZE}kB/nr_hugepages 357 echo $Ori_hpgs >${Sys_node}/node${node}/hugepages/hugepages-${HPAGE_SIZE}kB/nr_hugepages
|
/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/ |
D | hugemmap01.c | 53 static long hugepages = 128; variable 99 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup() 101 limit_hugepages(&hugepages); in setup() 102 set_sys_tune("nr_hugepages", hugepages, 1); in setup()
|
D | hugemmap04.c | 59 static long hugepages = 128; variable 117 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup() 119 limit_hugepages(&hugepages); in setup() 120 set_sys_tune("nr_hugepages", hugepages, 1); in setup()
|
D | hugemmap02.c | 63 static long hugepages = 128; variable 146 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup() 148 limit_hugepages(&hugepages); in setup() 149 set_sys_tune("nr_hugepages", hugepages, 1); in setup()
|
D | hugemmap06.c | 42 static long hugepages; variable 58 hugepages = (ARSZ + 1) * LOOP; in setup() 60 if (hugepages * SAFE_READ_MEMINFO("Hugepagesize:") > SAFE_READ_MEMINFO("MemTotal:")) in setup() 63 set_sys_tune("nr_hugepages", hugepages, 1); in setup()
|
/external/crosvm/src/ |
D | crosvm.rs | 204 pub hugepages: bool, field 280 hugepages: false, in default()
|
D | linux.rs | 2295 if components.hugepages { in run_config() 2343 hugepages: cfg.hugepages, in setup_vm_components()
|
D | main.rs | 870 cfg.hugepages = true; in set_argument()
|
/external/crosvm/arch/src/ |
D | lib.rs | 82 pub hugepages: bool, field
|
/external/crosvm/src/plugin/ |
D | mod.rs | 695 if cfg.hugepages { in run_config()
|
/external/ImageMagick/ |
D | configure.ac | 708 # Enable hugepages support 709 AC_ARG_ENABLE([hugepages], optenable 710 [AC_HELP_STRING([--enable-hugepages],
|
D | configure | 1967 --enable-hugepages enable 'huge pages' support
|