Home
last modified time | relevance | path

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

/tools/testing/selftests/vm/
Dva_128TBswitch.c171 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
178 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
185 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
192 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
199 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,
205 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
212 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
218 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
226 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,
Dmap_hugetlb.c23 #ifndef MAP_HUGETLB
24 #define MAP_HUGETLB 0x40000 /* arch specific */ macro
38 #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB | MAP_FIXED)
41 #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.c74 flags |= (MAP_HUGETLB | MAP_ANONYMOUS); in main()
Duserfaultfd.c178 MAP_HUGETLB, in hugetlb_allocate_area()
188 MAP_SHARED | MAP_HUGETLB, in hugetlb_allocate_area()
/tools/arch/mips/include/uapi/asm/
Dmman.h26 #define MAP_HUGETLB 0x80000 macro
/tools/arch/alpha/include/uapi/asm/
Dmman.h25 #define MAP_HUGETLB 0x100000 macro
/tools/arch/parisc/include/uapi/asm/
Dmman.h25 #define MAP_HUGETLB 0x80000 macro
/tools/arch/xtensa/include/uapi/asm/
Dmman.h25 #define MAP_HUGETLB 0x80000 macro
/tools/testing/selftests/powerpc/mm/
Dhugetlb_vs_thp_test.c19 MAP_HUGETLB | MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_body()
/tools/include/uapi/asm-generic/
Dmman-common.h27 #define MAP_HUGETLB 0x040000 /* create a huge page mapping */ macro
/tools/perf/util/
Dmap.c33 return flags & MAP_HUGETLB || in is_anon_memory()
Dsynthetic-events.c389 event->mmap2.flags |= MAP_HUGETLB; in perf_event__synthesize_mmap_events()
/tools/testing/selftests/kvm/lib/
Dkvm_util.c650 | (src_type == VM_MEM_SRC_ANONYMOUS_HUGETLB ? MAP_HUGETLB : 0), in vm_userspace_mem_region_add()
/tools/testing/selftests/x86/
Dprotection_keys.c845 int flags = MAP_ANONYMOUS|MAP_PRIVATE|MAP_HUGETLB; in malloc_pkey_hugetlb()