Home
last modified time | relevance | path

Searched refs:genradix_depth_shift (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/lib/
Dgeneric-radix-tree.c40 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()
/linux-6.12.1/include/linux/
Dgeneric-radix-tree.h62 static inline int genradix_depth_shift(unsigned depth) in genradix_depth_shift() function
72 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()