/drivers/gpu/drm/i915/ |
D | i915_vma.h | 51 static inline bool i915_vma_is_active(const struct i915_vma *vma) in i915_vma_is_active() 65 i915_vma_move_to_active(struct i915_vma *vma, struct i915_request *rq, in i915_vma_move_to_active() 73 static inline bool i915_vma_is_ggtt(const struct i915_vma *vma) in i915_vma_is_ggtt() 78 static inline bool i915_vma_is_dpt(const struct i915_vma *vma) in i915_vma_is_dpt() 83 static inline bool i915_vma_has_ggtt_write(const struct i915_vma *vma) in i915_vma_has_ggtt_write() 88 static inline void i915_vma_set_ggtt_write(struct i915_vma *vma) in i915_vma_set_ggtt_write() 94 static inline bool i915_vma_unset_ggtt_write(struct i915_vma *vma) in i915_vma_unset_ggtt_write() 102 static inline bool i915_vma_is_map_and_fenceable(const struct i915_vma *vma) in i915_vma_is_map_and_fenceable() 107 static inline bool i915_vma_set_userfault(struct i915_vma *vma) in i915_vma_set_userfault() 113 static inline void i915_vma_unset_userfault(struct i915_vma *vma) in i915_vma_unset_userfault() [all …]
|
D | i915_vma.c | 47 static inline void assert_vma_held_evict(const struct i915_vma *vma) in assert_vma_held_evict() 65 static void i915_vma_free(struct i915_vma *vma) in i915_vma_free() 74 static void vma_print_allocator(struct i915_vma *vma, const char *reason) in vma_print_allocator() 93 static void vma_print_allocator(struct i915_vma *vma, const char *reason) in vma_print_allocator() 106 struct i915_vma *vma = active_to_vma(ref); in __i915_vma_active() local 123 struct i915_vma *vma = active_to_vma(ref); in __i915_vma_retire() local 142 struct i915_vma *vma; in vma_create() local 284 struct i915_vma *vma = rb_entry(rb, struct i915_vma, obj_node); in i915_vma_lookup() local 318 struct i915_vma *vma; in i915_vma_instance() local 396 int i915_vma_wait_for_bind(struct i915_vma *vma) in i915_vma_wait_for_bind() [all …]
|
D | i915_gem_evict.c | 67 static bool grab_vma(struct i915_vma *vma, struct i915_gem_ww_ctx *ww) in grab_vma() 86 static void ungrab_vma(struct i915_vma *vma) in ungrab_vma() 98 struct i915_vma *vma, in mark_free() 112 static bool defer_evict(struct i915_vma *vma) in defer_evict() 157 struct i915_vma *vma, *next; in i915_gem_evict_something() local 337 struct i915_vma *vma, *next; in i915_gem_evict_for_node() local 478 struct i915_vma *vma, *vn; in i915_gem_evict_vm() local
|
D | i915_gem.c | 98 struct i915_vma *vma; in i915_gem_get_aperture_ioctl() local 124 struct i915_vma *vma; in i915_gem_object_unbind() local 310 struct i915_vma *vma; in i915_gem_gtt_prepare() local 367 struct i915_vma *vma) in i915_gem_gtt_cleanup() 391 struct i915_vma *vma; in i915_gem_gtt_pread() local 554 struct i915_vma *vma; in i915_gem_gtt_pwrite_fast() local 893 static void discard_ggtt_vma(struct i915_vma *vma) in discard_ggtt_vma() 913 struct i915_vma *vma; in i915_gem_object_ggtt_pin_ww() local
|
/drivers/gpu/drm/ |
D | drm_vm.c | 59 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/ |
D | vmm.c | 802 struct nvkm_vma *vma = kzalloc(sizeof(*vma), GFP_KERNEL); in nvkm_vma_new() local 813 nvkm_vma_tail(struct nvkm_vma *vma, u64 tail) in nvkm_vma_tail() 836 nvkm_vmm_free_remove(struct nvkm_vmm *vmm, struct nvkm_vma *vma) in nvkm_vmm_free_remove() 842 nvkm_vmm_free_delete(struct nvkm_vmm *vmm, struct nvkm_vma *vma) in nvkm_vmm_free_delete() 850 nvkm_vmm_free_insert(struct nvkm_vmm *vmm, struct nvkm_vma *vma) in nvkm_vmm_free_insert() 878 nvkm_vmm_node_remove(struct nvkm_vmm *vmm, struct nvkm_vma *vma) in nvkm_vmm_node_remove() 884 nvkm_vmm_node_delete(struct nvkm_vmm *vmm, struct nvkm_vma *vma) in nvkm_vmm_node_delete() 892 nvkm_vmm_node_insert(struct nvkm_vmm *vmm, struct nvkm_vma *vma) in nvkm_vmm_node_insert() 918 struct nvkm_vma *vma = rb_entry(node, typeof(*vma), tree); in nvkm_vmm_node_search() local 935 struct nvkm_vma *vma, struct nvkm_vma *next, u64 size) in nvkm_vmm_node_merge() [all …]
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_vmm.c | 29 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
|
D | nouveau_gem.c | 44 struct vm_area_struct *vma = vmf->vma; in nouveau_ttm_fault() local 108 struct nouveau_vma *vma; in nouveau_gem_object_open() local 141 struct nouveau_vma *vma; member 145 nouveau_gem_object_delete(struct nouveau_vma *vma) in nouveau_gem_object_delete() 161 nouveau_gem_object_unmap(struct nouveau_bo *nvbo, struct nouveau_vma *vma) in nouveau_gem_object_unmap() 192 struct nouveau_vma *vma; in nouveau_gem_object_close() local 302 struct nouveau_vma *vma; in nouveau_gem_info() local 423 struct nouveau_vma *vma = in validate_fini_no_ticket() local 519 struct nouveau_vma *vma = nouveau_vma_find(nvbo, vmm); in validate_init() local 857 struct nouveau_vma *vma = (void *)(unsigned long) in nouveau_gem_ioctl_pushbuf() local
|
/drivers/gpu/drm/msm/ |
D | msm_gem_vma.c | 42 void msm_gem_vma_purge(struct msm_gem_vma *vma) in msm_gem_vma_purge() 58 msm_gem_vma_map(struct msm_gem_vma *vma, int prot, in msm_gem_vma_map() 94 void msm_gem_vma_close(struct msm_gem_vma *vma) in msm_gem_vma_close() 112 struct msm_gem_vma *vma; in msm_gem_vma_new() local 124 int msm_gem_vma_init(struct msm_gem_vma *vma, int size, in msm_gem_vma_init()
|
D | msm_gem.c | 289 struct vm_area_struct *vma = vmf->vma; in msm_gem_fault() local 369 struct msm_gem_vma *vma; in add_vma() local 386 struct msm_gem_vma *vma; in lookup_vma() local 398 static void del_vma(struct msm_gem_vma *vma) in del_vma() 417 struct msm_gem_vma *vma; in put_iova_spaces() local 435 struct msm_gem_vma *vma, *tmp; in put_iova_vmas() local 448 struct msm_gem_vma *vma; in get_vma_locked() local 475 int msm_gem_pin_vma_locked(struct drm_gem_object *obj, struct msm_gem_vma *vma) in msm_gem_pin_vma_locked() 538 struct msm_gem_vma *vma; in get_and_pin_iova_range_locked() local 587 struct msm_gem_vma *vma; in msm_gem_get_iova() local [all …]
|
/drivers/misc/ocxl/ |
D | context.c | 98 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/ |
D | ttm_bo_vm.c | 185 struct vm_area_struct *vma = vmf->vma; in ttm_bo_vm_fault_reserved() local 293 struct vm_area_struct *vma = vmf->vma; in ttm_bo_vm_dummy_page() local 323 struct vm_area_struct *vma = vmf->vma; in ttm_bo_vm_fault() local 350 void ttm_bo_vm_open(struct vm_area_struct *vma) in ttm_bo_vm_open() 360 void ttm_bo_vm_close(struct vm_area_struct *vma) in ttm_bo_vm_close() 408 int ttm_bo_vm_access(struct vm_area_struct *vma, unsigned long addr, in ttm_bo_vm_access() 459 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/ |
D | i915_vma.c | 37 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 …]
|
D | i915_gem_gtt.c | 397 struct i915_vma *vma; in close_object_list() local 420 struct i915_vma *vma; in fill_hole() local 654 struct i915_vma *vma; in walk_hole() local 721 struct i915_vma *vma; in pot_hole() local 810 struct i915_vma *vma; in drunk_hole() local 917 struct i915_vma *vma; in __shrink_hole() local 1021 struct i915_vma *vma; in shrink_boom() local 1083 struct i915_vma *vma; in misaligned_case() local 1436 static void track_vma_bind(struct i915_vma *vma) in track_vma_bind() 1504 static int reserve_gtt_with_resource(struct i915_vma *vma, u64 offset) in reserve_gtt_with_resource() [all …]
|
/drivers/gpu/drm/i915/display/ |
D | intel_fb_pin.c | 30 struct i915_vma *vma; in intel_pin_fb_obj_dpt() local 117 struct i915_vma *vma; in intel_pin_and_fence_fb_obj() local 230 void intel_unpin_fb_vma(struct i915_vma *vma, unsigned long flags) in intel_unpin_fb_vma() 243 struct i915_vma *vma; in intel_plane_pin_fb() local 295 struct i915_vma *vma; in intel_plane_unpin_fb() local
|
D | intel_plane_initial.c | 18 struct i915_vma **vma) in intel_reuse_initial_plane_obj() 52 struct i915_vma *vma; in initial_plane_vma() local 170 struct i915_vma *vma; in intel_alloc_initial_plane_obj() local 221 struct i915_vma *vma; in intel_find_initial_plane_obj() local
|
/drivers/gpu/drm/i915/gem/ |
D | i915_gem_mman.c | 30 __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 294 struct i915_vma *vma, in set_address_limits() 343 struct i915_vma *vma; in vm_fault_gtt() local 549 struct i915_vma *vma; in __i915_gem_object_release_mmap_gtt() local 909 static void vm_open(struct vm_area_struct *vma) in vm_open() 918 static void vm_close(struct vm_area_struct *vma) in vm_close() 984 struct vm_area_struct *vma) in i915_gem_object_mmap() 1065 int i915_gem_mmap(struct file *filp, struct vm_area_struct *vma) in i915_gem_mmap() 1108 int i915_gem_fb_mmap(struct drm_i915_gem_object *obj, struct vm_area_struct *vma) in i915_gem_fb_mmap()
|
D | i915_gem_execbuffer.c | 38 struct i915_vma *vma; member 251 struct eb_vma *vma; member 379 const struct i915_vma *vma, in eb_vma_misplaced() 441 struct i915_vma *vma = ev->vma; in eb_pin_vma() local 501 struct i915_vma *vma) in eb_validate_vma() 563 struct i915_vma *vma) in eb_add_vma() 659 struct i915_vma *vma = ev->vma; in eb_reserve_vma() local 838 u32 handle, struct i915_vma *vma) in __eb_add_lut() 893 struct i915_vma *vma; in eb_lookup_vma() local 948 struct i915_vma *vma; in eb_lookup_vmas() local [all …]
|
/drivers/char/ |
D | mspec.c | 88 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/xen/ |
D | privcmd.c | 221 struct vm_area_struct *vma; member 229 struct vm_area_struct *vma = st->vma; in mmap_gfn_range() local 260 struct vm_area_struct *vma; in privcmd_ioctl_mmap() local 319 struct vm_area_struct *vma; member 343 struct vm_area_struct *vma = st->vma; in mmap_batch_fn() local 423 static int alloc_empty_pages(struct vm_area_struct *vma, int numpgs) in alloc_empty_pages() 454 struct vm_area_struct *vma; in privcmd_ioctl_mmap_batch() local 731 struct vm_area_struct *vma; in privcmd_ioctl_mmap_resource() local 1171 static void privcmd_close(struct vm_area_struct *vma) in privcmd_close() 1204 static int privcmd_mmap(struct file *file, struct vm_area_struct *vma) in privcmd_mmap() [all …]
|
/drivers/gpu/drm/i915/gt/ |
D | intel_ring.c | 37 struct i915_vma *vma = ring->vma; in intel_ring_pin() local 96 struct i915_vma *vma = ring->vma; in intel_ring_unpin() local 116 struct i915_vma *vma; in create_ring_vma() local 150 struct i915_vma *vma; in intel_engine_create_ring() local
|
/drivers/infiniband/sw/rxe/ |
D | rxe_mmap.c | 37 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/gpu/drm/i915/gem/selftests/ |
D | huge_pages.c | 362 static int igt_check_page_sizes(struct i915_vma *vma) in igt_check_page_sizes() 428 struct i915_vma *vma; in igt_mock_exhaust_device_supported_pages() local 505 struct i915_vma *vma; in igt_mock_memory_region_huge_pages() local 601 struct i915_vma *vma; in igt_mock_ppgtt_misaligned_dma() local 745 struct i915_vma *vma; in igt_ppgtt_huge_fill() local 923 struct i915_vma *vma; in igt_ppgtt_64K() local 1056 struct i915_vma *vma, in gpu_write() 1152 struct i915_vma *vma; in __igt_write_huge() local 1625 struct i915_vma *vma; in igt_ppgtt_mixed() local 1766 struct i915_vma *vma; in igt_tmpfs_fallback() local [all …]
|
/drivers/infiniband/sw/rdmavt/ |
D | mmap.c | 42 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/ |
D | grufault.c | 50 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
|