Lines Matching refs:XA_CHUNK_MASK
144 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()
722 if (xas->xa_index <= (index | XA_CHUNK_MASK)) in xas_create_range()
834 if (offset == XA_CHUNK_MASK) in xas_store()
1256 xas->xa_offset != (xas->xa_index & XA_CHUNK_MASK)) { in xas_find()
1257 xas->xa_offset = ((xas->xa_index - 1) & XA_CHUNK_MASK) + 1; in xas_find()
1425 } else if (xas->xa_offset == XA_CHUNK_MASK) { in xas_find_conflict()
1674 unsigned int offset = XA_CHUNK_MASK; in xas_set_range()
1678 while ((first & XA_CHUNK_MASK) == 0) { in xas_set_range()
1679 if (sibs < XA_CHUNK_MASK) in xas_set_range()
1681 if ((sibs == XA_CHUNK_MASK) && (offset < XA_CHUNK_MASK)) in xas_set_range()
1684 if (offset == XA_CHUNK_MASK) in xas_set_range()
1685 offset = sibs & XA_CHUNK_MASK; in xas_set_range()
1690 offset = first & XA_CHUNK_MASK; in xas_set_range()
1691 if (offset + sibs > XA_CHUNK_MASK) in xas_set_range()
1692 sibs = XA_CHUNK_MASK - offset; in xas_set_range()