Lines Matching refs:XA_CHUNK_SIZE
1112 #define XA_CHUNK_SIZE (1UL << XA_CHUNK_SHIFT) macro
1113 #define XA_CHUNK_MASK (XA_CHUNK_SIZE - 1)
1115 #define XA_MARK_LONGS DIV_ROUND_UP(XA_CHUNK_SIZE, BITS_PER_LONG)
1135 void __rcu *slots[XA_CHUNK_SIZE];
1181 XA_NODE_BUG_ON(node, offset >= XA_CHUNK_SIZE); in xa_entry()
1190 XA_NODE_BUG_ON(node, offset >= XA_CHUNK_SIZE); in xa_entry_locked()
1250 (entry < xa_mk_sibling(XA_CHUNK_SIZE - 1)); in xa_is_sibling()
1660 if (XA_CHUNK_SIZE == BITS_PER_LONG) { in xas_find_chunk()
1661 if (offset < XA_CHUNK_SIZE) { in xas_find_chunk()
1666 return XA_CHUNK_SIZE; in xas_find_chunk()
1669 return find_next_bit(addr, XA_CHUNK_SIZE, offset); in xas_find_chunk()
1698 if (offset == XA_CHUNK_SIZE) in xas_next_marked()