Home
last modified time | relevance | path

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

12345678910>>...13

/drivers/gpu/drm/i915/
Di915_vma.h50 static inline bool i915_vma_is_active(const struct i915_vma *vma) in i915_vma_is_active()
66 static inline bool i915_vma_is_ggtt(const struct i915_vma *vma) in i915_vma_is_ggtt()
71 static inline bool i915_vma_is_dpt(const struct i915_vma *vma) in i915_vma_is_dpt()
76 static inline bool i915_vma_has_ggtt_write(const struct i915_vma *vma) in i915_vma_has_ggtt_write()
81 static inline void i915_vma_set_ggtt_write(struct i915_vma *vma) in i915_vma_set_ggtt_write()
87 static inline bool i915_vma_unset_ggtt_write(struct i915_vma *vma) in i915_vma_unset_ggtt_write()
95 static inline bool i915_vma_is_map_and_fenceable(const struct i915_vma *vma) in i915_vma_is_map_and_fenceable()
100 static inline bool i915_vma_set_userfault(struct i915_vma *vma) in i915_vma_set_userfault()
106 static inline void i915_vma_unset_userfault(struct i915_vma *vma) in i915_vma_unset_userfault()
111 static inline bool i915_vma_has_userfault(const struct i915_vma *vma) in i915_vma_has_userfault()
[all …]
Di915_vma.c48 void i915_vma_free(struct i915_vma *vma) in i915_vma_free()
57 static void vma_print_allocator(struct i915_vma *vma, const char *reason) in vma_print_allocator()
77 static void vma_print_allocator(struct i915_vma *vma, const char *reason) in vma_print_allocator()
104 struct i915_vma *vma; in vma_create() local
237 struct i915_vma *vma = rb_entry(rb, struct i915_vma, obj_node); in i915_vma_lookup() local
271 struct i915_vma *vma; in i915_vma_instance() local
292 struct i915_vma *vma; member
302 struct i915_vma *vma = vw->vma; in __vma_bind() local
341 int i915_vma_wait_for_bind(struct i915_vma *vma) in i915_vma_wait_for_bind()
371 int i915_vma_bind(struct i915_vma *vma, in i915_vma_bind()
[all …]
Di915_gem_evict.c54 struct i915_vma *vma, in mark_free()
65 static bool defer_evict(struct i915_vma *vma) in defer_evict()
108 struct i915_vma *vma, *next; in i915_gem_evict_something() local
271 struct i915_vma *vma, *next; in i915_gem_evict_for_node() local
389 struct i915_vma *vma, *vn; in i915_gem_evict_vm() local
Di915_gem.c93 struct i915_vma *vma; in i915_gem_get_aperture_ioctl() local
118 struct i915_vma *vma; in i915_gem_object_unbind() local
293 struct i915_vma *vma; in i915_gem_gtt_prepare() local
350 struct i915_vma *vma) in i915_gem_gtt_cleanup()
373 struct i915_vma *vma; in i915_gem_gtt_pread() local
529 struct i915_vma *vma; in i915_gem_gtt_pwrite_fast() local
857 static void discard_ggtt_vma(struct i915_vma *vma) in discard_ggtt_vma()
877 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/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/gpu/drm/msm/
Dmsm_gem_vma.c42 struct msm_gem_vma *vma) in msm_gem_purge_vma()
62 struct msm_gem_vma *vma) in msm_gem_unmap_vma()
70 struct msm_gem_vma *vma, int prot, in msm_gem_map_vma()
101 struct msm_gem_vma *vma) in msm_gem_close_vma()
118 struct msm_gem_vma *vma, int npages, in msm_gem_init_vma()
Dmsm_gem.c222 struct vm_area_struct *vma = vmf->vma; in msm_gem_fault() local
301 struct msm_gem_vma *vma; in add_vma() local
320 struct msm_gem_vma *vma; in lookup_vma() local
332 static void del_vma(struct msm_gem_vma *vma) in del_vma()
351 struct msm_gem_vma *vma; in put_iova_spaces() local
369 struct msm_gem_vma *vma, *tmp; in put_iova_vmas() local
382 struct msm_gem_vma *vma; in get_iova_locked() local
410 struct msm_gem_vma *vma; in msm_gem_pin_iova() local
518 struct msm_gem_vma *vma; in msm_gem_iova() local
535 struct msm_gem_vma *vma; in msm_gem_unpin_iova_locked() local
[all …]
/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.c196 struct vm_area_struct *vma = vmf->vma; in ttm_bo_vm_fault_reserved() local
299 struct vm_area_struct *vma = vmf->vma; in ttm_bo_vm_dummy_page() local
329 struct vm_area_struct *vma = vmf->vma; in ttm_bo_vm_fault() local
356 void ttm_bo_vm_open(struct vm_area_struct *vma) in ttm_bo_vm_open()
366 void ttm_bo_vm_close(struct vm_area_struct *vma) in ttm_bo_vm_close()
414 int ttm_bo_vm_access(struct vm_area_struct *vma, unsigned long addr, in ttm_bo_vm_access()
457 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.c36 static bool assert_vma(struct i915_vma *vma, in assert_vma()
67 struct i915_vma *vma; in checked_vma_instance() local
118 struct i915_vma *vma; in create_vmas() local
226 static bool assert_pin_valid(const struct i915_vma *vma, in assert_pin_valid()
240 static bool assert_pin_enospc(const struct i915_vma *vma, in assert_pin_enospc()
248 static bool assert_pin_einval(const struct i915_vma *vma, in assert_pin_einval()
311 struct i915_vma *vma; in igt_vma_pin1() local
615 struct i915_vma *vma; in igt_vma_rotate_remap() local
709 struct i915_vma *vma, in assert_partial()
738 static bool assert_pin(struct i915_vma *vma, in assert_pin()
[all …]
Dmock_gtt.c36 struct i915_vma *vma, in mock_insert_entries()
43 struct i915_vma *vma, in mock_bind_ppgtt()
52 struct i915_vma *vma) in mock_unbind_ppgtt()
97 struct i915_vma *vma, in mock_bind_ggtt()
104 struct i915_vma *vma) in mock_unbind_ggtt()
Di915_gem_gtt.c384 struct i915_vma *vma; in close_object_list() local
405 struct i915_vma *vma; in fill_hole() local
624 struct i915_vma *vma; in walk_hole() local
691 struct i915_vma *vma; in pot_hole() local
774 struct i915_vma *vma; in drunk_hole() local
877 struct i915_vma *vma; in __shrink_hole() local
981 struct i915_vma *vma; in shrink_boom() local
1272 static void track_vma_bind(struct i915_vma *vma) in track_vma_bind()
1357 struct i915_vma *vma; in igt_gtt_reserve() local
1409 struct i915_vma *vma; in igt_gtt_reserve() local
[all …]
/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/display/
Dintel_dpt.c16 struct i915_vma *vma; member
51 struct i915_vma *vma, in dpt_insert_entries()
79 struct i915_vma *vma, in dpt_bind_vma()
105 static void dpt_unbind_vma(struct i915_address_space *vm, struct i915_vma *vma) in dpt_unbind_vma()
122 struct i915_vma *vma; in intel_dpt_pin() local
/drivers/gpu/drm/i915/gt/
Dintel_ggtt.c121 struct i915_vma *vma, *vn; in i915_ggtt_suspend() local
224 struct i915_vma *vma, in gen8_ggtt_insert_entries()
281 struct i915_vma *vma, in gen6_ggtt_insert_entries()
378 struct i915_vma *vma; member
394 struct i915_vma *vma, in bxt_vtd_ggtt_insert_entries__BKL()
437 struct i915_vma *vma, in i915_ggtt_insert_entries()
456 struct i915_vma *vma, in ggtt_bind_vma()
477 static void ggtt_unbind_vma(struct i915_address_space *vm, struct i915_vma *vma) in ggtt_unbind_vma()
612 struct i915_vma *vma, in aliasing_gtt_bind_vma()
632 struct i915_vma *vma) in aliasing_gtt_unbind_vma()
[all …]
Dintel_ring.c34 struct i915_vma *vma = ring->vma; in intel_ring_pin() local
93 struct i915_vma *vma = ring->vma; in intel_ring_unpin() local
113 struct i915_vma *vma; in create_ring_vma() local
146 struct i915_vma *vma; in intel_engine_create_ring() local
/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c32 struct i915_vma *vma; member
245 struct eb_vma *vma; member
361 const struct i915_vma *vma, in eb_vma_misplaced()
420 struct i915_vma *vma = ev->vma; in eb_pin_vma() local
486 struct i915_vma *vma) in eb_validate_vma()
539 struct i915_vma *vma) in eb_add_vma()
600 struct i915_vma *vma = ev->vma; in eb_reserve_vma() local
743 u32 handle, struct i915_vma *vma) in __eb_add_lut()
802 struct i915_vma *vma; in eb_lookup_vma() local
843 struct i915_vma *vma; in eb_lookup_vmas() local
[all …]
Di915_gem_mman.c26 __vma_matches(struct vm_area_struct *vma, struct file *filp, in __vma_matches()
103 struct vm_area_struct *vma; in i915_gem_mmap_ioctl() local
302 struct i915_vma *vma; in vm_fault_gtt() local
482 struct i915_vma *vma; in __i915_gem_object_release_mmap_gtt() local
822 static void vm_open(struct vm_area_struct *vma) in vm_open()
831 static void vm_close(struct vm_area_struct *vma) in vm_close()
900 int i915_gem_mmap(struct file *filp, struct vm_area_struct *vma) in i915_gem_mmap()
/drivers/pci/
Dmmap.c23 struct vm_area_struct *vma, in pci_mmap_page_range()
44 struct vm_area_struct *vma, in pci_mmap_resource_range()
82 struct vm_area_struct *vma, in pci_mmap_resource_range()
/drivers/infiniband/sw/rxe/
Drxe_mmap.c38 static void rxe_vma_open(struct vm_area_struct *vma) in rxe_vma_open()
45 static void rxe_vma_close(struct vm_area_struct *vma) in rxe_vma_close()
63 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()

12345678910>>...13