Home
last modified time | relevance | path

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

/linux-6.12.1/include/linux/
Dmaple_tree.h237 void __rcu *ma_root; member
249 .ma_root = NULL, \
262 .ma_root = NULL, \
363 return mt->ma_root == NULL; in mtree_empty()
390 ma_root, enumerator
791 rcu_assign_pointer(mt->ma_root, NULL); in mt_init_flags()
/linux-6.12.1/lib/
Dmaple_tree.c260 return mas->status == ma_root; in mas_is_ptr()
833 return rcu_dereference_check(mas->tree->ma_root, mt_locked(mas->tree)); in mas_root()
838 return rcu_dereference_protected(mt->ma_root, mt_write_locked(mt)); in mt_root_locked()
1383 mas->status = ma_root; in mas_start()
1715 rcu_assign_pointer(mas->tree->ma_root, mte_mk_root(mas->node)); in mas_put_in_tree()
3438 rcu_assign_pointer(mas->tree->ma_root, mte_mk_root(mas->node)); in mas_root_expand()
3449 rcu_assign_pointer(mas->tree->ma_root, entry); in mas_store_root()
3668 rcu_assign_pointer(mas->tree->ma_root, entry); in mas_new_root()
3683 rcu_assign_pointer(mas->tree->ma_root, mte_mk_root(mas->node)); in mas_new_root()
5705 case ma_root: in mas_next_setup()
[all …]
Dtest_maple_tree.c3086 MT_BUG_ON(mt, mas.status != ma_root); in check_state_handling()
3095 MT_BUG_ON(mt, mas.status != ma_root); in check_state_handling()
3119 MT_BUG_ON(mt, mas.status != ma_root); in check_state_handling()
3148 MT_BUG_ON(mt, mas.status != ma_root); in check_state_handling()
3156 MT_BUG_ON(mt, mas.status != ma_root); in check_state_handling()
3178 MT_BUG_ON(mt, mas.status != ma_root); in check_state_handling()
3218 MT_BUG_ON(mt, mas.status != ma_root); in check_state_handling()
3227 MT_BUG_ON(mt, mas.status != ma_root); in check_state_handling()
3235 MT_BUG_ON(mt, mas.status != ma_root); in check_state_handling()
3242 MT_BUG_ON(mt, mas.status != ma_root); in check_state_handling()
[all …]
/linux-6.12.1/tools/testing/radix-tree/
Dmaple.c541 root_node = mt->ma_root; in check_erase_testset()
562 root_node = mt->ma_root; in check_erase_testset()
593 MT_BUG_ON(mt, root_node == mt->ma_root); in check_erase_testset()
595 MT_BUG_ON(mt, root_node != mt->ma_root); in check_erase_testset()
598 MT_BUG_ON(mt, !mte_is_leaf(mt->ma_root)); in check_erase_testset()
973 if (unlikely(mas->status == ma_root)) in mas_range_load()
36357 tree.ma_root = xa_mk_value(0); in farmer_tests()
36367 tree.ma_root = mt_mk_node(node, maple_leaf_64); in farmer_tests()