Home
last modified time | relevance | path

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

/linux-4.1.27/tools/testing/selftests/vm/
Dmap_hugetlb.c21 #ifndef MAP_HUGETLB
22 #define MAP_HUGETLB 0x40000 /* arch specific */ macro
28 #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB | MAP_FIXED)
31 #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB)
Dhugetlbfstest.c79 do_mmap(-1, MAP_ANONYMOUS | MAP_HUGETLB, 1); in main()
81 do_mmap(hugefd, MAP_HUGETLB, 1); in main()
83 do_mmap(-1, MAP_ANONYMOUS | MAP_HUGETLB, 0); in main()
Dthuge-gen.c33 #define MAP_HUGETLB 0x40000 macro
147 MAP_PRIVATE|MAP_ANONYMOUS|MAP_HUGETLB|flags, 0, 0); in test_mmap()
236 test_mmap(ps, MAP_HUGETLB | arg); in main()
/linux-4.1.27/arch/metag/mm/
Dhugetlbpage.c45 if (vma && !(vma->vm_flags & MAP_HUGETLB)) in prepare_hugepage_range()
52 if (!(vma->vm_flags & MAP_HUGETLB) && in prepare_hugepage_range()
170 if (vma->vm_flags & MAP_HUGETLB) { in hugetlb_get_unmapped_area_existing()
/linux-4.1.27/include/uapi/asm-generic/
Dmman.h14 #define MAP_HUGETLB 0x40000 /* create a huge page mapping */ macro
/linux-4.1.27/arch/tile/include/uapi/asm/
Dmman.h31 #define MAP_HUGETLB 0x4000 /* create a huge page mapping */ macro
/linux-4.1.27/arch/powerpc/include/uapi/asm/
Dmman.h29 #define MAP_HUGETLB 0x40000 /* create a huge page mapping */ macro
/linux-4.1.27/arch/sparc/include/uapi/asm/
Dmman.h24 #define MAP_HUGETLB 0x40000 /* create a huge page mapping */ macro
/linux-4.1.27/tools/testing/selftests/powerpc/mm/
Dhugetlb_vs_thp_test.c18 MAP_HUGETLB | MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_body()
/linux-4.1.27/arch/alpha/include/uapi/asm/
Dmman.h32 #define MAP_HUGETLB 0x100000 /* create a huge page mapping */ macro
/linux-4.1.27/arch/mips/include/uapi/asm/
Dmman.h50 #define MAP_HUGETLB 0x80000 /* create a huge page mapping */ macro
/linux-4.1.27/arch/xtensa/include/uapi/asm/
Dmman.h57 #define MAP_HUGETLB 0x80000 /* create a huge page mapping */ macro
/linux-4.1.27/arch/parisc/include/uapi/asm/
Dmman.h26 #define MAP_HUGETLB 0x80000 /* create a huge page mapping */ macro
/linux-4.1.27/Documentation/vm/
Dhugetlbpage.txt307 MAP_HUGETLB. For an example of how to use mmap with MAP_HUGETLB see map_hugetlb
314 filesystem will be required for using mmap calls without MAP_HUGETLB.
/linux-4.1.27/mm/
Dmmap.c1418 if (unlikely(flags & MAP_HUGETLB && !is_file_hugepages(file))) in SYSCALL_DEFINE6()
1420 } else if (flags & MAP_HUGETLB) { in SYSCALL_DEFINE6()
/linux-4.1.27/tools/perf/
Dbuiltin-trace.c387 #ifdef MAP_HUGETLB in syscall_arg__scnprintf_mmap_flags()
/linux-4.1.27/kernel/events/
Dcore.c5881 flags |= MAP_HUGETLB; in perf_event_mmap_event()