Searched refs:LEVEL_STRIDE (Results 1 – 1 of 1) sorted by relevance
887 #define LEVEL_STRIDE (9) macro888 #define LEVEL_MASK (((u64)1 << LEVEL_STRIDE) - 1)899 return min_t(int, 30 + agaw * LEVEL_STRIDE, MAX_AGAW_WIDTH); in agaw_to_width()904 return DIV_ROUND_UP(width - 30, LEVEL_STRIDE); in width_to_agaw()909 return (level - 1) * LEVEL_STRIDE; in level_to_offset_bits()934 return 1UL << min_t(int, (lvl - 1) * LEVEL_STRIDE, MAX_AGAW_PFN_WIDTH); in lvl_to_nr_pages()