Searched refs:xa_offset (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/lib/ |
D | xarray.c | 127 unsigned int limit = xas->xa_offset + xas->xa_sibs + 1; in xas_squash_marks() 134 if (find_next_bit(marks, limit, xas->xa_offset + 1) == limit) in xas_squash_marks() 136 __set_bit(xas->xa_offset, marks); in xas_squash_marks() 137 bitmap_clear(marks, xas->xa_offset + 1, xas->xa_sibs); in xas_squash_marks() 149 xas->xa_offset = get_offset(xas->xa_index, xas->xa_node); in xas_set_offset() 162 xas->xa_offset++; in xas_next_offset() 163 xas_move_index(xas, xas->xa_offset); in xas_next_offset() 214 xas->xa_offset = offset; in xas_descend() 385 node->offset = xas->xa_offset; in xas_alloc() 496 xas->xa_offset = node->offset; in xas_delete_node() [all …]
|
/linux-6.1.9/include/linux/ |
D | xarray.h | 1331 unsigned char xa_offset; member 1352 .xa_offset = 0, \ 1582 offset = xas->xa_offset; in xas_reload() 1617 xas->xa_offset = (index >> shift) & XA_CHUNK_MASK; in xas_advance() 1675 xas->xa_offset != (xas->xa_index & XA_CHUNK_MASK))) in xas_next_entry() 1681 if (unlikely(xas->xa_offset == XA_CHUNK_MASK)) in xas_next_entry() 1683 entry = xa_entry(xas->xa, node, xas->xa_offset + 1); in xas_next_entry() 1686 xas->xa_offset++; in xas_next_entry() 1698 unsigned int offset = xas->xa_offset; in xas_find_chunk() 1736 xas->xa_offset = offset; in xas_next_marked() [all …]
|