Lines Matching refs:XA_CHUNK_SIZE
1075 #define XA_CHUNK_SIZE (1UL << XA_CHUNK_SHIFT) macro
1076 #define XA_CHUNK_MASK (XA_CHUNK_SIZE - 1)
1078 #define XA_MARK_LONGS DIV_ROUND_UP(XA_CHUNK_SIZE, BITS_PER_LONG)
1098 void __rcu *slots[XA_CHUNK_SIZE];
1144 XA_NODE_BUG_ON(node, offset >= XA_CHUNK_SIZE); in xa_entry()
1153 XA_NODE_BUG_ON(node, offset >= XA_CHUNK_SIZE); in xa_entry_locked()
1213 (entry < xa_mk_sibling(XA_CHUNK_SIZE - 1)); in xa_is_sibling()
1588 if (XA_CHUNK_SIZE == BITS_PER_LONG) { in xas_find_chunk()
1589 if (offset < XA_CHUNK_SIZE) { in xas_find_chunk()
1594 return XA_CHUNK_SIZE; in xas_find_chunk()
1597 return find_next_bit(addr, XA_CHUNK_SIZE, offset); in xas_find_chunk()
1625 if (offset == XA_CHUNK_SIZE) in xas_next_marked()