Home
last modified time | relevance | path

Searched refs:xa_shift (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/lib/
Dxarray.c238 if (xas->xa_shift > node->shift) in xas_load()
402 return (xas->xa_sibs + 1UL) << xas->xa_shift; in xas_size()
417 if (xas->xa_shift || xas->xa_sibs) { in xas_max()
645 unsigned int order = xas->xa_shift; in xas_create()
706 unsigned char shift = xas->xa_shift; in xas_create_range()
710 if (xas_is_node(xas) && xas->xa_node->shift == xas->xa_shift) in xas_create_range()
712 xas->xa_shift = 0; in xas_create_range()
735 xas->xa_shift = shift; in xas_create_range()
794 if (node && (xas->xa_shift < node->shift)) in xas_store()
1009 if (WARN_ON(xas->xa_shift + 2 * XA_CHUNK_SHIFT < order)) in xas_split_alloc()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dxarray.h1311 unsigned char xa_shift; member
1331 .xa_shift = shift, \
1592 xas->xa_shift = order - (order % XA_CHUNK_SHIFT); in xas_set_order()