/external/ltp/testcases/kernel/numa/ |
D | numa01.sh | 418 Ori_hpgs=$(cat ${Sys_node}/node${node}/hugepages/hugepages-${HPAGE_SIZE}kB/nr_hugepages) 420 echo $New_hpgs >${Sys_node}/node${node}/hugepages/hugepages-${HPAGE_SIZE}kB/nr_hugepages 422 Chk_hpgs=$(cat ${Sys_node}/node${node}/hugepages/hugepages-${HPAGE_SIZE}kB/nr_hugepages) 439 echo $Ori_hpgs >${Sys_node}/node${node}/hugepages/hugepages-${HPAGE_SIZE}kB/nr_hugepages 444 echo $Ori_hpgs >${Sys_node}/node${node}/hugepages/hugepages-${HPAGE_SIZE}kB/nr_hugepages
|
/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 set_sys_tune("nr_hugepages", hugepages, 1); in setup() 77 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 set_sys_tune("nr_hugepages", hugepages, 1); in setup() 88 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 set_sys_tune("nr_hugepages", hugepages, 1); in setup() 74 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 set_sys_tune("nr_hugepages", hugepages, 1); in setup() 95 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 set_sys_tune("nr_hugepages", hugepages, 1); in setup() 97 shm_size = hpage_size * hugepages / 2; in setup()
|
D | hugeshmat02.c | 52 static long hugepages = 128; variable 96 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup() 98 set_sys_tune("nr_hugepages", hugepages, 1); in setup() 101 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 set_sys_tune("nr_hugepages", hugepages, 1); in setup() 177 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 * hpage_size + 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 set_sys_tune("nr_hugepages", hugepages, 1); in setup() 142 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 set_sys_tune("nr_hugepages", hugepages, 1); in setup() 102 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 set_sys_tune("nr_hugepages", hugepages, 1); in setup() 127 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 set_sys_tune("nr_hugepages", hugepages, 1); in setup() 321 shm_size = hpage_size * hugepages / 2; in setup()
|
/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/ |
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()
|
D | hugemmap01.c | 53 static long hugepages = 128; variable 99 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup() 100 set_sys_tune("nr_hugepages", hugepages, 1); in setup()
|
D | hugemmap04.c | 58 static long hugepages = 128; variable 116 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup() 117 set_sys_tune("nr_hugepages", hugepages, 1); in setup()
|
D | hugemmap02.c | 62 static long hugepages = 128; variable 145 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup() 146 set_sys_tune("nr_hugepages", hugepages, 1); in setup()
|
/external/u-boot/configs/ |
D | ls2080a_simu_defconfig | 12 …n=uart8250,mmio,0x21c0500 ramdisk_size=0x2000000 default_hugepagesz=2m hugepagesz=2m hugepages=256"
|
D | ls2080a_emu_defconfig | 12 …n=uart8250,mmio,0x21c0500 ramdisk_size=0x2000000 default_hugepagesz=2m hugepagesz=2m hugepages=256"
|
D | ls1088aqds_defconfig | 12 …n=uart8250,mmio,0x21c0500 ramdisk_size=0x3000000 default_hugepagesz=2m hugepagesz=2m hugepages=256"
|
D | ls2080ardb_defconfig | 12 …n=uart8250,mmio,0x21c0600 ramdisk_size=0x2000000 default_hugepagesz=2m hugepagesz=2m hugepages=256"
|
D | ls2081ardb_defconfig | 14 …n=uart8250,mmio,0x21c0600 ramdisk_size=0x2000000 default_hugepagesz=2m hugepagesz=2m hugepages=256"
|
D | ls2088ardb_qspi_defconfig | 14 …n=uart8250,mmio,0x21c0600 ramdisk_size=0x2000000 default_hugepagesz=2m hugepagesz=2m hugepages=256"
|
/external/u-boot/board/freescale/ls2080a/ |
D | README | 26 hugepages=16 mem=2048M'
|