Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dxarray.h1072 #ifndef XA_CHUNK_SHIFT
1073 #define XA_CHUNK_SHIFT (CONFIG_BASE_SMALL ? 4 : 6) macro
1075 #define XA_CHUNK_SIZE (1UL << XA_CHUNK_SHIFT)
1328 order - (order % XA_CHUNK_SHIFT), \
1329 (1U << (order % XA_CHUNK_SHIFT)) - 1)
1522 xas->xa_shift = order - (order % XA_CHUNK_SHIFT); in xas_set_order()
1523 xas->xa_sibs = (1 << (order % XA_CHUNK_SHIFT)) - 1; in xas_set_order()
Dradix-tree.h51 #define RADIX_TREE_MAP_SHIFT XA_CHUNK_SHIFT
/Linux-v5.4/lib/
Dxarray.c565 shift += XA_CHUNK_SHIFT; in xas_expand()
566 return shift + XA_CHUNK_SHIFT; in xas_expand()
569 shift = node->shift + XA_CHUNK_SHIFT; in xas_expand()
614 shift += XA_CHUNK_SHIFT; in xas_expand()
652 shift = XA_CHUNK_SHIFT; in xas_create()
670 shift -= XA_CHUNK_SHIFT; in xas_create()
1516 shift += XA_CHUNK_SHIFT; in xas_set_range()
1519 sibs >>= XA_CHUNK_SHIFT; in xas_set_range()
1520 first >>= XA_CHUNK_SHIFT; in xas_set_range()
2061 shift = xa_to_node(entry)->shift + XA_CHUNK_SHIFT; in xa_dump()
Didr.c566 XA_CHUNK_SHIFT; in ida_dump_entry()
Dtest_xarray.c1479 xas.xa_shift = node->shift + XA_CHUNK_SHIFT; in shadow_remove()
/Linux-v5.4/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-v5.4/mm/
Dworkingset.c439 max_nodes = pages >> (XA_CHUNK_SHIFT - 3); in count_shadow_nodes()
497 xas.xa_shift = node->shift + XA_CHUNK_SHIFT; in shadow_lru_isolate()