Home
last modified time | relevance | path

Searched refs:vm_private_data (Results 1 – 25 of 86) sorted by relevance

1234

/linux-6.1.9/drivers/gpu/drm/ttm/
Dttm_bo_vm.c191 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_fault_reserved()
292 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_dummy_page()
323 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_fault()
350 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_open()
360 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_close()
363 vma->vm_private_data = NULL; in ttm_bo_vm_close()
409 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_access()
469 vma->vm_private_data = bo; in ttm_bo_mmap_obj()
/linux-6.1.9/drivers/char/
Dmspec.c92 vdata = vma->vm_private_data; in mspec_open()
109 vdata = vma->vm_private_data; in mspec_close()
142 struct vma_data *vdata = vmf->vma->vm_private_data; in mspec_fault()
207 vma->vm_private_data = vdata; in mspec_mmap()
/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe_mmap.c39 struct rxe_mmap_info *ip = vma->vm_private_data; in rxe_vma_open()
46 struct rxe_mmap_info *ip = vma->vm_private_data; in rxe_vma_close()
106 vma->vm_private_data = ip; in rxe_mmap()
/linux-6.1.9/drivers/misc/sgi-gru/
Dgrufile.c67 if (!vma->vm_private_data) in gru_vma_close()
70 vdata = vma->vm_private_data; in gru_vma_close()
71 vma->vm_private_data = NULL; in gru_vma_close()
109 vma->vm_private_data = gru_alloc_vma_data(vma, 0); in gru_file_mmap()
110 if (!vma->vm_private_data) in gru_file_mmap()
114 file, vma->vm_start, vma, vma->vm_private_data); in gru_file_mmap()
142 vdata = vma->vm_private_data; in gru_create_new_context()
/linux-6.1.9/drivers/xen/
Dprivcmd.c288 if (!vma || (msg->va != vma->vm_start) || vma->vm_private_data) in privcmd_ioctl_mmap()
290 vma->vm_private_data = PRIV_VMA_LOCKED; in privcmd_ioctl_mmap()
339 struct page **pages = vma->vm_private_data; in mmap_batch_fn()
434 BUG_ON(vma->vm_private_data != NULL); in alloc_empty_pages()
435 vma->vm_private_data = pages; in alloc_empty_pages()
519 if (vma->vm_private_data == NULL) { in privcmd_ioctl_mmap_batch()
530 vma->vm_private_data = PRIV_VMA_LOCKED; in privcmd_ioctl_mmap_batch()
779 pages = vma->vm_private_data; in privcmd_ioctl_mmap_resource()
787 vma->vm_private_data = PRIV_VMA_LOCKED; in privcmd_ioctl_mmap_resource()
902 struct page **pages = vma->vm_private_data; in privcmd_close()
[all …]
Dprivcmd-buf.c88 struct privcmd_buf_vma_private *vma_priv = vma->vm_private_data; in privcmd_buf_vma_open()
100 struct privcmd_buf_vma_private *vma_priv = vma->vm_private_data; in privcmd_buf_vma_close()
161 vma->vm_private_data = vma_priv; in privcmd_buf_mmap()
Dgntalloc.c450 struct gntalloc_vma_private_data *priv = vma->vm_private_data; in gntalloc_vma_open()
462 struct gntalloc_vma_private_data *priv = vma->vm_private_data; in gntalloc_vma_close()
526 vma->vm_private_data = vm_priv; in gntalloc_mmap()
Dgntdev.c501 struct gntdev_grant_map *map = vma->vm_private_data; in gntdev_vma_open()
509 struct gntdev_grant_map *map = vma->vm_private_data; in gntdev_vma_close()
515 vma->vm_private_data = NULL; in gntdev_vma_close()
522 struct gntdev_grant_map *map = vma->vm_private_data; in gntdev_vma_find_special_page()
706 map = vma->vm_private_data; in gntdev_ioctl_get_offset_for_vaddr()
1063 vma->vm_private_data = map; in gntdev_mmap()
/linux-6.1.9/drivers/infiniband/sw/rdmavt/
Dmmap.c44 struct rvt_mmap_info *ip = vma->vm_private_data; in rvt_vma_open()
51 struct rvt_mmap_info *ip = vma->vm_private_data; in rvt_vma_close()
98 vma->vm_private_data = ip; in rvt_mmap()
/linux-6.1.9/drivers/media/common/videobuf2/
Dvideobuf2-memops.c90 struct vb2_vmarea_handler *h = vma->vm_private_data; in vb2_common_vm_open()
108 struct vb2_vmarea_handler *h = vma->vm_private_data; in vb2_common_vm_close()
/linux-6.1.9/drivers/gpu/drm/
Ddrm_vm.c202 struct drm_local_map *map = vma->vm_private_data; in drm_vm_shm_fault()
242 map = vma->vm_private_data; in drm_vm_shm_close()
246 if (pt->vma->vm_private_data == map) in drm_vm_shm_close()
337 struct drm_local_map *map = vma->vm_private_data; in drm_vm_sg_fault()
621 vma->vm_private_data = (void *)map; in drm_mmap_locked()
625 vma->vm_private_data = (void *)map; in drm_mmap_locked()
Ddrm_gem_shmem_helper.c543 struct drm_gem_object *obj = vma->vm_private_data; in drm_gem_shmem_fault()
572 struct drm_gem_object *obj = vma->vm_private_data; in drm_gem_shmem_vm_open()
594 struct drm_gem_object *obj = vma->vm_private_data; in drm_gem_shmem_vm_close()
627 vma->vm_private_data = NULL; in drm_gem_shmem_mmap()
/linux-6.1.9/drivers/media/v4l2-core/
Dvideobuf-vmalloc.c53 struct videobuf_mapping *map = vma->vm_private_data; in videobuf_vm_open()
63 struct videobuf_mapping *map = vma->vm_private_data; in videobuf_vm_close()
251 vma->vm_private_data = map; in __videobuf_mmap_mapper()
Dvideobuf-dma-contig.c64 struct videobuf_mapping *map = vma->vm_private_data; in videobuf_vm_open()
74 struct videobuf_mapping *map = vma->vm_private_data; in videobuf_vm_close()
318 vma->vm_private_data = map; in __videobuf_mmap_mapper()
Dvideobuf-dma-sg.c386 struct videobuf_mapping *map = vma->vm_private_data; in videobuf_vm_open()
396 struct videobuf_mapping *map = vma->vm_private_data; in videobuf_vm_close()
639 vma->vm_private_data = map; in __videobuf_mmap_mapper()
/linux-6.1.9/drivers/misc/habanalabs/common/
Dmemory_mgr.c203 (struct hl_mmap_mem_buf *)vma->vm_private_data; in hl_mmap_mem_buf_vm_close()
215 vma->vm_private_data = NULL; in hl_mmap_mem_buf_vm_close()
289 vma->vm_private_data = buf;
/linux-6.1.9/drivers/video/fbdev/core/
Dfb_defio.c98 struct fb_info *info = vmf->vma->vm_private_data; in fb_deferred_io_fault()
218 struct fb_info *info = vmf->vma->vm_private_data; in fb_deferred_io_mkwrite()
238 vma->vm_private_data = info; in fb_deferred_io_mmap()
/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_mman.c252 struct i915_mmap_offset *mmo = area->vm_private_data; in vm_fault_cpu()
296 struct i915_mmap_offset *mmo = area->vm_private_data; in vm_fault_gtt()
448 struct i915_mmap_offset *mmo = area->vm_private_data; in vm_access()
860 struct i915_mmap_offset *mmo = vma->vm_private_data; in vm_open()
869 struct i915_mmap_offset *mmo = vma->vm_private_data; in vm_close()
1008 vma->vm_private_data = node->driver_private; in i915_gem_mmap()
1012 vma->vm_private_data = mmo; in i915_gem_mmap()
Di915_gem_ttm.c986 struct ttm_buffer_object *bo = area->vm_private_data; in vm_fault_ttm()
1081 i915_ttm_to_gem(area->vm_private_data); in vm_access_ttm()
1092 i915_ttm_to_gem(vma->vm_private_data); in ttm_vm_open()
1094 GEM_BUG_ON(i915_ttm_is_ghost_object(vma->vm_private_data)); in ttm_vm_open()
1101 i915_ttm_to_gem(vma->vm_private_data); in ttm_vm_close()
1103 GEM_BUG_ON(i915_ttm_is_ghost_object(vma->vm_private_data)); in ttm_vm_close()
/linux-6.1.9/arch/x86/kernel/cpu/sgx/
Dencl.c419 encl = vma->vm_private_data; in sgx_vma_fault()
469 struct sgx_encl *encl = vma->vm_private_data; in sgx_vma_open()
480 vma->vm_private_data = NULL; in sgx_vma_open()
553 return sgx_encl_may_map(vma->vm_private_data, start, end, newflags); in sgx_vma_mprotect()
611 struct sgx_encl *encl = vma->vm_private_data; in sgx_vma_access()
1125 if (encl != vma->vm_private_data) in sgx_encl_test_and_clear_young()
1199 if (!ret && encl == vma->vm_private_data) in sgx_zap_enclave_ptes()
Dvirt.c77 struct sgx_vepc *vepc = vma->vm_private_data; in sgx_vepc_fault()
109 vma->vm_private_data = vepc; in sgx_vepc_mmap()
/linux-6.1.9/drivers/misc/ocxl/
Dsysfs.c112 struct ocxl_afu *afu = vma->vm_private_data; in global_mmio_fault()
140 vma->vm_private_data = afu; in global_mmio_mmap()
/linux-6.1.9/sound/usb/usx2y/
DusX2Yhwdep.c32 vaddr = (char *)((struct usx2ydev *)vmf->vma->vm_private_data)->us428ctls_sharedmem + offset; in snd_us428ctls_vm_fault()
65 area->vm_private_data = hw->private_data; in snd_us428ctls_mmap()
Dus122l.c97 struct us122l *us122l = area->vm_private_data; in usb_stream_hwdep_vm_open()
108 struct us122l *us122l = vmf->vma->vm_private_data; in usb_stream_hwdep_vm_fault()
141 struct us122l *us122l = area->vm_private_data; in usb_stream_hwdep_vm_close()
230 area->vm_private_data = us122l; in usb_stream_hwdep_mmap()
/linux-6.1.9/drivers/dma-buf/heaps/
Dcma_heap.c166 struct cma_heap_buffer *buffer = vma->vm_private_data; in cma_heap_vm_fault()
189 vma->vm_private_data = buffer; in cma_heap_mmap()

1234