Searched refs:genradix_depth_shift (Results 1 – 2 of 2) sorted by relevance
40 if (n && ilog2(offset) < genradix_depth_shift(level)) in __genradix_ptr_alloc()63 &n->children[offset >> genradix_depth_shift(level)]; in __genradix_ptr_alloc()105 if (ilog2(iter->offset) >= genradix_depth_shift(level)) in __genradix_iter_peek()111 i = (iter->offset >> genradix_depth_shift(level)) & in __genradix_iter_peek()159 if (ilog2(iter->offset) >= genradix_depth_shift(level)) { in __genradix_iter_peek_prev()170 i = (iter->offset >> genradix_depth_shift(level)) & in __genradix_iter_peek_prev()
62 static inline int genradix_depth_shift(unsigned depth) in genradix_depth_shift() function72 return 1UL << genradix_depth_shift(depth); in genradix_depth_size()190 unsigned shift = genradix_depth_shift(level); in __genradix_ptr_inlined()192 if (unlikely(ilog2(offset) >= genradix_depth_shift(level))) in __genradix_ptr_inlined()