Home
last modified time | relevance | path

Searched refs:XA_CHUNK_SIZE (Results 1 – 5 of 5) sorted by relevance

/linux-6.15/lib/
H A Dxarray.c547 while (offset == XA_CHUNK_SIZE) { in xas_free_nodes()
730 xas->xa_index -= XA_CHUNK_SIZE; in xas_create_range()
1021 for (i = 0; i < XA_CHUNK_SIZE; i++) { in __xas_init_node_for_split()
1108 child->count = XA_CHUNK_SIZE; in xas_split()
1110 XA_CHUNK_SIZE : 0; in xas_split()
1228 child->count = XA_CHUNK_SIZE; in xas_try_split()
1230 XA_CHUNK_SIZE : 0; in xas_try_split()
1285 while (++offset < XA_CHUNK_SIZE) { in xas_pause()
1518 if (offset == XA_CHUNK_SIZE) in xas_find_marked()
1923 if (slot >= XA_CHUNK_SIZE) in xas_get_order()
[all …]
H A Didr.c642 for (i = 0; i < XA_CHUNK_SIZE; i++) in ida_dump_entry()
H A Dradix-tree.c1600 BUILD_BUG_ON(XA_CHUNK_SIZE > 255); in radix_tree_init()
H A Dtest_xarray.c927 for (i = base + 1; i < 2 * XA_CHUNK_SIZE; i++) in check_xa_alloc_1()
929 for (i = base; i < 2 * XA_CHUNK_SIZE; i++) in check_xa_alloc_1()
/linux-6.15/include/linux/
H A Dxarray.h1150 #define XA_CHUNK_SIZE (1UL << XA_CHUNK_SHIFT) macro
1151 #define XA_CHUNK_MASK (XA_CHUNK_SIZE - 1)
1153 #define XA_MARK_LONGS BITS_TO_LONGS(XA_CHUNK_SIZE)
1173 void __rcu *slots[XA_CHUNK_SIZE];
1219 XA_NODE_BUG_ON(node, offset >= XA_CHUNK_SIZE); in xa_entry()
1228 XA_NODE_BUG_ON(node, offset >= XA_CHUNK_SIZE); in xa_entry_locked()
1288 (entry < xa_mk_sibling(XA_CHUNK_SIZE - 1)); in xa_is_sibling()
1744 if (XA_CHUNK_SIZE == BITS_PER_LONG) { in xas_find_chunk()
1745 if (offset < XA_CHUNK_SIZE) { in xas_find_chunk()
1750 return XA_CHUNK_SIZE; in xas_find_chunk()
[all …]