Searched refs:xa_offset (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/lib/ |
D | xarray.c | 129 unsigned int limit = xas->xa_offset + xas->xa_sibs + 1; in xas_squash_marks() 136 if (find_next_bit(marks, limit, xas->xa_offset + 1) == limit) in xas_squash_marks() 138 __set_bit(xas->xa_offset, marks); in xas_squash_marks() 139 bitmap_clear(marks, xas->xa_offset + 1, xas->xa_sibs); in xas_squash_marks() 151 xas->xa_offset = get_offset(xas->xa_index, xas->xa_node); in xas_set_offset() 164 xas->xa_offset++; in xas_next_offset() 165 xas_move_index(xas, xas->xa_offset); in xas_next_offset() 216 xas->xa_offset = offset; in xas_descend() 383 node->offset = xas->xa_offset; in xas_alloc() 494 xas->xa_offset = node->offset; in xas_delete_node() [all …]
|
/linux-6.6.21/include/linux/ |
D | xarray.h | 1349 unsigned char xa_offset; member 1370 .xa_offset = 0, \ 1600 offset = xas->xa_offset; in xas_reload() 1635 xas->xa_offset = (index >> shift) & XA_CHUNK_MASK; in xas_advance() 1694 xas->xa_offset != (xas->xa_index & XA_CHUNK_MASK))) in xas_next_entry() 1700 if (unlikely(xas->xa_offset == XA_CHUNK_MASK)) in xas_next_entry() 1702 entry = xa_entry(xas->xa, node, xas->xa_offset + 1); in xas_next_entry() 1705 xas->xa_offset++; in xas_next_entry() 1717 unsigned int offset = xas->xa_offset; in xas_find_chunk() 1755 xas->xa_offset = offset; in xas_next_marked() [all …]
|