Home
last modified time | relevance | path

Searched refs:XA_CHUNK_SHIFT (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/lib/
Dxarray.c570 shift += XA_CHUNK_SHIFT; in xas_expand()
571 return shift + XA_CHUNK_SHIFT; in xas_expand()
574 shift = node->shift + XA_CHUNK_SHIFT; in xas_expand()
619 shift += XA_CHUNK_SHIFT; in xas_expand()
657 shift = XA_CHUNK_SHIFT; in xas_create()
675 shift -= XA_CHUNK_SHIFT; in xas_create()
1006 unsigned int sibs = (1 << (order % XA_CHUNK_SHIFT)) - 1; in xas_split_alloc()
1010 if (WARN_ON(xas->xa_shift + 2 * XA_CHUNK_SHIFT < order)) in xas_split_alloc()
1012 if (xas->xa_shift + XA_CHUNK_SHIFT > order) in xas_split_alloc()
1056 unsigned int sibs = (1 << (order % XA_CHUNK_SHIFT)) - 1; in xas_split()
[all …]
Didr.c571 XA_CHUNK_SHIFT; in ida_dump_entry()
Dtest_xarray.c1586 for (order = 1; order < 2 * XA_CHUNK_SHIFT; order++) { in check_split()
/Linux-v6.6/include/linux/
Dxarray.h1143 #ifndef XA_CHUNK_SHIFT
1144 #define XA_CHUNK_SHIFT (CONFIG_BASE_SMALL ? 4 : 6) macro
1146 #define XA_CHUNK_SIZE (1UL << XA_CHUNK_SHIFT)
1403 order - (order % XA_CHUNK_SHIFT), \
1404 (1U << (order % XA_CHUNK_SHIFT)) - 1)
1649 xas->xa_shift = order - (order % XA_CHUNK_SHIFT); in xas_set_order()
1650 xas->xa_sibs = (1 << (order % XA_CHUNK_SHIFT)) - 1; in xas_set_order()
Dradix-tree.h63 #define RADIX_TREE_MAP_SHIFT XA_CHUNK_SHIFT
/Linux-v6.6/tools/testing/radix-tree/
Dmultiorder.c58 int height = order[i] / XA_CHUNK_SHIFT; in multiorder_iteration()
59 int shift = height * XA_CHUNK_SHIFT; in multiorder_iteration()
/Linux-v6.6/mm/
Dworkingset.c680 max_nodes = pages >> (XA_CHUNK_SHIFT - 3); in count_shadow_nodes()