Searched refs:log2_to_int_t (Results 1 – 3 of 3) sorted by relevance
14 #define log2_to_int_t(type, a_lg2) ((type)(((type)1) << (a_lg2))) macro15 static_assert(log2_to_int_t(unsigned int, 0) == 1);18 #define log2_to_max_int_t(type, a_lg2) ((type)(log2_to_int_t(type, a_lg2) - 1))
235 #define log2_to_int(a_lg2) log2_to_int_t(pt_vaddr_t, a_lg2)291 #define oalog2_to_int(a_lg2) log2_to_int_t(pt_oaddr_t, a_lg2)
549 step = log2_to_int_t(unsigned int, in __map_range_leaf()