Home
last modified time | relevance | path

Searched refs:hpage_size (Results 1 – 15 of 15) sorted by relevance

/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmat/
Dhugeshmat05.c32 static long hpage_size; variable
42 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
77 N * hpage_size - page_size, in test_hugeshmat()
78 N * hpage_size - page_size - 1, in test_hugeshmat()
79 hpage_size, in test_hugeshmat()
80 hpage_size + 1 in test_hugeshmat()
Dhugeshmat03.c70 long hpage_size; in setup() local
75 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
77 shm_size = hpage_size * tst_hugepages / 2; in setup()
Dhugeshmat02.c75 long hpage_size; in setup() local
80 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
82 shm_size = hpage_size * tst_hugepages / 2; in setup()
Dhugeshmat01.c150 long hpage_size; in setup() local
155 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
157 shm_size = hpage_size * tst_hugepages / 2; in setup()
Dhugeshmat04.c84 long mem_total, hpage_size, orig_hugepages; in setup() local
101 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
103 hugepages = orig_hugepages + SIZE / hpage_size; in setup()
/third_party/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap06.c30 static long hpage_size; variable
44 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
58 *(mmap_sz->addr + b * hpage_size) = rand(); in thr()
71 addr = mmap(NULL, sz * hpage_size, in do_mmap()
94 new_addr = mmap(addr, (sz - 1) * hpage_size, in do_mmap()
112 if (munmap(addr, sz * hpage_size) == -1) in do_mmap()
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmget/
Dhugeshmget01.c50 long hpage_size; in setup() local
55 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
57 shm_size = hpage_size * tst_hugepages / 2; in setup()
Dhugeshmget05.c62 long hpage_size; in setup() local
67 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
69 shm_size = hpage_size * tst_hugepages / 2; in setup()
Dhugeshmget03.c47 long hpage_size; in setup() local
55 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
56 shm_size = hpage_size; in setup()
Dhugeshmget02.c68 long hpage_size; in setup() local
73 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
75 shm_size = hpage_size * tst_hugepages / 2; in setup()
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmdt/
Dhugeshmdt01.c115 long hpage_size; in setup() local
120 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
122 shm_size = hpage_size * tst_hugepages / 2; in setup()
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/
Dhugeshmctl02.c73 long hpage_size; in setup() local
78 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
80 shm_size = hpage_size * (tst_hugepages / 2); in setup()
Dhugeshmctl03.c102 long hpage_size; in setup() local
107 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
109 shm_size = hpage_size * tst_hugepages / 2; in setup()
Dhugeshmctl01.c284 long hpage_size; in setup() local
289 hpage_size = SAFE_READ_MEMINFO("Hugepagesize:") * 1024; in setup()
291 shm_size = hpage_size * tst_hugepages / 2; in setup()
/third_party/ltp/testcases/kernel/mce-test/tsrc/
Drun-huge-test.sh24 hpage_size=$1
67 …command="./thugetlb -x -m $hpage_size -o $hpage_target $process_type $file_type $share_type $htdir…