Lines Matching refs:vmas
17 static void __link_vmas(struct vm_area_struct *vmas, ssize_t nr_vmas) in __link_vmas() argument
26 vmas[i].vm_next = &vmas[i + 1]; in __link_vmas()
28 vmas[i].vm_rb.rb_left = NULL; in __link_vmas()
29 vmas[i].vm_rb.rb_right = &vmas[i + 1].vm_rb; in __link_vmas()
35 gap = vmas[j].vm_start - vmas[j - 1].vm_end; in __link_vmas()
39 vmas[i].rb_subtree_gap = largest_gap; in __link_vmas()
41 vmas[i].vm_next = NULL; in __link_vmas()
42 vmas[i].vm_rb.rb_right = NULL; in __link_vmas()
43 vmas[i].rb_subtree_gap = 0; in __link_vmas()
77 struct vm_area_struct vmas[] = { in damon_test_three_regions_in_vmas() local
86 __link_vmas(vmas, 6); in damon_test_three_regions_in_vmas()
88 __damon_va_three_regions(&vmas[0], regions); in damon_test_three_regions_in_vmas()