Home
last modified time | relevance | path

Searched refs:hugepages (Results 1 – 25 of 25) sorted by relevance

/external/ltp/testcases/kernel/mem/hugetlb/hugeshmget/
Dhugeshmget01.c33 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()
Dhugeshmget05.c36 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()
Dhugeshmget03.c41 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()
Dhugeshmget02.c34 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/
Dhugeshmat03.c53 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()
Dhugeshmat02.c53 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()
Dhugeshmat01.c50 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()
Dhugeshmat05.c43 static long hugepages; variable
53 hugepages = N + 1; in setup()
54 set_sys_tune("nr_hugepages", hugepages, 1); in setup()
Dhugeshmat04.c40 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/
Dhugeshmdt01.c54 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/
Dhugeshmctl02.c46 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()
Dhugeshmctl03.c56 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()
Dhugeshmctl01.c67 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/
Dnuma01.sh331 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/
Dhugemmap01.c53 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()
Dhugemmap04.c59 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()
Dhugemmap02.c63 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()
Dhugemmap06.c42 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/
Dcrosvm.rs204 pub hugepages: bool, field
280 hugepages: false, in default()
Dlinux.rs2295 if components.hugepages { in run_config()
2343 hugepages: cfg.hugepages, in setup_vm_components()
Dmain.rs870 cfg.hugepages = true; in set_argument()
/external/crosvm/arch/src/
Dlib.rs82 pub hugepages: bool, field
/external/crosvm/src/plugin/
Dmod.rs695 if cfg.hugepages { in run_config()
/external/ImageMagick/
Dconfigure.ac708 # Enable hugepages support
709 AC_ARG_ENABLE([hugepages], optenable
710 [AC_HELP_STRING([--enable-hugepages],
Dconfigure1967 --enable-hugepages enable 'huge pages' support