Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/mm/
Dthuge-gen.c31 #define MAP_HUGE_2MB (21 << MAP_HUGE_SHIFT)
32 #define MAP_HUGE_1GB (30 << MAP_HUGE_SHIFT)
33 #define MAP_HUGE_SHIFT 26 macro
220 int arg = ilog2(ps) << MAP_HUGE_SHIFT; in main()
Dmap_hugetlb.c70 flags |= (shift & MAP_HUGE_MASK) << MAP_HUGE_SHIFT; in main()
Dcow.c934 flags |= __builtin_ctzll(hugetlbsize) << MAP_HUGE_SHIFT; in run_with_hugetlb()
/Linux-v6.6/tools/include/uapi/linux/
Dmman.h28 #define MAP_HUGE_SHIFT HUGETLB_FLAG_ENCODE_SHIFT macro
/Linux-v6.6/include/uapi/linux/
Dmman.h28 #define MAP_HUGE_SHIFT HUGETLB_FLAG_ENCODE_SHIFT macro
/Linux-v6.6/tools/testing/selftests/kvm/lib/
Dtest_util.c293 #define MAP_HUGE_PAGE_SIZE(x) (1ULL << ((x >> MAP_HUGE_SHIFT) & MAP_HUGE_MASK))
/Linux-v6.6/mm/
Dmmap.c1403 hs = hstate_sizelog((flags >> MAP_HUGE_SHIFT) & MAP_HUGE_MASK); in ksys_mmap_pgoff()
1415 (flags >> MAP_HUGE_SHIFT) & MAP_HUGE_MASK); in ksys_mmap_pgoff()