Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/lib/
H A Dxarray.c144 return (index >> node->shift) & XA_CHUNK_MASK; in get_offset()
156 xas->xa_index &= ~XA_CHUNK_MASK << shift; in xas_move_index()
193 if ((xas->xa_index >> xa_to_node(entry)->shift) > XA_CHUNK_MASK) in xas_start()
719 if (xas->xa_index <= (index | XA_CHUNK_MASK)) in xas_create_range()
831 if (offset == XA_CHUNK_MASK) in xas_store()
1252 xas->xa_offset != (xas->xa_index & XA_CHUNK_MASK)) { in xas_find()
1253 xas->xa_offset = ((xas->xa_index - 1) & XA_CHUNK_MASK) + 1; in xas_find()
1421 } else if (xas->xa_offset == XA_CHUNK_MASK) { in xas_find_conflict()
1670 unsigned int offset = XA_CHUNK_MASK; in xas_set_range()
1674 while ((first & XA_CHUNK_MASK) == 0) { in xas_set_range()
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dxarray.h1111 #define XA_CHUNK_MASK (XA_CHUNK_SIZE - 1) macro
1555 offset = (xas->xa_index >> node->shift) & XA_CHUNK_MASK; 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()
1693 xas->xa_index = (xas->xa_index & ~XA_CHUNK_MASK) + offset; in xas_next_marked()
1815 xas->xa_offset == XA_CHUNK_MASK)) in xas_next()