Home
last modified time | relevance | path

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

1234

/Linux-v5.15/drivers/gpu/drm/ttm/
Dttm_bo_vm.c282 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_fault_reserved()
390 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_dummy_page()
421 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_fault()
448 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_open()
458 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_close()
461 vma->vm_private_data = NULL; in ttm_bo_vm_close()
507 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_access()
572 vma->vm_private_data = bo; in ttm_bo_mmap_obj()
/Linux-v5.15/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-v5.15/drivers/infiniband/sw/rxe/
Drxe_mmap.c40 struct rxe_mmap_info *ip = vma->vm_private_data; in rxe_vma_open()
47 struct rxe_mmap_info *ip = vma->vm_private_data; in rxe_vma_close()
107 vma->vm_private_data = ip; in rxe_mmap()
/Linux-v5.15/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-v5.15/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()
778 pages = vma->vm_private_data; in privcmd_ioctl_mmap_resource()
786 vma->vm_private_data = PRIV_VMA_LOCKED; in privcmd_ioctl_mmap_resource()
901 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.c464 struct gntalloc_vma_private_data *priv = vma->vm_private_data; in gntalloc_vma_open()
476 struct gntalloc_vma_private_data *priv = vma->vm_private_data; in gntalloc_vma_close()
540 vma->vm_private_data = vm_priv; in gntalloc_mmap()
Dgntdev.c431 struct gntdev_grant_map *map = vma->vm_private_data; in gntdev_vma_open()
439 struct gntdev_grant_map *map = vma->vm_private_data; in gntdev_vma_close()
449 vma->vm_private_data = NULL; in gntdev_vma_close()
456 struct gntdev_grant_map *map = vma->vm_private_data; in gntdev_vma_find_special_page()
641 map = vma->vm_private_data; in gntdev_ioctl_get_offset_for_vaddr()
997 vma->vm_private_data = map; in gntdev_mmap()
/Linux-v5.15/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-v5.15/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-v5.15/drivers/video/fbdev/core/
Dfb_defio.c44 struct fb_info *info = vmf->vma->vm_private_data; in fb_deferred_io_fault()
96 struct fb_info *info = vmf->vma->vm_private_data; in fb_deferred_io_mkwrite()
171 vma->vm_private_data = info; in fb_deferred_io_mmap()
/Linux-v5.15/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.c526 struct drm_gem_object *obj = vma->vm_private_data; in drm_gem_shmem_fault()
555 struct drm_gem_object *obj = vma->vm_private_data; in drm_gem_shmem_vm_open()
569 struct drm_gem_object *obj = vma->vm_private_data; in drm_gem_shmem_vm_close()
602 vma->vm_private_data = NULL; in drm_gem_shmem_mmap()
/Linux-v5.15/arch/x86/kernel/cpu/sgx/
Dencl.c146 encl = vma->vm_private_data; in sgx_vma_fault()
185 struct sgx_encl *encl = vma->vm_private_data; in sgx_vma_open()
196 vma->vm_private_data = NULL; in sgx_vma_open()
264 return sgx_encl_may_map(vma->vm_private_data, start, end, newflags); in sgx_vma_mprotect()
322 struct sgx_encl *encl = vma->vm_private_data; in sgx_vma_access()
657 if (encl != vma->vm_private_data) in sgx_encl_test_and_clear_young()
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-v5.15/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.c65 struct videobuf_mapping *map = vma->vm_private_data; in videobuf_vm_open()
75 struct videobuf_mapping *map = vma->vm_private_data; in videobuf_vm_close()
324 vma->vm_private_data = map; in __videobuf_mmap_mapper()
/Linux-v5.15/drivers/gpu/drm/i915/gem/
Di915_gem_mman.c248 struct i915_mmap_offset *mmo = area->vm_private_data; in vm_fault_cpu()
292 struct i915_mmap_offset *mmo = area->vm_private_data; in vm_fault_gtt()
431 struct i915_mmap_offset *mmo = area->vm_private_data; in vm_access()
823 struct i915_mmap_offset *mmo = vma->vm_private_data; in vm_open()
832 struct i915_mmap_offset *mmo = vma->vm_private_data; in vm_close()
971 vma->vm_private_data = node->driver_private; in i915_gem_mmap()
975 vma->vm_private_data = mmo; in i915_gem_mmap()
Di915_gem_ttm.c802 i915_ttm_to_gem(area->vm_private_data); in vm_fault_ttm()
817 i915_ttm_to_gem(area->vm_private_data); in vm_access_ttm()
828 i915_ttm_to_gem(vma->vm_private_data); in ttm_vm_open()
837 i915_ttm_to_gem(vma->vm_private_data); in ttm_vm_close()
/Linux-v5.15/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-v5.15/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-v5.15/drivers/gpu/drm/vmwgfx/
Dvmwgfx_page_dirty.c397 vma->vm_private_data; in vmw_bo_vm_mkwrite()
439 vma->vm_private_data; in vmw_bo_vm_fault()
496 vma->vm_private_data; in vmw_bo_vm_huge_fault()
/Linux-v5.15/drivers/dma-buf/heaps/
Dcma_heap.c164 struct cma_heap_buffer *buffer = vma->vm_private_data; in cma_heap_vm_fault()
187 vma->vm_private_data = buffer; in cma_heap_mmap()
/Linux-v5.15/drivers/staging/vme/devices/
Dvme_user.c426 struct vme_user_vma_priv *vma_priv = vma->vm_private_data; in vme_user_vm_open()
433 struct vme_user_vma_priv *vma_priv = vma->vm_private_data; in vme_user_vm_close()
473 vma->vm_private_data = vma_priv; in vme_user_master_mmap()

1234