Searched refs:xa_offset (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/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_advance() 163 xas_move_index(xas, xas->xa_offset); in xas_advance() 212 xas->xa_offset = offset; in xas_descend() 382 node->offset = xas->xa_offset; in xas_alloc() 493 xas->xa_offset = node->offset; in xas_delete_node() [all …]
|
/Linux-v5.10/include/linux/ |
D | xarray.h | 1313 unsigned char xa_offset; member 1333 .xa_offset = 0, \ 1561 offset = xas->xa_offset; in xas_reload() 1631 xas->xa_offset != (xas->xa_index & XA_CHUNK_MASK))) in xas_next_entry() 1637 if (unlikely(xas->xa_offset == XA_CHUNK_MASK)) in xas_next_entry() 1639 entry = xa_entry(xas->xa, node, xas->xa_offset + 1); in xas_next_entry() 1642 xas->xa_offset++; in xas_next_entry() 1654 unsigned int offset = xas->xa_offset; in xas_find_chunk() 1692 xas->xa_offset = offset; in xas_next_marked() 1786 xas->xa_offset == 0)) in xas_prev() [all …]
|