Searched refs:LEVEL_STRIDE (Results 1 – 1 of 1) sorted by relevance
66 #define LEVEL_STRIDE (9) macro67 #define LEVEL_MASK (((u64)1 << LEVEL_STRIDE) - 1)76 return min_t(int, 30 + agaw * LEVEL_STRIDE, MAX_AGAW_WIDTH); in agaw_to_width()81 return DIV_ROUND_UP(width - 30, LEVEL_STRIDE); in width_to_agaw()86 return (level - 1) * LEVEL_STRIDE; in level_to_offset_bits()111 return 1UL << min_t(int, (lvl - 1) * LEVEL_STRIDE, MAX_AGAW_PFN_WIDTH); in lvl_to_nr_pages()