Home
last modified time | relevance | path

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

/Linux-v6.1/lib/
Dxarray.c572 shift += XA_CHUNK_SHIFT; in xas_expand()
573 return shift + XA_CHUNK_SHIFT; in xas_expand()
576 shift = node->shift + XA_CHUNK_SHIFT; in xas_expand()
621 shift += XA_CHUNK_SHIFT; in xas_expand()
659 shift = XA_CHUNK_SHIFT; in xas_create()
677 shift -= XA_CHUNK_SHIFT; in xas_create()
1008 unsigned int sibs = (1 << (order % XA_CHUNK_SHIFT)) - 1; in xas_split_alloc()
1012 if (WARN_ON(xas->xa_shift + 2 * XA_CHUNK_SHIFT < order)) in xas_split_alloc()
1014 if (xas->xa_shift + XA_CHUNK_SHIFT > order) in xas_split_alloc()
1058 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.1/include/linux/
Dxarray.h1125 #ifndef XA_CHUNK_SHIFT
1126 #define XA_CHUNK_SHIFT (CONFIG_BASE_SMALL ? 4 : 6) macro
1128 #define XA_CHUNK_SIZE (1UL << XA_CHUNK_SHIFT)
1385 order - (order % XA_CHUNK_SHIFT), \
1386 (1U << (order % XA_CHUNK_SHIFT)) - 1)
1631 xas->xa_shift = order - (order % XA_CHUNK_SHIFT); in xas_set_order()
1632 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.1/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.1/mm/
Dworkingset.c619 max_nodes = pages >> (XA_CHUNK_SHIFT - 3); in count_shadow_nodes()