Searched refs:XA_CHUNK_MASK (Results 1 – 2 of 2) sorted by relevance
146 return (index >> node->shift) & XA_CHUNK_MASK; in get_offset()158 xas->xa_index &= ~XA_CHUNK_MASK << shift; in xas_move_index()195 if ((xas->xa_index >> xa_to_node(entry)->shift) > XA_CHUNK_MASK) in xas_start()721 if (xas->xa_index <= (index | XA_CHUNK_MASK)) in xas_create_range()833 if (offset == XA_CHUNK_MASK) in xas_store()1270 xas->xa_offset != (xas->xa_index & XA_CHUNK_MASK)) { in xas_find()1271 xas->xa_offset = ((xas->xa_index - 1) & XA_CHUNK_MASK) + 1; in xas_find()1439 } else if (xas->xa_offset == XA_CHUNK_MASK) { in xas_find_conflict()1688 unsigned int offset = XA_CHUNK_MASK; in xas_set_range()1692 while ((first & XA_CHUNK_MASK) == 0) { in xas_set_range()[all …]
1151 #define XA_CHUNK_MASK (XA_CHUNK_SIZE - 1) macro1604 offset = (xas->xa_index >> node->shift) & XA_CHUNK_MASK; in xas_reload()1645 xas->xa_offset = (index >> shift) & XA_CHUNK_MASK; in xas_advance()1704 xas->xa_offset != (xas->xa_index & XA_CHUNK_MASK))) in xas_next_entry()1710 if (unlikely(xas->xa_offset == XA_CHUNK_MASK)) in xas_next_entry()1766 xas->xa_index = (xas->xa_index & ~XA_CHUNK_MASK) + offset; in xas_next_marked()1888 xas->xa_offset == XA_CHUNK_MASK)) in xas_next()