Home
last modified time | relevance | path

Searched refs:vmas (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_vm_madvise.c21 struct xe_vma **vmas; member
56 madvise_range->vmas = kmalloc_objs(*madvise_range->vmas, max_vmas); in get_vmas()
57 if (!madvise_range->vmas) in get_vmas()
72 __vmas = krealloc(madvise_range->vmas, in get_vmas()
73 max_vmas * sizeof(*madvise_range->vmas), in get_vmas()
76 kfree(madvise_range->vmas); in get_vmas()
79 madvise_range->vmas = __vmas; in get_vmas()
82 madvise_range->vmas[madvise_range->num_vmas] = vma; in get_vmas()
87 kfree(madvise_range->vmas); in get_vmas()
95 struct xe_vma **vmas, int num_vmas, in madvise_preferred_mem_loc() argument
[all …]
/linux/mm/damon/tests/
H A Dvaddr-kunit.h13 static int __link_vmas(struct maple_tree *mt, struct vm_area_struct *vmas, in __link_vmas() argument
24 mas_set_range(&mas, vmas[i].vm_start, vmas[i].vm_end - 1); in __link_vmas()
25 if (mas_store_gfp(&mas, &vmas[i], GFP_KERNEL)) in __link_vmas()
67 static struct vm_area_struct vmas[] = { in damon_test_three_regions_in_vmas() local
77 if (__link_vmas(&mm.mm_mt, vmas, ARRAY_SIZE(vmas))) in damon_test_three_regions_in_vmas()
/linux/tools/mm/
H A Dthpmaps198 self.vmas = []
205 self.vmas.append(VMA(
223 self.vmas[-1].stats[param] = {'type': None, 'value': value}
226 yield from self.vmas
/linux/mm/
H A Dvma.c230 * We cannot merge two vmas if they have differently assigned (non-NULL)
257 * We cannot merge two vmas if they have differently assigned (non-NULL)
443 * we are removing both mid and next vmas in vma_complete()
1404 * @mas_detach: The maple state of the detached vmas
1438 /* Remove and clean up vmas */ in vms_complete_munmap_vmas()
1455 * Reattach any detached vmas and free up the maple tree used to track the vmas.
1471 * and marking the vmas as isolated.
1557 * If userfaultfd_unmap_prep returns an error the vmas in vms_gather_munmap_vmas()
1879 mapping = vb->vmas[ in unlink_file_vma_batch_process()
[all...]
H A Dvma.h35 struct vm_area_struct *vmas[8]; member
51 int vma_count; /* Number of vmas that will be removed */
183 * unmap_all_init() - Initialize unmap_desc to remove all vmas, point the
204 * ARM can have mappings outside of vmas.
/linux/Documentation/gpu/
H A Ddrm-vm-bind-locking.rst234 only a subset of vmas are selected for rebind. In this case, all vmas that are
/linux/Documentation/gpu/rfc/
H A Di915_vm_bind.rst122 invalidated vmas (due to eviction and userptr invalidation) etc.