Lines Matching refs:rb_parent

251 						rb_node_t *** rb_link, rb_node_t ** rb_parent)  in find_vma_prepare()  argument
281 *rb_parent = __rb_parent; in find_vma_prepare()
286 rb_node_t * rb_parent) in __vma_link_list() argument
293 if (rb_parent) in __vma_link_list()
294 vma->vm_next = rb_entry(rb_parent, struct vm_area_struct, vm_rb); in __vma_link_list()
301 rb_node_t ** rb_link, rb_node_t * rb_parent) in __vma_link_rb() argument
303 rb_link_node(&vma->vm_rb, rb_parent, rb_link); in __vma_link_rb()
333 rb_node_t ** rb_link, rb_node_t * rb_parent) in __vma_link() argument
335 __vma_link_list(mm, vma, prev, rb_parent); in __vma_link()
336 __vma_link_rb(mm, vma, rb_link, rb_parent); in __vma_link()
341 rb_node_t ** rb_link, rb_node_t * rb_parent) in vma_link() argument
345 __vma_link(mm, vma, prev, rb_link, rb_parent); in vma_link()
354 rb_node_t * rb_parent, unsigned long addr, unsigned long end, unsigned long vm_flags) in vma_merge() argument
358 prev = rb_entry(rb_parent, struct vm_area_struct, vm_rb); in vma_merge()
404 rb_node_t ** rb_link, * rb_parent; in do_mmap_pgoff() local
493 vma = find_vma_prepare(mm, addr, &prev, &rb_link, &rb_parent); in do_mmap_pgoff()
512 if (!file && !(vm_flags & VM_SHARED) && rb_parent) in do_mmap_pgoff()
513 if (vma_merge(mm, prev, rb_parent, addr, addr + len, vm_flags)) in do_mmap_pgoff()
575 &rb_link, &rb_parent); in do_mmap_pgoff()
586 vma_link(mm, vma, prev, rb_link, rb_parent); in do_mmap_pgoff()
1067 rb_node_t ** rb_link, * rb_parent; in do_brk() local
1099 vma = find_vma_prepare(mm, addr, &prev, &rb_link, &rb_parent); in do_brk()
1120 if (rb_parent && vma_merge(mm, prev, rb_parent, addr, addr + len, flags)) in do_brk()
1140 vma_link(mm, vma, prev, rb_link, rb_parent); in do_brk()
1155 rb_node_t ** rb_link, * rb_parent; in build_mmap_rb() local
1159 rb_parent = NULL; in build_mmap_rb()
1161 __vma_link_rb(mm, vma, rb_link, rb_parent); in build_mmap_rb()
1162 rb_parent = &vma->vm_rb; in build_mmap_rb()
1163 rb_link = &rb_parent->rb_right; in build_mmap_rb()
1218 rb_node_t ** rb_link, * rb_parent; in __insert_vm_struct() local
1220 __vma = find_vma_prepare(mm, vma->vm_start, &prev, &rb_link, &rb_parent); in __insert_vm_struct()
1223 __vma_link(mm, vma, prev, rb_link, rb_parent); in __insert_vm_struct()
1231 rb_node_t ** rb_link, * rb_parent; in insert_vm_struct() local
1233 __vma = find_vma_prepare(mm, vma->vm_start, &prev, &rb_link, &rb_parent); in insert_vm_struct()
1236 vma_link(mm, vma, prev, rb_link, rb_parent); in insert_vm_struct()