Home
last modified time | relevance | path

Searched refs:xa_to_node (Results 1 – 3 of 3) sorted by relevance

/linux/lib/
H A Dxarray.c196 if ((xas->xa_index >> xa_to_node(entry)->shift) > XA_CHUNK_MASK) in xas_start()
242 struct xa_node *node = xa_to_node(entry); in xas_load()
437 return (XA_CHUNK_SIZE << xa_to_node(entry)->shift) - 1; in max_index()
477 node = xa_to_node(entry); in xas_shrink()
540 node = xa_to_node(entry); in xas_free_nodes()
581 node = xa_to_node(head); in xas_expand()
620 xa_to_node(head)->offset = 0; in xas_expand()
621 rcu_assign_pointer(xa_to_node(head)->parent, node); in xas_expand()
692 node = xa_to_node(entry); in xas_create()
829 xas_free_nodes(xas, xa_to_node(nex in xas_store()
[all...]
H A Dtest_xarray.c662 XA_BUG_ON(xa, xa_to_node(xa_head(xa))->count != 2); in check_multi_store()
663 XA_BUG_ON(xa, xa_to_node(xa_head(xa))->nr_values != 2); in check_multi_store()
672 XA_BUG_ON(xa, xa_to_node(xa_head(xa))->count != 3); in check_multi_store()
673 XA_BUG_ON(xa, xa_to_node(xa_head(xa))->nr_values != 2); in check_multi_store()
684 XA_BUG_ON(xa, xa_to_node(xa_head(xa))->count != 4); in check_multi_store()
685 XA_BUG_ON(xa, xa_to_node(xa_head(xa))->nr_values != 4); in check_multi_store()
/linux/include/linux/
H A Dxarray.h1262 static inline struct xa_node *xa_to_node(const void *entry) in xa_to_node() function