Home
last modified time | relevance | path

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

/linux/lib/
H A Dxarray.c244 if (xas->xa_shift > node->shift) in xas_load()
406 return (xas->xa_sibs + 1UL) << xas->xa_shift; in xas_size()
421 if (xas->xa_shift || xas->xa_sibs) { in xas_max()
654 unsigned int order = xas->xa_shift; in xas_create()
715 unsigned char shift = xas->xa_shift; in xas_create_range()
719 if (xas_is_node(xas) && xas->xa_node->shift == xas->xa_shift) in xas_create_range()
721 xas->xa_shift = 0; in xas_create_range()
744 xas->xa_shift = shift; in xas_create_range()
803 if (node && (xas->xa_shift < node->shift)) in xas_store()
1051 if (WARN_ON(xas->xa_shift + 2 * XA_CHUNK_SHIFT <= order)) in xas_split_alloc()
[all …]
/linux/include/linux/
H A Dxarray.h1357 unsigned char xa_shift; member
1378 .xa_shift = shift, \
1678 xas->xa_shift = order - (order % XA_CHUNK_SHIFT); in xas_set_order()