Home
last modified time | relevance | path

Searched refs:MAP_HUGETLB (Results 1 – 25 of 26) 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,
Dprotection_keys.c866 int flags = MAP_ANONYMOUS|MAP_PRIVATE|MAP_HUGETLB; in malloc_pkey_hugetlb()
/external/linux-kselftest/tools/testing/selftests/vm/
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()
Duserfaultfd.c163 MAP_HUGETLB, in hugetlb_allocate_area()
173 MAP_SHARED | MAP_HUGETLB, in hugetlb_allocate_area()
/external/valgrind/none/tests/
Dmap_unmap.c28 #ifndef MAP_HUGETLB
30 #define MAP_HUGETLB 0x40000 macro
121 expect3 = domap(HUGESZ, MAP_HUGETLB); in main()
/external/ltp/include/lapi/
Dmmap.h22 #ifndef MAP_HUGETLB
23 # define MAP_HUGETLB 0x40000 macro
/external/strace/tests-m32/
Dremap_file_pages.c70 #ifdef MAP_HUGETLB in main()
80 flags = MAP_TYPE | MAP_FIXED | MAP_NORESERVE | MAP_HUGETLB | MAP_HUGE_2MB; in main()
/external/strace/tests/
Dremap_file_pages.c70 #ifdef MAP_HUGETLB in main()
80 flags = MAP_TYPE | MAP_FIXED | MAP_NORESERVE | MAP_HUGETLB | MAP_HUGE_2MB; in main()
/external/strace/tests-mx32/
Dremap_file_pages.c70 #ifdef MAP_HUGETLB in main()
80 flags = MAP_TYPE | MAP_FIXED | MAP_NORESERVE | MAP_HUGETLB | MAP_HUGE_2MB; in main()
/external/ltp/testcases/kernel/syscalls/move_pages/
Dmove_pages12.c106 MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB, -1, 0); in do_test()
119 MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB, -1, 0); in do_test()
146 MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB, -1, 0); in alloc_free_huge_on_node()
/external/strace/xlat/
Dmmap_flags.h105 #if defined(MAP_HUGETLB) || (defined(HAVE_DECL_MAP_HUGETLB) && HAVE_DECL_MAP_HUGETLB)
106 XLAT(MAP_HUGETLB),
Dmmap_flags.in51 MAP_HUGETLB
/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/fio/os/
Dos-android.h56 #ifndef MAP_HUGETLB
57 #define MAP_HUGETLB 0x40000 /* arch specific */ macro
Dos.h132 #define MAP_HUGETLB 0 macro
143 #define MAP_HUGETLB 0 macro
Dos-linux.h48 #ifdef MAP_HUGETLB
/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/syscalls/futex/
Dfutex_wake04.c142 MAP_SHARED | MAP_ANONYMOUS | MAP_HUGETLB, -1, 0); in wakeup_thread2()
/external/ltp/testcases/kernel/numa/
Dsupport_numa.c166 MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB, in main()
/external/fio/
Dmemory.c136 flags |= MAP_HUGETLB; in alloc_mem_mmap()
/external/ImageMagick/MagickCore/
Dblob.c2221 #if !defined(MAGICKCORE_HAVE_HUGEPAGES) || !defined(MAP_HUGETLB) in MapBlob()
2224 map=mmap((char *) NULL,length,protection,flags | MAP_HUGETLB,file,(off_t) in MapBlob()
/external/valgrind/
DNEWS880 348269 Improve mmap MAP_HUGETLB support.

12