Home
last modified time | relevance | path

Searched refs:SLICE_HIGH_SHIFT (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/powerpc/include/asm/book3s/64/
H A Dslice.h20 #define SLICE_HIGH_SHIFT 40 macro
21 #define SLICE_NUM_HIGH (H_PGTABLE_RANGE >> SLICE_HIGH_SHIFT)
22 #define GET_HIGH_SLICE_INDEX(addr) ((addr) >> SLICE_HIGH_SHIFT)
H A Dhugetlb.h112 if (shift > SLICE_HIGH_SHIFT) in check_and_get_huge_psize()
/openbmc/linux/arch/powerpc/mm/book3s64/
H A Dslice.c79 unsigned long align_end = ALIGN(end, (1UL << SLICE_HIGH_SHIFT)); in slice_range_to_mask()
105 unsigned long start = slice << SLICE_HIGH_SHIFT; in slice_high_has_vma()
106 unsigned long end = start + (1ul << SLICE_HIGH_SHIFT); in slice_high_has_vma()
157 unsigned long align_end = ALIGN(end, (1UL << SLICE_HIGH_SHIFT)); in slice_check_range_fits()
273 ((slice + end) << SLICE_HIGH_SHIFT) : SLICE_LOW_TOP; in slice_scan_available()