Lines Matching refs:reloc_root_tree
162 struct mapping_tree reloc_root_tree; member
549 spin_lock(&rc->reloc_root_tree.lock); in find_reloc_root()
550 rb_node = tree_search(&rc->reloc_root_tree.rb_root, bytenr); in find_reloc_root()
555 spin_unlock(&rc->reloc_root_tree.lock); in find_reloc_root()
1259 spin_lock(&rc->reloc_root_tree.lock); in __add_reloc_root()
1260 rb_node = tree_insert(&rc->reloc_root_tree.rb_root, in __add_reloc_root()
1262 spin_unlock(&rc->reloc_root_tree.lock); in __add_reloc_root()
1285 spin_lock(&rc->reloc_root_tree.lock); in __del_reloc_root()
1286 rb_node = tree_search(&rc->reloc_root_tree.rb_root, in __del_reloc_root()
1290 rb_erase(&node->rb_node, &rc->reloc_root_tree.rb_root); in __del_reloc_root()
1293 spin_unlock(&rc->reloc_root_tree.lock); in __del_reloc_root()
1314 spin_lock(&rc->reloc_root_tree.lock); in __update_reloc_root()
1315 rb_node = tree_search(&rc->reloc_root_tree.rb_root, in __update_reloc_root()
1319 rb_erase(&node->rb_node, &rc->reloc_root_tree.rb_root); in __update_reloc_root()
1321 spin_unlock(&rc->reloc_root_tree.lock); in __update_reloc_root()
1327 spin_lock(&rc->reloc_root_tree.lock); in __update_reloc_root()
1329 rb_node = tree_insert(&rc->reloc_root_tree.rb_root, in __update_reloc_root()
1331 spin_unlock(&rc->reloc_root_tree.lock); in __update_reloc_root()
4202 mapping_tree_init(&rc->reloc_root_tree); in alloc_reloc_control()