Home
last modified time | relevance | path

Searched refs:MAP_HUGE_SHIFT (Results 1 – 7 of 7) sorted by relevance

/linux-6.3-rc2/tools/testing/selftests/mm/
A Dmap_hugetlb.c26 #ifndef MAP_HUGE_SHIFT
27 #define MAP_HUGE_SHIFT 26 macro
82 flags |= (shift & MAP_HUGE_MASK) << MAP_HUGE_SHIFT; in main()
A Dthuge-gen.c30 #define MAP_HUGE_2MB (21 << MAP_HUGE_SHIFT)
31 #define MAP_HUGE_1GB (30 << MAP_HUGE_SHIFT)
32 #define MAP_HUGE_SHIFT 26 macro
237 int arg = ilog2(ps) << MAP_HUGE_SHIFT; in main()
A Dcow.c994 flags |= __builtin_ctzll(hugetlbsize) << MAP_HUGE_SHIFT; in run_with_hugetlb()
/linux-6.3-rc2/include/uapi/linux/
A Dmman.h27 #define MAP_HUGE_SHIFT HUGETLB_FLAG_ENCODE_SHIFT macro
/linux-6.3-rc2/tools/include/uapi/linux/
A Dmman.h27 #define MAP_HUGE_SHIFT HUGETLB_FLAG_ENCODE_SHIFT macro
/linux-6.3-rc2/tools/testing/selftests/kvm/lib/
A Dtest_util.c283 #define MAP_HUGE_PAGE_SIZE(x) (1ULL << ((x >> MAP_HUGE_SHIFT) & MAP_HUGE_MASK))
/linux-6.3-rc2/mm/
A Dmmap.c1393 hs = hstate_sizelog((flags >> MAP_HUGE_SHIFT) & MAP_HUGE_MASK); in ksys_mmap_pgoff()
1405 (flags >> MAP_HUGE_SHIFT) & MAP_HUGE_MASK); in ksys_mmap_pgoff()

Completed in 21 milliseconds