Home
last modified time | relevance | path

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

/Linux-v6.1/lib/
Dxarray.c193 if ((xas->xa_index >> xa_to_node(entry)->shift) > XA_CHUNK_MASK) in xas_start()
238 struct xa_node *node = xa_to_node(entry); in xas_load()
436 return (XA_CHUNK_SIZE << xa_to_node(entry)->shift) - 1; in max_index()
471 node = xa_to_node(entry); in xas_shrink()
534 node = xa_to_node(entry); in xas_free_nodes()
575 node = xa_to_node(head); in xas_expand()
614 xa_to_node(head)->offset = 0; in xas_expand()
615 rcu_assign_pointer(xa_to_node(head)->parent, node); in xas_expand()
686 node = xa_to_node(entry); in xas_create()
823 xas_free_nodes(xas, xa_to_node(next)); in xas_store()
[all …]
Dtest_xarray.c609 XA_BUG_ON(xa, xa_to_node(xa_head(xa))->count != 2); in check_multi_store()
610 XA_BUG_ON(xa, xa_to_node(xa_head(xa))->nr_values != 2); in check_multi_store()
619 XA_BUG_ON(xa, xa_to_node(xa_head(xa))->count != 3); in check_multi_store()
620 XA_BUG_ON(xa, xa_to_node(xa_head(xa))->nr_values != 2); in check_multi_store()
631 XA_BUG_ON(xa, xa_to_node(xa_head(xa))->count != 4); in check_multi_store()
632 XA_BUG_ON(xa, xa_to_node(xa_head(xa))->nr_values != 4); in check_multi_store()
Didr.c569 struct xa_node *node = xa_to_node(entry); in ida_dump_entry()
/Linux-v6.1/include/linux/
Dxarray.h1234 static inline struct xa_node *xa_to_node(const void *entry) in xa_to_node() function