/drivers/gpu/drm/ |
D | drm_vm.c | 49 struct vm_area_struct *vma; member 57 struct vm_area_struct *vma) in drm_io_prot() 78 static pgprot_t drm_dma_prot(uint32_t map_type, struct vm_area_struct *vma) in drm_dma_prot() 99 static int drm_do_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_do_vm_fault() 172 static int drm_do_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_do_vm_fault() 188 static int drm_do_vm_shm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_do_vm_shm_fault() 218 static void drm_vm_shm_close(struct vm_area_struct *vma) in drm_vm_shm_close() 290 static int drm_do_vm_dma_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_do_vm_dma_fault() 324 static int drm_do_vm_sg_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_do_vm_sg_fault() 350 static int drm_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_vm_fault() [all …]
|
/drivers/staging/lustre/lustre/llite/ |
D | llite_mmap.c | 51 struct vm_area_struct *vma, unsigned long addr, in policy_from_vma() 63 struct vm_area_struct *vma, *ret = NULL; in our_vma() local 92 ll_fault_io_init(struct vm_area_struct *vma, struct lu_env **env_ret, in ll_fault_io_init() 166 static int ll_page_mkwrite0(struct vm_area_struct *vma, struct page *vmpage, in ll_page_mkwrite0() 281 static int ll_fault0(struct vm_area_struct *vma, struct vm_fault *vmf) in ll_fault0() 336 static int ll_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in ll_fault() 377 static int ll_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf) in ll_page_mkwrite() 423 static void ll_vm_open(struct vm_area_struct *vma) in ll_vm_open() 435 static void ll_vm_close(struct vm_area_struct *vma) in ll_vm_close() 468 int ll_file_mmap(struct file *file, struct vm_area_struct *vma) in ll_file_mmap()
|
/drivers/gpu/drm/i915/ |
D | i915_gem_fence.c | 61 struct i915_vma *vma) in i965_write_fence_reg() 116 struct i915_vma *vma) in i915_write_fence_reg() 163 struct i915_vma *vma) in i830_write_fence_reg() 201 struct i915_vma *vma) in fence_write() 223 struct i915_vma *vma) in fence_update() 289 i915_vma_put_fence(struct i915_vma *vma) in i915_vma_put_fence() 341 i915_vma_get_fence(struct i915_vma *vma) in i915_vma_get_fence() 386 struct i915_vma *vma = reg->vma; in i915_gem_restore_fences() local
|
D | i915_gem_execbuffer.c | 117 struct i915_vma *vma = list_entry(eb->vmas.prev, typeof(*vma), exec_list); in eb_get_batch() local 174 struct i915_vma *vma; in eb_lookup_vmas() local 238 struct i915_vma *vma; in eb_get_vma() local 250 i915_gem_execbuffer_unreserve_vma(struct i915_vma *vma) in i915_gem_execbuffer_unreserve_vma() 271 struct i915_vma *vma; in eb_destroy() local 434 struct i915_vma *vma; in reloc_iomap() local 666 i915_gem_execbuffer_relocate_vma(struct i915_vma *vma, in i915_gem_execbuffer_relocate_vma() 718 i915_gem_execbuffer_relocate_vma_slow(struct i915_vma *vma, in i915_gem_execbuffer_relocate_vma_slow() 740 struct i915_vma *vma; in i915_gem_execbuffer_relocate() local 768 i915_gem_execbuffer_reserve_vma(struct i915_vma *vma, in i915_gem_execbuffer_reserve_vma() [all …]
|
D | i915_gem_evict.c | 50 mark_free(struct i915_vma *vma, unsigned int flags, struct list_head *unwind) in mark_free() 102 struct i915_vma *vma, *next; in i915_gem_evict_something() local 219 struct i915_vma *vma; in i915_gem_evict_for_vma() local 266 struct i915_vma *vma, *next; in i915_gem_evict_vm() local
|
D | i915_gem_gtt.h | 247 static inline bool i915_vma_is_ggtt(const struct i915_vma *vma) in i915_vma_is_ggtt() 252 static inline bool i915_vma_is_map_and_fenceable(const struct i915_vma *vma) in i915_vma_is_map_and_fenceable() 257 static inline bool i915_vma_is_closed(const struct i915_vma *vma) in i915_vma_is_closed() 262 static inline unsigned int i915_vma_get_active(const struct i915_vma *vma) in i915_vma_get_active() 267 static inline bool i915_vma_is_active(const struct i915_vma *vma) in i915_vma_is_active() 272 static inline void i915_vma_set_active(struct i915_vma *vma, in i915_vma_set_active() 278 static inline void i915_vma_clear_active(struct i915_vma *vma, in i915_vma_clear_active() 284 static inline bool i915_vma_has_active_engine(const struct i915_vma *vma, in i915_vma_has_active_engine() 290 static inline u32 i915_ggtt_offset(const struct i915_vma *vma) in i915_ggtt_offset() 652 i915_vma_pin(struct i915_vma *vma, u64 size, u64 alignment, u64 flags) in i915_vma_pin() [all …]
|
D | i915_gem_tiling.c | 119 static bool i915_vma_fence_prepare(struct i915_vma *vma, int tiling_mode) in i915_vma_fence_prepare() 150 struct i915_vma *vma; in i915_gem_object_fence_prepare() local 261 struct i915_vma *vma; in i915_gem_set_tiling() local
|
/drivers/gpu/drm/ttm/ |
D | ttm_bo_vm.c | 46 struct vm_area_struct *vma, in ttm_bo_vm_fault_idle() 95 static int ttm_bo_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in ttm_bo_vm_fault() 279 static void ttm_bo_vm_open(struct vm_area_struct *vma) in ttm_bo_vm_open() 289 static void ttm_bo_vm_close(struct vm_area_struct *vma) in ttm_bo_vm_close() 327 int ttm_bo_mmap(struct file *filp, struct vm_area_struct *vma, in ttm_bo_mmap() 372 int ttm_fbdev_mmap(struct vm_area_struct *vma, struct ttm_buffer_object *bo) in ttm_fbdev_mmap()
|
/drivers/xen/ |
D | privcmd.c | 198 struct vm_area_struct *vma; member 206 struct vm_area_struct *vma = st->vma; in mmap_gfn_range() local 236 struct vm_area_struct *vma; in privcmd_ioctl_mmap() local 291 struct vm_area_struct *vma; member 315 struct vm_area_struct *vma = st->vma; in mmap_batch_fn() local 395 static int alloc_empty_pages(struct vm_area_struct *vma, int numpgs) in alloc_empty_pages() 424 struct vm_area_struct *vma; in privcmd_ioctl_mmap_batch() local 582 static void privcmd_close(struct vm_area_struct *vma) in privcmd_close() 601 static int privcmd_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in privcmd_fault() 615 static int privcmd_mmap(struct file *file, struct vm_area_struct *vma) in privcmd_mmap() [all …]
|
/drivers/char/ |
D | mspec.c | 142 mspec_open(struct vm_area_struct *vma) in mspec_open() 157 mspec_close(struct vm_area_struct *vma) in mspec_close() 194 mspec_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in mspec_fault() 249 mspec_mmap(struct file *file, struct vm_area_struct *vma, in mspec_mmap() 289 fetchop_mmap(struct file *file, struct vm_area_struct *vma) in fetchop_mmap() 295 cached_mmap(struct file *file, struct vm_area_struct *vma) in cached_mmap() 301 uncached_mmap(struct file *file, struct vm_area_struct *vma) in uncached_mmap()
|
/drivers/misc/mic/scif/ |
D | scif_mmap.c | 27 struct vm_area_struct *vma; member 79 struct vm_area_struct *vma; in __scif_zap_mmaps() local 169 static int scif_insert_vma(struct scif_endpt *ep, struct vm_area_struct *vma) in scif_insert_vma() 188 static void scif_delete_vma(struct scif_endpt *ep, struct vm_area_struct *vma) in scif_delete_vma() 382 int nr_pages, struct vm_area_struct *vma) in scif_rma_list_mmap() 533 static void scif_vma_open(struct vm_area_struct *vma) in scif_vma_open() 551 static void scif_munmap(struct vm_area_struct *vma) in scif_munmap() 611 int scif_mmap(struct vm_area_struct *vma, scif_epd_t epd) in scif_mmap()
|
/drivers/infiniband/sw/rxe/ |
D | rxe_mmap.c | 65 static void rxe_vma_open(struct vm_area_struct *vma) in rxe_vma_open() 72 static void rxe_vma_close(struct vm_area_struct *vma) in rxe_vma_close() 90 int rxe_mmap(struct ib_ucontext *context, struct vm_area_struct *vma) in rxe_mmap()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | gf100.c | 89 gf100_vm_addr(struct nvkm_vma *vma, u64 phys, u32 memtype, u32 target) in gf100_vm_addr() 103 gf100_vm_map(struct nvkm_vma *vma, struct nvkm_memory *pgt, in gf100_vm_map() 130 gf100_vm_map_sg(struct nvkm_vma *vma, struct nvkm_memory *pgt, in gf100_vm_map_sg() 149 gf100_vm_unmap(struct nvkm_vma *vma, struct nvkm_memory *pgt, u32 pte, u32 cnt) in gf100_vm_unmap()
|
D | nv50.c | 64 vm_addr(struct nvkm_vma *vma, u64 phys, u32 memtype, u32 target) in vm_addr() 77 nv50_vm_map(struct nvkm_vma *vma, struct nvkm_memory *pgt, in nv50_vm_map() 127 nv50_vm_map_sg(struct nvkm_vma *vma, struct nvkm_memory *pgt, in nv50_vm_map_sg() 143 nv50_vm_unmap(struct nvkm_vma *vma, struct nvkm_memory *pgt, u32 pte, u32 cnt) in nv50_vm_unmap()
|
D | base.c | 30 nvkm_vm_map_at(struct nvkm_vma *vma, u64 delta, struct nvkm_mem *node) in nvkm_vm_map_at() 74 nvkm_vm_map_sg_table(struct nvkm_vma *vma, u64 delta, u64 length, in nvkm_vm_map_sg_table() 132 nvkm_vm_map_sg(struct nvkm_vma *vma, u64 delta, u64 length, in nvkm_vm_map_sg() 170 nvkm_vm_map(struct nvkm_vma *vma, struct nvkm_mem *node) in nvkm_vm_map() 182 nvkm_vm_unmap_at(struct nvkm_vma *vma, u64 delta, u64 length) in nvkm_vm_unmap_at() 217 nvkm_vm_unmap(struct nvkm_vma *vma) in nvkm_vm_unmap() 277 struct nvkm_vma *vma) in nvkm_vm_get() 324 nvkm_vm_put(struct nvkm_vma *vma) in nvkm_vm_put()
|
/drivers/infiniband/sw/rdmavt/ |
D | mmap.c | 84 static void rvt_vma_open(struct vm_area_struct *vma) in rvt_vma_open() 91 static void rvt_vma_close(struct vm_area_struct *vma) in rvt_vma_close() 110 int rvt_mmap(struct ib_ucontext *context, struct vm_area_struct *vma) in rvt_mmap()
|
/drivers/media/v4l2-core/ |
D | videobuf-dma-contig.c | 66 static void videobuf_vm_open(struct vm_area_struct *vma) in videobuf_vm_open() 76 static void videobuf_vm_close(struct vm_area_struct *vma) in videobuf_vm_close() 164 struct vm_area_struct *vma; in videobuf_dma_contig_user_get() local 278 struct vm_area_struct *vma) in __videobuf_mmap_mapper()
|
D | videobuf-vmalloc.c | 54 static void videobuf_vm_open(struct vm_area_struct *vma) in videobuf_vm_open() 64 static void videobuf_vm_close(struct vm_area_struct *vma) in videobuf_vm_close() 234 struct vm_area_struct *vma) in __videobuf_mmap_mapper()
|
D | videobuf2-memops.c | 94 static void vb2_common_vm_open(struct vm_area_struct *vma) in vb2_common_vm_open() 112 static void vb2_common_vm_close(struct vm_area_struct *vma) in vb2_common_vm_close()
|
/drivers/misc/sgi-gru/ |
D | grufault.c | 63 struct vm_area_struct *vma; in gru_find_vma() local 82 struct vm_area_struct *vma; in gru_find_lock_gts() local 99 struct vm_area_struct *vma; in gru_alloc_locked_gts() local 190 static int non_atomic_pte_lookup(struct vm_area_struct *vma, in non_atomic_pte_lookup() 218 static int atomic_pte_lookup(struct vm_area_struct *vma, unsigned long vaddr, in atomic_pte_lookup() 264 struct vm_area_struct *vma; in gru_vtop() local
|
/drivers/gpu/drm/exynos/ |
D | exynos_drm_gem.c | 341 struct vm_area_struct *vma) in exynos_drm_gem_mmap_buffer() 459 int exynos_drm_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in exynos_drm_gem_fault() 494 struct vm_area_struct *vma) in exynos_drm_gem_mmap_obj() 523 int exynos_drm_gem_mmap(struct file *filp, struct vm_area_struct *vma) in exynos_drm_gem_mmap() 619 struct vm_area_struct *vma) in exynos_drm_gem_prime_mmap()
|
/drivers/video/fbdev/core/ |
D | fb_defio.c | 40 static int fb_deferred_io_fault(struct vm_area_struct *vma, in fb_deferred_io_fault() 94 static int fb_deferred_io_mkwrite(struct vm_area_struct *vma, in fb_deferred_io_mkwrite() 167 int fb_deferred_io_mmap(struct fb_info *info, struct vm_area_struct *vma) in fb_deferred_io_mmap()
|
/drivers/gpu/drm/udl/ |
D | udl_gem.c | 61 struct vm_area_struct *vma) in update_vm_cache_attr() 87 int udl_drm_gem_mmap(struct file *filp, struct vm_area_struct *vma) in udl_drm_gem_mmap() 103 int udl_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in udl_gem_fault()
|
/drivers/dax/ |
D | dax.c | 264 static int check_vma(struct dax_dev *dax_dev, struct vm_area_struct *vma, in check_vma() 329 static int __dax_dev_fault(struct dax_dev *dax_dev, struct vm_area_struct *vma, in __dax_dev_fault() 371 static int dax_dev_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in dax_dev_fault() 388 struct vm_area_struct *vma, unsigned long addr, pmd_t *pmd, in __dax_dev_pmd_fault() 438 static int dax_dev_pmd_fault(struct vm_area_struct *vma, unsigned long addr, in dax_dev_pmd_fault() 456 static int dax_dev_split(struct vm_area_struct *vma, unsigned long addr) in dax_dev_split() 473 static int dax_mmap(struct file *filp, struct vm_area_struct *vma) in dax_mmap()
|
/drivers/gpu/drm/mediatek/ |
D | mtk_drm_gem.c | 160 struct vm_area_struct *vma) in mtk_drm_gem_object_mmap() 182 int mtk_drm_gem_mmap_buf(struct drm_gem_object *obj, struct vm_area_struct *vma) in mtk_drm_gem_mmap_buf() 193 int mtk_drm_gem_mmap(struct file *filp, struct vm_area_struct *vma) in mtk_drm_gem_mmap()
|