Lines Matching refs:root
1127 struct rb_root *root; in stable_tree_search() local
1141 root = root_stable_tree + nid; in stable_tree_search()
1143 new = &root->rb_node; in stable_tree_search()
1208 rb_insert_color(&page_node->node, root); in stable_tree_search()
1216 rb_replace_node(&stable_node->node, &page_node->node, root); in stable_tree_search()
1219 rb_erase(&stable_node->node, root); in stable_tree_search()
1238 struct rb_root *root; in stable_tree_insert() local
1245 root = root_stable_tree + nid; in stable_tree_insert()
1248 new = &root->rb_node; in stable_tree_insert()
1297 rb_insert_color(&stable_node->node, root); in stable_tree_insert()
1322 struct rb_root *root; in unstable_tree_search_insert() local
1327 root = root_unstable_tree + nid; in unstable_tree_search_insert()
1328 new = &root->rb_node; in unstable_tree_search_insert()
1377 rb_insert_color(&rmap_item->node, root); in unstable_tree_search_insert()
1873 } else if (anon_vma->root == vma->anon_vma->root && in ksm_might_need_to_copy()