Home
last modified time | relevance | path

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

/linux/lib/
H A Dxarray.c578 shift += XA_CHUNK_SHIFT; in xas_expand()
579 return shift + XA_CHUNK_SHIFT; in xas_expand()
582 shift = node->shift + XA_CHUNK_SHIFT; in xas_expand()
627 shift += XA_CHUNK_SHIFT; in xas_expand()
665 shift = XA_CHUNK_SHIFT; in xas_create()
683 shift -= XA_CHUNK_SHIFT; in xas_create()
1048 unsigned int sibs = (1 << (order % XA_CHUNK_SHIFT)) - 1; in xas_split_alloc()
1051 if (WARN_ON(xas->xa_shift + 2 * XA_CHUNK_SHIFT <= order)) in xas_split_alloc()
1053 if (xas->xa_shift + XA_CHUNK_SHIFT > order) in xas_split_alloc()
1091 unsigned int sibs = (1 << (order % XA_CHUNK_SHIFT)) - 1; in xas_split()
[all …]
H A Didr.c640 XA_CHUNK_SHIFT; in ida_dump_entry()
H A Dtest_xarray.c1890 if (((new_order / XA_CHUNK_SHIFT) < (order / XA_CHUNK_SHIFT)) && in check_split_2()
1928 for (order = 1; order < 2 * XA_CHUNK_SHIFT; order++) { in check_split()
/linux/include/linux/
H A Dxarray.h1153 #ifndef XA_CHUNK_SHIFT
1154 #define XA_CHUNK_SHIFT (IS_ENABLED(CONFIG_BASE_SMALL) ? 4 : 6) macro
1156 #define XA_CHUNK_SIZE (1UL << XA_CHUNK_SHIFT)
1413 order - (order % XA_CHUNK_SHIFT), \
1414 (1U << (order % XA_CHUNK_SHIFT)) - 1)
1678 xas->xa_shift = order - (order % XA_CHUNK_SHIFT); in xas_set_order()
1679 xas->xa_sibs = (1 << (order % XA_CHUNK_SHIFT)) - 1; in xas_set_order()
H A Dpagemap.h386 #define MAX_XAS_ORDER (XA_CHUNK_SHIFT * 2 - 1)
/linux/mm/
H A Dworkingset.c703 max_nodes = pages >> (XA_CHUNK_SHIFT - 3); in count_shadow_nodes()