Lines Matching refs:XA_CHUNK_SIZE
1128 #define XA_CHUNK_SIZE (1UL << XA_CHUNK_SHIFT) macro
1129 #define XA_CHUNK_MASK (XA_CHUNK_SIZE - 1)
1131 #define XA_MARK_LONGS DIV_ROUND_UP(XA_CHUNK_SIZE, BITS_PER_LONG)
1151 void __rcu *slots[XA_CHUNK_SIZE];
1197 XA_NODE_BUG_ON(node, offset >= XA_CHUNK_SIZE); in xa_entry()
1206 XA_NODE_BUG_ON(node, offset >= XA_CHUNK_SIZE); in xa_entry_locked()
1266 (entry < xa_mk_sibling(XA_CHUNK_SIZE - 1)); in xa_is_sibling()
1703 if (XA_CHUNK_SIZE == BITS_PER_LONG) { in xas_find_chunk()
1704 if (offset < XA_CHUNK_SIZE) { in xas_find_chunk()
1709 return XA_CHUNK_SIZE; in xas_find_chunk()
1712 return find_next_bit(addr, XA_CHUNK_SIZE, offset); in xas_find_chunk()
1741 if (offset == XA_CHUNK_SIZE) in xas_next_marked()