Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/mm/
H A 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()
H A Dmap_hugetlb.c77 flags |= (shift & MAP_HUGE_MASK) << MAP_HUGE_SHIFT; in main()
H A Dcow.c934 flags |= __builtin_ctzll(hugetlbsize) << MAP_HUGE_SHIFT; in run_with_hugetlb()
/openbmc/qemu/linux-headers/linux/
H A Dmman.h28 #define MAP_HUGE_SHIFT HUGETLB_FLAG_ENCODE_SHIFT macro
/openbmc/linux/include/uapi/linux/
H A Dmman.h28 #define MAP_HUGE_SHIFT HUGETLB_FLAG_ENCODE_SHIFT macro
/openbmc/linux/tools/include/uapi/linux/
H A Dmman.h28 #define MAP_HUGE_SHIFT HUGETLB_FLAG_ENCODE_SHIFT macro
/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Dtest_util.c293 #define MAP_HUGE_PAGE_SIZE(x) (1ULL << ((x >> MAP_HUGE_SHIFT) & MAP_HUGE_MASK))
/openbmc/linux/mm/
H A Dmmap.c1410 hs = hstate_sizelog((flags >> MAP_HUGE_SHIFT) & MAP_HUGE_MASK); in ksys_mmap_pgoff()
1422 (flags >> MAP_HUGE_SHIFT) & MAP_HUGE_MASK); in ksys_mmap_pgoff()