Searched refs:MAP_HUGETLB (Results 1 – 16 of 16) sorted by relevance
21 #ifndef MAP_HUGETLB22 #define MAP_HUGETLB 0x40000 /* arch specific */ macro28 #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB | MAP_FIXED)31 #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB)
33 #define MAP_HUGETLB 0x40000 macro147 MAP_PRIVATE|MAP_ANONYMOUS|MAP_HUGETLB|flags, 0, 0); in test_mmap()236 test_mmap(ps, MAP_HUGETLB | arg); in main()
45 if (vma && !(vma->vm_flags & MAP_HUGETLB)) in prepare_hugepage_range()52 if (!(vma->vm_flags & MAP_HUGETLB) && in prepare_hugepage_range()165 if (vma->vm_flags & MAP_HUGETLB) { in hugetlb_get_unmapped_area_existing()
14 #define MAP_HUGETLB 0x40000 /* create a huge page mapping */ macro
31 #define MAP_HUGETLB 0x4000 /* create a huge page mapping */ macro
30 #define MAP_HUGETLB 0x40000 /* create a huge page mapping */ macro
25 #define MAP_HUGETLB 0x40000 /* create a huge page mapping */ macro
18 MAP_HUGETLB | MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_body()
26 #define MAP_HUGETLB 0x80000 /* create a huge page mapping */ macro
32 #define MAP_HUGETLB 0x100000 /* create a huge page mapping */ macro
50 #define MAP_HUGETLB 0x80000 /* create a huge page mapping */ macro
57 #define MAP_HUGETLB 0x80000 /* create a huge page mapping */ macro
307 MAP_HUGETLB. For an example of how to use mmap with MAP_HUGETLB see map_hugetlb314 filesystem will be required for using mmap calls without MAP_HUGETLB.
1429 if (unlikely(flags & MAP_HUGETLB && !is_file_hugepages(file))) in SYSCALL_DEFINE6()1431 } else if (flags & MAP_HUGETLB) { in SYSCALL_DEFINE6()
426 #ifdef MAP_HUGETLB in syscall_arg__scnprintf_mmap_flags()
6066 flags |= MAP_HUGETLB; in perf_event_mmap_event()