Home
last modified time | relevance | path

Searched defs:vma (Results 1 – 25 of 329) sorted by relevance

12345678910>>...14

/drivers/gpu/drm/i915/
Di915_vma.h51 static inline bool i915_vma_is_active(const struct i915_vma *vma) in i915_vma_is_active()
64 i915_vma_move_to_active(struct i915_vma *vma, struct i915_request *rq, in i915_vma_move_to_active()
72 static inline bool i915_vma_is_ggtt(const struct i915_vma *vma) in i915_vma_is_ggtt()
77 static inline bool i915_vma_is_dpt(const struct i915_vma *vma) in i915_vma_is_dpt()
82 static inline bool i915_vma_has_ggtt_write(const struct i915_vma *vma) in i915_vma_has_ggtt_write()
87 static inline void i915_vma_set_ggtt_write(struct i915_vma *vma) in i915_vma_set_ggtt_write()
93 static inline bool i915_vma_unset_ggtt_write(struct i915_vma *vma) in i915_vma_unset_ggtt_write()
101 static inline bool i915_vma_is_map_and_fenceable(const struct i915_vma *vma) in i915_vma_is_map_and_fenceable()
106 static inline bool i915_vma_set_userfault(struct i915_vma *vma) in i915_vma_set_userfault()
112 static inline void i915_vma_unset_userfault(struct i915_vma *vma) in i915_vma_unset_userfault()
[all …]
Di915_vma.c44 static inline void assert_vma_held_evict(const struct i915_vma *vma) in assert_vma_held_evict()
62 static void i915_vma_free(struct i915_vma *vma) in i915_vma_free()
71 static void vma_print_allocator(struct i915_vma *vma, const char *reason) in vma_print_allocator()
88 static void vma_print_allocator(struct i915_vma *vma, const char *reason) in vma_print_allocator()
115 struct i915_vma *vma; in vma_create() local
257 struct i915_vma *vma = rb_entry(rb, struct i915_vma, obj_node); in i915_vma_lookup() local
291 struct i915_vma *vma; in i915_vma_instance() local
369 int i915_vma_wait_for_bind(struct i915_vma *vma) in i915_vma_wait_for_bind()
389 static int i915_vma_verify_bind_complete(struct i915_vma *vma) in i915_vma_verify_bind_complete()
412 struct i915_vma *vma) in i915_vma_resource_init_from_vma()
[all …]
Di915_gem_evict.c58 static bool grab_vma(struct i915_vma *vma, struct i915_gem_ww_ctx *ww) in grab_vma()
77 static void ungrab_vma(struct i915_vma *vma) in ungrab_vma()
89 struct i915_vma *vma, in mark_free()
103 static bool defer_evict(struct i915_vma *vma) in defer_evict()
148 struct i915_vma *vma, *next; in i915_gem_evict_something() local
320 struct i915_vma *vma, *next; in i915_gem_evict_for_node() local
453 struct i915_vma *vma, *vn; in i915_gem_evict_vm() local
Di915_gem.c98 struct i915_vma *vma; in i915_gem_get_aperture_ioctl() local
124 struct i915_vma *vma; in i915_gem_object_unbind() local
309 struct i915_vma *vma; in i915_gem_gtt_prepare() local
366 struct i915_vma *vma) in i915_gem_gtt_cleanup()
389 struct i915_vma *vma; in i915_gem_gtt_pread() local
545 struct i915_vma *vma; in i915_gem_gtt_pwrite_fast() local
877 static void discard_ggtt_vma(struct i915_vma *vma) in discard_ggtt_vma()
897 struct i915_vma *vma; in i915_gem_object_ggtt_pin_ww() local
/drivers/gpu/drm/
Ddrm_vm.c59 struct vm_area_struct *vma; member
67 struct vm_area_struct *vma) in drm_io_prot()
89 static pgprot_t drm_dma_prot(uint32_t map_type, struct vm_area_struct *vma) in drm_dma_prot()
112 struct vm_area_struct *vma = vmf->vma; in drm_vm_fault() local
201 struct vm_area_struct *vma = vmf->vma; in drm_vm_shm_fault() local
230 static void drm_vm_shm_close(struct vm_area_struct *vma) in drm_vm_shm_close()
301 struct vm_area_struct *vma = vmf->vma; in drm_vm_dma_fault() local
336 struct vm_area_struct *vma = vmf->vma; in drm_vm_sg_fault() local
390 struct vm_area_struct *vma) in drm_vm_open_locked()
405 static void drm_vm_open(struct vm_area_struct *vma) in drm_vm_open()
[all …]
/drivers/gpu/drm/msm/
Dmsm_gem_vma.c41 bool msm_gem_vma_inuse(struct msm_gem_vma *vma) in msm_gem_vma_inuse()
60 struct msm_gem_vma *vma) in msm_gem_purge_vma()
78 void msm_gem_unpin_vma(struct msm_gem_vma *vma) in msm_gem_unpin_vma()
87 void msm_gem_unpin_vma_fenced(struct msm_gem_vma *vma, struct msm_fence_context *fctx) in msm_gem_unpin_vma_fenced()
98 struct msm_gem_vma *vma, int prot, in msm_gem_map_vma()
128 struct msm_gem_vma *vma) in msm_gem_close_vma()
144 struct msm_gem_vma *vma, int size, in msm_gem_init_vma()
Dmsm_gem.c228 struct vm_area_struct *vma = vmf->vma; in msm_gem_fault() local
308 struct msm_gem_vma *vma; in add_vma() local
327 struct msm_gem_vma *vma; in lookup_vma() local
339 static void del_vma(struct msm_gem_vma *vma) in del_vma()
358 struct msm_gem_vma *vma; in put_iova_spaces() local
376 struct msm_gem_vma *vma, *tmp; in put_iova_vmas() local
389 struct msm_gem_vma *vma; in get_vma_locked() local
416 int msm_gem_pin_vma_locked(struct drm_gem_object *obj, struct msm_gem_vma *vma) in msm_gem_pin_vma_locked()
469 struct msm_gem_vma *vma; in get_and_pin_iova_range_locked() local
516 struct msm_gem_vma *vma; in msm_gem_get_iova() local
[all …]
/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dvmm.c750 struct nvkm_vma *vma = kzalloc(sizeof(*vma), GFP_KERNEL); in nvkm_vma_new() local
761 nvkm_vma_tail(struct nvkm_vma *vma, u64 tail) in nvkm_vma_tail()
784 nvkm_vmm_free_remove(struct nvkm_vmm *vmm, struct nvkm_vma *vma) in nvkm_vmm_free_remove()
790 nvkm_vmm_free_delete(struct nvkm_vmm *vmm, struct nvkm_vma *vma) in nvkm_vmm_free_delete()
798 nvkm_vmm_free_insert(struct nvkm_vmm *vmm, struct nvkm_vma *vma) in nvkm_vmm_free_insert()
826 nvkm_vmm_node_remove(struct nvkm_vmm *vmm, struct nvkm_vma *vma) in nvkm_vmm_node_remove()
832 nvkm_vmm_node_delete(struct nvkm_vmm *vmm, struct nvkm_vma *vma) in nvkm_vmm_node_delete()
840 nvkm_vmm_node_insert(struct nvkm_vmm *vmm, struct nvkm_vma *vma) in nvkm_vmm_node_insert()
866 struct nvkm_vma *vma = rb_entry(node, typeof(*vma), tree); in nvkm_vmm_node_search() local
883 struct nvkm_vma *vma, struct nvkm_vma *next, u64 size) in nvkm_vmm_node_merge()
[all …]
/drivers/gpu/drm/nouveau/
Dnouveau_vmm.c29 nouveau_vma_unmap(struct nouveau_vma *vma) in nouveau_vma_unmap()
38 nouveau_vma_map(struct nouveau_vma *vma, struct nouveau_mem *mem) in nouveau_vma_map()
51 struct nouveau_vma *vma; in nouveau_vma_find() local
64 struct nouveau_vma *vma = *pvma; in nouveau_vma_del() local
81 struct nouveau_vma *vma; in nouveau_vma_new() local
Dnouveau_gem.c44 struct vm_area_struct *vma = vmf->vma; in nouveau_ttm_fault() local
107 struct nouveau_vma *vma; in nouveau_gem_object_open() local
133 struct nouveau_vma *vma; member
137 nouveau_gem_object_delete(struct nouveau_vma *vma) in nouveau_gem_object_delete()
153 nouveau_gem_object_unmap(struct nouveau_bo *nvbo, struct nouveau_vma *vma) in nouveau_gem_object_unmap()
184 struct nouveau_vma *vma; in nouveau_gem_object_close() local
273 struct nouveau_vma *vma; in nouveau_gem_info() local
387 struct nouveau_vma *vma = in validate_fini_no_ticket() local
483 struct nouveau_vma *vma = nouveau_vma_find(nvbo, vmm); in validate_init() local
833 struct nouveau_vma *vma = (void *)(unsigned long) in nouveau_gem_ioctl_pushbuf() local
/drivers/misc/ocxl/
Dcontext.c98 static vm_fault_t map_afu_irq(struct vm_area_struct *vma, unsigned long address, in map_afu_irq()
111 static vm_fault_t map_pp_mmio(struct vm_area_struct *vma, unsigned long address, in map_pp_mmio()
141 struct vm_area_struct *vma = vmf->vma; in ocxl_mmap_fault() local
162 struct vm_area_struct *vma) in check_mmap_afu_irq()
188 struct vm_area_struct *vma) in check_mmap_mmio()
196 int ocxl_context_mmap(struct ocxl_context *ctx, struct vm_area_struct *vma) in ocxl_context_mmap()
/drivers/gpu/drm/ttm/
Dttm_bo_vm.c190 struct vm_area_struct *vma = vmf->vma; in ttm_bo_vm_fault_reserved() local
291 struct vm_area_struct *vma = vmf->vma; in ttm_bo_vm_dummy_page() local
321 struct vm_area_struct *vma = vmf->vma; in ttm_bo_vm_fault() local
348 void ttm_bo_vm_open(struct vm_area_struct *vma) in ttm_bo_vm_open()
358 void ttm_bo_vm_close(struct vm_area_struct *vma) in ttm_bo_vm_close()
406 int ttm_bo_vm_access(struct vm_area_struct *vma, unsigned long addr, in ttm_bo_vm_access()
449 int ttm_bo_mmap_obj(struct vm_area_struct *vma, struct ttm_buffer_object *bo) in ttm_bo_mmap_obj()
/drivers/gpu/drm/i915/selftests/
Di915_vma.c37 static bool assert_vma(struct i915_vma *vma, in assert_vma()
68 struct i915_vma *vma; in checked_vma_instance() local
119 struct i915_vma *vma; in create_vmas() local
227 static bool assert_pin_valid(const struct i915_vma *vma, in assert_pin_valid()
241 static bool assert_pin_enospc(const struct i915_vma *vma, in assert_pin_enospc()
249 static bool assert_pin_einval(const struct i915_vma *vma, in assert_pin_einval()
312 struct i915_vma *vma; in igt_vma_pin1() local
616 struct i915_vma *vma; in igt_vma_rotate_remap() local
714 struct i915_vma *vma, in assert_partial()
743 static bool assert_pin(struct i915_vma *vma, in assert_pin()
[all …]
Di915_gem_gtt.c391 struct i915_vma *vma; in close_object_list() local
414 struct i915_vma *vma; in fill_hole() local
648 struct i915_vma *vma; in walk_hole() local
715 struct i915_vma *vma; in pot_hole() local
804 struct i915_vma *vma; in drunk_hole() local
911 struct i915_vma *vma; in __shrink_hole() local
1015 struct i915_vma *vma; in shrink_boom() local
1077 struct i915_vma *vma; in misaligned_case() local
1434 static void track_vma_bind(struct i915_vma *vma) in track_vma_bind()
1502 static int reserve_gtt_with_resource(struct i915_vma *vma, u64 offset) in reserve_gtt_with_resource()
[all …]
/drivers/gpu/drm/i915/display/
Dintel_fb_pin.c30 struct i915_vma *vma; in intel_pin_fb_obj_dpt() local
117 struct i915_vma *vma; in intel_pin_and_fence_fb_obj() local
231 void intel_unpin_fb_vma(struct i915_vma *vma, unsigned long flags) in intel_unpin_fb_vma()
244 struct i915_vma *vma; in intel_plane_pin_fb() local
286 struct i915_vma *vma; in intel_plane_unpin_fb() local
Dintel_plane_initial.c18 struct i915_vma **vma) in intel_reuse_initial_plane_obj()
52 struct i915_vma *vma; in initial_plane_vma() local
168 struct i915_vma *vma; in intel_alloc_initial_plane_obj() local
219 struct i915_vma *vma; in intel_find_initial_plane_obj() local
/drivers/xen/
Dprivcmd.c216 struct vm_area_struct *vma; member
224 struct vm_area_struct *vma = st->vma; in mmap_gfn_range() local
255 struct vm_area_struct *vma; in privcmd_ioctl_mmap() local
314 struct vm_area_struct *vma; member
338 struct vm_area_struct *vma = st->vma; in mmap_batch_fn() local
418 static int alloc_empty_pages(struct vm_area_struct *vma, int numpgs) in alloc_empty_pages()
449 struct vm_area_struct *vma; in privcmd_ioctl_mmap_batch() local
726 struct vm_area_struct *vma; in privcmd_ioctl_mmap_resource() local
900 static void privcmd_close(struct vm_area_struct *vma) in privcmd_close()
933 static int privcmd_mmap(struct file *file, struct vm_area_struct *vma) in privcmd_mmap()
[all …]
/drivers/char/
Dmspec.c88 mspec_open(struct vm_area_struct *vma) in mspec_open()
103 mspec_close(struct vm_area_struct *vma) in mspec_close()
181 mspec_mmap(struct file *file, struct vm_area_struct *vma, in mspec_mmap()
218 cached_mmap(struct file *file, struct vm_area_struct *vma) in cached_mmap()
224 uncached_mmap(struct file *file, struct vm_area_struct *vma) in uncached_mmap()
/drivers/gpu/drm/i915/gem/
Di915_gem_mman.c30 __vma_matches(struct vm_area_struct *vma, struct file *filp, in __vma_matches()
107 struct vm_area_struct *vma; in i915_gem_mmap_ioctl() local
306 struct i915_vma *vma; in vm_fault_gtt() local
499 struct i915_vma *vma; in __i915_gem_object_release_mmap_gtt() local
859 static void vm_open(struct vm_area_struct *vma) in vm_open()
868 static void vm_close(struct vm_area_struct *vma) in vm_close()
937 int i915_gem_mmap(struct file *filp, struct vm_area_struct *vma) in i915_gem_mmap()
Di915_gem_execbuffer.c37 struct i915_vma *vma; member
250 struct eb_vma *vma; member
378 const struct i915_vma *vma, in eb_vma_misplaced()
437 struct i915_vma *vma = ev->vma; in eb_pin_vma() local
497 struct i915_vma *vma) in eb_validate_vma()
559 struct i915_vma *vma) in eb_add_vma()
649 struct i915_vma *vma = ev->vma; in eb_reserve_vma() local
829 u32 handle, struct i915_vma *vma) in __eb_add_lut()
884 struct i915_vma *vma; in eb_lookup_vma() local
939 struct i915_vma *vma; in eb_lookup_vmas() local
[all …]
/drivers/gpu/drm/i915/gt/
Dintel_ring.c36 struct i915_vma *vma = ring->vma; in intel_ring_pin() local
95 struct i915_vma *vma = ring->vma; in intel_ring_unpin() local
115 struct i915_vma *vma; in create_ring_vma() local
149 struct i915_vma *vma; in intel_engine_create_ring() local
/drivers/infiniband/sw/rxe/
Drxe_mmap.c37 static void rxe_vma_open(struct vm_area_struct *vma) in rxe_vma_open()
44 static void rxe_vma_close(struct vm_area_struct *vma) in rxe_vma_close()
62 int rxe_mmap(struct ib_ucontext *context, struct vm_area_struct *vma) in rxe_mmap()
/drivers/infiniband/sw/rdmavt/
Dmmap.c42 static void rvt_vma_open(struct vm_area_struct *vma) in rvt_vma_open()
49 static void rvt_vma_close(struct vm_area_struct *vma) in rvt_vma_close()
68 int rvt_mmap(struct ib_ucontext *context, struct vm_area_struct *vma) in rvt_mmap()
/drivers/misc/sgi-gru/
Dgrufault.c50 struct vm_area_struct *vma; in gru_find_vma() local
69 struct vm_area_struct *vma; in gru_find_lock_gts() local
86 struct vm_area_struct *vma; in gru_alloc_locked_gts() local
177 static int non_atomic_pte_lookup(struct vm_area_struct *vma, in non_atomic_pte_lookup()
205 static int atomic_pte_lookup(struct vm_area_struct *vma, unsigned long vaddr, in atomic_pte_lookup()
256 struct vm_area_struct *vma; in gru_vtop() local
/drivers/gpu/drm/i915/gem/selftests/
Dhuge_pages.c358 static int igt_check_page_sizes(struct i915_vma *vma) in igt_check_page_sizes()
424 struct i915_vma *vma; in igt_mock_exhaust_device_supported_pages() local
501 struct i915_vma *vma; in igt_mock_memory_region_huge_pages() local
597 struct i915_vma *vma; in igt_mock_ppgtt_misaligned_dma() local
723 struct i915_vma *vma; in igt_mock_ppgtt_huge_fill() local
893 struct i915_vma *vma; in igt_mock_ppgtt_64K() local
996 struct i915_vma *vma, in gpu_write()
1092 struct i915_vma *vma; in __igt_write_huge() local
1552 struct i915_vma *vma; in igt_tmpfs_fallback() local
1624 struct i915_vma *vma; in igt_shrink_thp() local

12345678910>>...14