Searched refs:MAP_HUGETLB (Results 1 – 17 of 17) sorted by relevance
/linux-4.1.27/tools/testing/selftests/vm/ |
D | map_hugetlb.c | 21 #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)
|
D | hugetlbfstest.c | 79 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()
|
D | thuge-gen.c | 33 #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/ |
D | hugetlbpage.c | 45 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/ |
D | mman.h | 14 #define MAP_HUGETLB 0x40000 /* create a huge page mapping */ macro
|
/linux-4.1.27/arch/tile/include/uapi/asm/ |
D | mman.h | 31 #define MAP_HUGETLB 0x4000 /* create a huge page mapping */ macro
|
/linux-4.1.27/arch/powerpc/include/uapi/asm/ |
D | mman.h | 29 #define MAP_HUGETLB 0x40000 /* create a huge page mapping */ macro
|
/linux-4.1.27/arch/sparc/include/uapi/asm/ |
D | mman.h | 24 #define MAP_HUGETLB 0x40000 /* create a huge page mapping */ macro
|
/linux-4.1.27/tools/testing/selftests/powerpc/mm/ |
D | hugetlb_vs_thp_test.c | 18 MAP_HUGETLB | MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_body()
|
/linux-4.1.27/arch/alpha/include/uapi/asm/ |
D | mman.h | 32 #define MAP_HUGETLB 0x100000 /* create a huge page mapping */ macro
|
/linux-4.1.27/arch/mips/include/uapi/asm/ |
D | mman.h | 50 #define MAP_HUGETLB 0x80000 /* create a huge page mapping */ macro
|
/linux-4.1.27/arch/xtensa/include/uapi/asm/ |
D | mman.h | 57 #define MAP_HUGETLB 0x80000 /* create a huge page mapping */ macro
|
/linux-4.1.27/arch/parisc/include/uapi/asm/ |
D | mman.h | 26 #define MAP_HUGETLB 0x80000 /* create a huge page mapping */ macro
|
/linux-4.1.27/Documentation/vm/ |
D | hugetlbpage.txt | 307 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/ |
D | mmap.c | 1418 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/ |
D | builtin-trace.c | 387 #ifdef MAP_HUGETLB in syscall_arg__scnprintf_mmap_flags()
|
/linux-4.1.27/kernel/events/ |
D | core.c | 5881 flags |= MAP_HUGETLB; in perf_event_mmap_event()
|