Searched refs:xa_head (Results 1 – 8 of 8) sorted by relevance
/linux/lib/ |
A D | radix-tree.c | 418 entry = rcu_dereference_raw(root->xa_head); in radix_tree_extend() 455 rcu_assign_pointer(root->xa_head, entry); in radix_tree_extend() 506 root->xa_head = (void __rcu *)child; in radix_tree_shrink() 551 rcu_dereference_raw(root->xa_head)) in delete_node() 567 root->xa_head = NULL; in delete_node() 601 void __rcu **slot = (void __rcu **)&root->xa_head; in __radix_tree_create() 615 child = rcu_dereference_raw(root->xa_head); in __radix_tree_create() 755 slot = (void __rcu **)&root->xa_head; in __radix_tree_lookup() 1189 return (void __rcu **)&root->xa_head; in radix_tree_next_chunk() 1496 child = rcu_dereference_raw(root->xa_head); in idr_get_free() [all …]
|
A D | idr.c | 242 if (slot != &idr->idr_rt.xa_head && !xa_is_retry(entry)) in idr_get_next_ul() 594 pr_debug("ida: %p node %p free %d\n", ida, xa->xa_head, in ida_dump() 596 ida_dump_entry(xa->xa_head, 0); in ida_dump()
|
A D | xarray.c | 188 entry = xa_head(xas->xa); in xas_start() 456 RCU_INIT_POINTER(xa->xa_head, entry); in xas_shrink() 497 xas->xa->xa_head = NULL; in xas_delete_node() 615 rcu_assign_pointer(xa->xa_head, head); in xas_expand() 658 slot = &xa->xa_head; in xas_create() 670 slot = &xa->xa_head; in xas_create() 775 void __rcu **slot = &xas->xa->xa_head; in xas_store() 1317 entry = xa_head(xas->xa); in xas_find_marked() 2209 RCU_INIT_POINTER(xa->xa_head, NULL); in xa_destroy() 2288 void *entry = xa->xa_head; in xa_dump()
|
A D | test_xarray.c | 359 node = xa_head(xa); in check_xa_shrink() 364 XA_BUG_ON(xa, xa_head(xa) == node); in check_xa_shrink() 368 XA_BUG_ON(xa, xa->xa_head != node); in check_xa_shrink() 609 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()
|
/linux/include/linux/ |
A D | xarray.h | 298 void __rcu * xa_head; member 304 .xa_head = NULL, \ 380 xa->xa_head = NULL; in xa_init_flags() 405 return xa->xa_head == NULL; in xa_empty() 1164 static inline void *xa_head(const struct xarray *xa) in xa_head() function 1166 return rcu_dereference_check(xa->xa_head, in xa_head() 1173 return rcu_dereference_protected(xa->xa_head, in xa_head_locked() 1555 return xa_head(xas->xa); in xas_reload()
|
A D | radix-tree.h | 88 return root->xa_head == NULL; in radix_tree_empty()
|
A D | pagemap.h | 60 head = rcu_access_pointer(mapping->i_pages.xa_head); in mapping_shrinkable()
|
/linux/tools/testing/radix-tree/ |
A D | test.c | 249 struct radix_tree_node *node = root->xa_head; in verify_tag_consistency() 273 struct radix_tree_node *node = root->xa_head; in tree_verify_min_height()
|
Completed in 23 milliseconds