Home
last modified time | relevance | path

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

12

/external/linux-kselftest/tools/testing/selftests/x86/
D5lvl.c92 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
99 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
106 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
113 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
120 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,
126 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
133 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
139 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
147 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,
/external/linux-kselftest/tools/testing/selftests/vm/
Dva_128TBswitch.c179 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
186 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
193 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
200 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
207 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,
213 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
220 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
226 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
234 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,
Dmap_hugetlb.c22 #ifndef MAP_HUGETLB
23 #define MAP_HUGETLB 0x40000 /* arch specific */ macro
29 #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB | MAP_FIXED)
32 #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB)
Dthuge-gen.c34 #if !defined(MAP_HUGETLB)
35 #define MAP_HUGETLB 0x40000 macro
150 MAP_PRIVATE|MAP_ANONYMOUS|MAP_HUGETLB|flags, -1, 0); in test_mmap()
239 test_mmap(ps, MAP_HUGETLB | arg); in main()
Dgup_benchmark.c73 flags |= MAP_HUGETLB; in main()
Duserfaultfd.c177 MAP_HUGETLB, in hugetlb_allocate_area()
187 MAP_SHARED | MAP_HUGETLB, in hugetlb_allocate_area()
/external/strace/xlat/
Dmmap_flags.h369 #if defined(MAP_HUGETLB) || (defined(HAVE_DECL_MAP_HUGETLB) && HAVE_DECL_MAP_HUGETLB)
371 static_assert((MAP_HUGETLB) == (0x80000), "MAP_HUGETLB != 0x80000");
374 # define MAP_HUGETLB 0x80000
377 #if defined(MAP_HUGETLB) || (defined(HAVE_DECL_MAP_HUGETLB) && HAVE_DECL_MAP_HUGETLB)
379 static_assert((MAP_HUGETLB) == (0x100000), "MAP_HUGETLB != 0x100000");
382 # define MAP_HUGETLB 0x100000
385 #if defined(MAP_HUGETLB) || (defined(HAVE_DECL_MAP_HUGETLB) && HAVE_DECL_MAP_HUGETLB)
387 static_assert((MAP_HUGETLB) == (0x40000), "MAP_HUGETLB != 0x40000");
390 # define MAP_HUGETLB 0x40000
628 XLAT(MAP_HUGETLB),
[all …]
Dmmap_flags.in145 MAP_HUGETLB 0x80000
147 MAP_HUGETLB 0x100000
149 MAP_HUGETLB 0x40000
/external/ltp/include/lapi/
Dmmap.h22 #ifndef MAP_HUGETLB
23 # define MAP_HUGETLB 0x40000 macro
/external/strace/tests-mx32/
Dremap_file_pages.c71 #ifdef MAP_HUGETLB in main()
81 flags = MAP_TYPE | MAP_FIXED | MAP_NORESERVE | MAP_HUGETLB | MAP_HUGE_2MB; in main()
/external/strace/tests-m32/
Dremap_file_pages.c71 #ifdef MAP_HUGETLB in main()
81 flags = MAP_TYPE | MAP_FIXED | MAP_NORESERVE | MAP_HUGETLB | MAP_HUGE_2MB; in main()
/external/strace/tests/
Dremap_file_pages.c71 #ifdef MAP_HUGETLB in main()
81 flags = MAP_TYPE | MAP_FIXED | MAP_NORESERVE | MAP_HUGETLB | MAP_HUGE_2MB; in main()
/external/ltp/testcases/kernel/syscalls/move_pages/
Dmove_pages12.c107 MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB, -1, 0); in do_test()
120 MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB, -1, 0); in do_test()
148 MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB, -1, 0); in alloc_free_huge_on_node()
/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap06.c97 MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB, in do_mmap()
120 MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB | MAP_FIXED, in do_mmap()
/external/kernel-headers/original/uapi/asm-generic/
Dmman.h15 #define MAP_HUGETLB 0x40000 /* create a huge page mapping */ macro
/external/linux-kselftest/tools/testing/selftests/powerpc/mm/
Dhugetlb_vs_thp_test.c19 MAP_HUGETLB | MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_body()
/external/kernel-headers/original/uapi/asm-mips/asm/
Dmman.h52 #define MAP_HUGETLB 0x80000 /* create a huge page mapping */ macro
/external/ltp/testcases/kernel/numa/
Dsupport_numa.c166 MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB, in main()
/external/ltp/testcases/kernel/syscalls/futex/
Dfutex_wake04.c145 MAP_SHARED | MAP_ANONYMOUS | MAP_HUGETLB, -1, 0); in wakeup_thread2()
/external/syzkaller/sys/linux/
Dsys_386.const258 MAP_HUGETLB = 262144
Dsys_amd64.const258 MAP_HUGETLB = 262144
Dsys_arm.const258 MAP_HUGETLB = 262144
Dsys_ppc64le.const258 MAP_HUGETLB = 262144
Dsys_arm64.const258 MAP_HUGETLB = 262144
/external/linux-kselftest/tools/testing/selftests/kvm/lib/
Dkvm_util.c578 | (src_type == VM_MEM_SRC_ANONYMOUS_HUGETLB ? MAP_HUGETLB : 0), in vm_userspace_mem_region_add()

12