Home
last modified time | relevance | path

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

1234

/linux-6.6.21/drivers/gpu/drm/ttm/
Dttm_bo_vm.c186 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_fault_reserved()
294 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_dummy_page()
325 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_fault()
352 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_open()
362 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_close()
365 vma->vm_private_data = NULL; in ttm_bo_vm_close()
411 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_access()
479 vma->vm_private_data = bo; in ttm_bo_mmap_obj()
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/drivers/xen/
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()
Dprivcmd.c293 if (!vma || (msg->va != vma->vm_start) || vma->vm_private_data) in privcmd_ioctl_mmap()
295 vma->vm_private_data = PRIV_VMA_LOCKED; in privcmd_ioctl_mmap()
344 struct page **pages = vma->vm_private_data; in mmap_batch_fn()
439 BUG_ON(vma->vm_private_data != NULL); in alloc_empty_pages()
440 vma->vm_private_data = pages; in alloc_empty_pages()
524 if (vma->vm_private_data == NULL) { in privcmd_ioctl_mmap_batch()
535 vma->vm_private_data = PRIV_VMA_LOCKED; in privcmd_ioctl_mmap_batch()
784 pages = vma->vm_private_data; in privcmd_ioctl_mmap_resource()
792 vma->vm_private_data = PRIV_VMA_LOCKED; in privcmd_ioctl_mmap_resource()
1168 struct page **pages = vma->vm_private_data; in privcmd_close()
[all …]
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.6.21/drivers/media/common/videobuf2/
Dvideobuf2-memops.c92 struct vb2_vmarea_handler *h = vma->vm_private_data; in vb2_common_vm_open()
110 struct vb2_vmarea_handler *h = vma->vm_private_data; in vb2_common_vm_close()
/linux-6.6.21/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.c512 struct drm_gem_object *obj = vma->vm_private_data; in drm_gem_shmem_fault()
541 struct drm_gem_object *obj = vma->vm_private_data; in drm_gem_shmem_vm_open()
563 struct drm_gem_object *obj = vma->vm_private_data; in drm_gem_shmem_vm_close()
601 vma->vm_private_data = NULL; in drm_gem_shmem_mmap()
/linux-6.6.21/drivers/accel/habanalabs/common/
Dmemory_mgr.c202 (struct hl_mmap_mem_buf *)vma->vm_private_data; in hl_mmap_mem_buf_vm_close()
214 vma->vm_private_data = NULL; in hl_mmap_mem_buf_vm_close()
288 vma->vm_private_data = buf;
/linux-6.6.21/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()
/linux-6.6.21/drivers/video/fbdev/core/
Dfb_defio.c98 struct fb_info *info = vmf->vma->vm_private_data; in fb_deferred_io_fault()
210 struct fb_info *info = vmf->vma->vm_private_data; in fb_deferred_io_mkwrite()
230 vma->vm_private_data = info; in fb_deferred_io_mmap()
/linux-6.6.21/arch/x86/kernel/cpu/sgx/
Dencl.c439 encl = vma->vm_private_data; in sgx_vma_fault()
489 struct sgx_encl *encl = vma->vm_private_data; in sgx_vma_open()
500 vma->vm_private_data = NULL; in sgx_vma_open()
573 return sgx_encl_may_map(vma->vm_private_data, start, end, newflags); in sgx_vma_mprotect()
631 struct sgx_encl *encl = vma->vm_private_data; in sgx_vma_access()
1147 if (encl != vma->vm_private_data) in sgx_encl_test_and_clear_young()
1221 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.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_mman.c253 struct i915_mmap_offset *mmo = area->vm_private_data; in vm_fault_cpu()
297 struct i915_mmap_offset *mmo = area->vm_private_data; in vm_fault_gtt()
458 struct i915_mmap_offset *mmo = area->vm_private_data; in vm_access()
870 struct i915_mmap_offset *mmo = vma->vm_private_data; in vm_open()
879 struct i915_mmap_offset *mmo = vma->vm_private_data; in vm_close()
980 vma->vm_private_data = obj->base.vma_node.driver_private; in i915_gem_object_mmap()
984 vma->vm_private_data = mmo; in i915_gem_object_mmap()
Di915_gem_ttm.c1044 struct ttm_buffer_object *bo = area->vm_private_data; in vm_fault_ttm()
1159 i915_ttm_to_gem(area->vm_private_data); in vm_access_ttm()
1170 i915_ttm_to_gem(vma->vm_private_data); in ttm_vm_open()
1172 GEM_BUG_ON(i915_ttm_is_ghost_object(vma->vm_private_data)); in ttm_vm_open()
1179 i915_ttm_to_gem(vma->vm_private_data); in ttm_vm_close()
1181 GEM_BUG_ON(i915_ttm_is_ghost_object(vma->vm_private_data)); in ttm_vm_close()
/linux-6.6.21/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.6.21/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.6.21/drivers/gpu/drm/gma500/
Dfbdev.c26 struct fb_info *info = vma->vm_private_data; in psb_fbdev_vm_fault()
109 vma->vm_private_data = info; in psb_fbdev_fb_mmap()
/linux-6.6.21/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