Searched refs:MAP_HUGE_SHIFT (Results 1 – 8 of 8) sorted by relevance
31 #define MAP_HUGE_2MB (21 << MAP_HUGE_SHIFT)32 #define MAP_HUGE_1GB (30 << MAP_HUGE_SHIFT)33 #define MAP_HUGE_SHIFT 26 macro220 int arg = ilog2(ps) << MAP_HUGE_SHIFT; in main()
77 flags |= (shift & MAP_HUGE_MASK) << MAP_HUGE_SHIFT; in main()
934 flags |= __builtin_ctzll(hugetlbsize) << MAP_HUGE_SHIFT; in run_with_hugetlb()
28 #define MAP_HUGE_SHIFT HUGETLB_FLAG_ENCODE_SHIFT macro
293 #define MAP_HUGE_PAGE_SIZE(x) (1ULL << ((x >> MAP_HUGE_SHIFT) & MAP_HUGE_MASK))
1410 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()