• Home
  • Raw
  • Download

Lines Matching refs:root

335 	struct rb_root *root = &mm->mm_rb;  in browse_rb()  local
340 for (nd = rb_first(root); nd; nd = rb_next(nd)) { in browse_rb()
381 static void validate_mm_rb(struct rb_root *root, struct vm_area_struct *ignore) in validate_mm_rb() argument
385 for (nd = rb_first(root); nd; nd = rb_next(nd)) { in validate_mm_rb()
434 #define validate_mm_rb(root, ignore) do { } while (0) argument
457 struct rb_root *root) in vma_rb_insert() argument
460 validate_mm_rb(root, NULL); in vma_rb_insert()
462 rb_insert_augmented(&vma->vm_rb, root, &vma_gap_callbacks); in vma_rb_insert()
465 static void __vma_rb_erase(struct vm_area_struct *vma, struct rb_root *root) in __vma_rb_erase() argument
472 rb_erase_augmented(&vma->vm_rb, root, &vma_gap_callbacks); in __vma_rb_erase()
476 struct rb_root *root, in vma_rb_erase_ignore() argument
488 validate_mm_rb(root, ignore); in vma_rb_erase_ignore()
490 __vma_rb_erase(vma, root); in vma_rb_erase_ignore()
494 struct rb_root *root) in vma_rb_erase() argument
496 vma_rb_erase_ignore(vma, root, vma); in vma_rb_erase()
749 struct rb_root_cached *root = NULL; in __vma_adjust() local
843 root = &mapping->i_mmap; in __vma_adjust()
875 vma_interval_tree_remove(vma, root); in __vma_adjust()
877 vma_interval_tree_remove(next, root); in __vma_adjust()
896 vma_interval_tree_insert(next, root); in __vma_adjust()
897 vma_interval_tree_insert(vma, root); in __vma_adjust()
3544 if (!test_bit(0, (unsigned long *) &anon_vma->root->rb_root.rb_root.rb_node)) { in vm_lock_anon_vma()
3549 down_write_nest_lock(&anon_vma->root->rwsem, &mm->mmap_lock); in vm_lock_anon_vma()
3560 &anon_vma->root->rb_root.rb_root.rb_node)) in vm_lock_anon_vma()
3666 if (test_bit(0, (unsigned long *) &anon_vma->root->rb_root.rb_root.rb_node)) { in vm_unlock_anon_vma()
3680 &anon_vma->root->rb_root.rb_root.rb_node)) in vm_unlock_anon_vma()