Home
last modified time | relevance | path

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

/openbmc/linux/lib/
H A Dxarray.c242 if (xas->xa_shift > node->shift) in xas_load()
403 return (xas->xa_sibs + 1UL) << xas->xa_shift; in xas_size()
418 if (xas->xa_shift || xas->xa_sibs) { in xas_max()
646 unsigned int order = xas->xa_shift; in xas_create()
707 unsigned char shift = xas->xa_shift; in xas_create_range()
711 if (xas_is_node(xas) && xas->xa_node->shift == xas->xa_shift) in xas_create_range()
713 xas->xa_shift = 0; in xas_create_range()
736 xas->xa_shift = shift; in xas_create_range()
795 if (node && (xas->xa_shift < node->shift)) in xas_store()
1010 if (WARN_ON(xas->xa_shift + 2 * XA_CHUNK_SHIFT < order)) in xas_split_alloc()
[all …]
/openbmc/linux/include/linux/
H A Dxarray.h1347 unsigned char xa_shift; member
1368 .xa_shift = shift, \
1655 xas->xa_shift = order - (order % XA_CHUNK_SHIFT); in xas_set_order()