Lines Matching refs:rb_node
219 static int browse_rb(rb_node_t * rb_node) { in browse_rb() argument
221 if (rb_node) { in browse_rb()
223 i += browse_rb(rb_node->rb_left); in browse_rb()
224 i += browse_rb(rb_node->rb_right); in browse_rb()
239 i = browse_rb(mm->mm_rb.rb_node); in validate_mm()
256 __rb_link = &mm->mm_rb.rb_node; in find_vma_prepare()
690 rb_node_t * rb_node; in find_vma() local
692 rb_node = mm->mm_rb.rb_node; in find_vma()
695 while (rb_node) { in find_vma()
698 vma_tmp = rb_entry(rb_node, struct vm_area_struct, vm_rb); in find_vma()
704 rb_node = rb_node->rb_left; in find_vma()
706 rb_node = rb_node->rb_right; in find_vma()
722 rb_node_t * rb_node, * rb_last_right, * rb_prev; in find_vma_prev() local
724 rb_node = mm->mm_rb.rb_node; in find_vma_prev()
728 while (rb_node) { in find_vma_prev()
731 vma_tmp = rb_entry(rb_node, struct vm_area_struct, vm_rb); in find_vma_prev()
738 rb_node = rb_node->rb_left; in find_vma_prev()
740 rb_last_right = rb_node; in find_vma_prev()
741 rb_node = rb_node->rb_right; in find_vma_prev()
1158 rb_link = &mm->mm_rb.rb_node; in build_mmap_rb()