Home
last modified time | relevance | path

Searched refs:vm_rb (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_vma_manager.c282 entry = rb_entry(*iter, struct drm_vma_offset_file, vm_rb); in drm_vma_node_allow()
301 rb_link_node(&new->vm_rb, parent, iter); in drm_vma_node_allow()
302 rb_insert_color(&new->vm_rb, &node->vm_files); in drm_vma_node_allow()
335 entry = rb_entry(iter, struct drm_vma_offset_file, vm_rb); in drm_vma_node_revoke()
338 rb_erase(&entry->vm_rb, &node->vm_files); in drm_vma_node_revoke()
376 entry = rb_entry(iter, struct drm_vma_offset_file, vm_rb); in drm_vma_node_is_allowed()
/kernel/linux/linux-5.10/mm/
Dmmap.c319 if (vma->vm_rb.rb_left) { in vma_compute_subtree_gap()
320 subtree_gap = rb_entry(vma->vm_rb.rb_left, in vma_compute_subtree_gap()
321 struct vm_area_struct, vm_rb)->rb_subtree_gap; in vma_compute_subtree_gap()
325 if (vma->vm_rb.rb_right) { in vma_compute_subtree_gap()
326 subtree_gap = rb_entry(vma->vm_rb.rb_right, in vma_compute_subtree_gap()
327 struct vm_area_struct, vm_rb)->rb_subtree_gap; in vma_compute_subtree_gap()
343 vma = rb_entry(nd, struct vm_area_struct, vm_rb); in browse_rb()
388 vma = rb_entry(nd, struct vm_area_struct, vm_rb); in validate_mm_rb()
440 struct vm_area_struct, vm_rb, in RB_DECLARE_CALLBACKS_MAX() argument
454 vma_gap_callbacks_propagate(&vma->vm_rb, NULL); in RB_DECLARE_CALLBACKS_MAX()
[all …]
Dnommu.c442 last = rb_entry(lastp, struct vm_region, vm_rb); in validate_nommu_regions()
447 region = rb_entry(p, struct vm_region, vm_rb); in validate_nommu_regions()
448 last = rb_entry(lastp, struct vm_region, vm_rb); in validate_nommu_regions()
477 pregion = rb_entry(parent, struct vm_region, vm_rb); in add_nommu_region()
488 rb_link_node(&region->vm_rb, parent, p); in add_nommu_region()
489 rb_insert_color(&region->vm_rb, &nommu_region_tree); in add_nommu_region()
502 rb_erase(&region->vm_rb, &nommu_region_tree); in delete_nommu_region()
590 pvma = rb_entry(parent, struct vm_area_struct, vm_rb); in add_vma_to_mm()
613 rb_link_node(&vma->vm_rb, parent, p); in add_vma_to_mm()
614 rb_insert_color(&vma->vm_rb, &mm->mm_rb); in add_vma_to_mm()
[all …]
/kernel/linux/linux-5.10/fs/proc/
Dtask_nommu.c30 vma = rb_entry(p, struct vm_area_struct, vm_rb); in task_mem()
91 vma = rb_entry(p, struct vm_area_struct, vm_rb); in task_vsize()
109 vma = rb_entry(p, struct vm_area_struct, vm_rb); in task_statm()
195 return nommu_vma_show(m, rb_entry(p, struct vm_area_struct, vm_rb)); in show_map()
Dnommu.c77 return nommu_region_show(m, rb_entry(p, struct vm_region, vm_rb)); in nommu_region_list_show()
/kernel/linux/linux-5.10/include/linux/
Dmm_types.h280 struct rb_node vm_rb; /* link in global region tree */ member
325 struct rb_node vm_rb; member
/kernel/linux/linux-5.10/include/drm/
Ddrm_vma_manager.h47 struct rb_node vm_rb; member
/kernel/linux/linux-5.10/kernel/
Dfork.c595 rb_link = &tmp->vm_rb.rb_right; in dup_mmap()
596 rb_parent = &tmp->vm_rb; in dup_mmap()