Home
last modified time | relevance | path

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

123

/linux/drivers/misc/sgi-gru/
H A 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/drivers/infiniband/sw/rxe/
H A 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/drivers/infiniband/sw/rdmavt/
H A 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/drivers/xen/
H A Dprivcmd-buf.c89 struct privcmd_buf_vma_private *vma_priv = vma->vm_private_data; in privcmd_buf_vma_open()
101 struct privcmd_buf_vma_private *vma_priv = vma->vm_private_data; in privcmd_buf_vma_close()
162 vma->vm_private_data = vma_priv; in privcmd_buf_mmap()
H A Dprivcmd.c301 if (!vma || (msg->va != vma->vm_start) || vma->vm_private_data) in privcmd_ioctl_mmap()
303 vma->vm_private_data = PRIV_VMA_LOCKED; in privcmd_ioctl_mmap()
352 struct page **pages = vma->vm_private_data; in mmap_batch_fn()
447 BUG_ON(vma->vm_private_data != NULL); in alloc_empty_pages()
448 vma->vm_private_data = pages; in alloc_empty_pages()
532 if (vma->vm_private_data == NULL) { in privcmd_ioctl_mmap_batch()
543 vma->vm_private_data = PRIV_VMA_LOCKED; in privcmd_ioctl_mmap_batch()
792 pages = vma->vm_private_data; in privcmd_ioctl_mmap_resource()
801 vma->vm_private_data = PRIV_VMA_LOCKED; in privcmd_ioctl_mmap_resource()
1253 pages = vma->vm_private_data; in alloc_ioreq()
[all …]
H A 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()
H A 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/drivers/media/common/videobuf2/
H A 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/drivers/accel/habanalabs/common/
H A 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/drivers/video/fbdev/core/
H A Dfb_defio.c133 struct fb_info *info = vmf->vma->vm_private_data; in fb_deferred_io_fault()
243 struct fb_info *info = vmf->vma->vm_private_data; in fb_deferred_io_mkwrite()
265 vma->vm_private_data = info; in fb_deferred_io_mmap()
/linux/arch/x86/kernel/cpu/sgx/
H A 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()
H A 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/drivers/gpu/drm/i915/gem/
H A Di915_gem_mman.c253 struct i915_mmap_offset *mmo = area->vm_private_data; in vm_fault_cpu()
340 struct i915_mmap_offset *mmo = area->vm_private_data; in vm_fault_gtt()
509 struct i915_mmap_offset *mmo = area->vm_private_data; in vm_access()
921 struct i915_mmap_offset *mmo = vma->vm_private_data; in vm_open()
930 struct i915_mmap_offset *mmo = vma->vm_private_data; in vm_close()
1027 vma->vm_private_data = obj->base.vma_node.driver_private; in i915_gem_object_mmap()
1031 vma->vm_private_data = mmo; in i915_gem_object_mmap()
H A Di915_gem_ttm.c1038 struct ttm_buffer_object *bo = area->vm_private_data; in vm_fault_ttm()
1154 i915_ttm_to_gem(area->vm_private_data); in vm_access_ttm()
1165 i915_ttm_to_gem(vma->vm_private_data); in ttm_vm_open()
1167 GEM_BUG_ON(i915_ttm_is_ghost_object(vma->vm_private_data)); in ttm_vm_open()
1174 i915_ttm_to_gem(vma->vm_private_data); in ttm_vm_close()
1176 GEM_BUG_ON(i915_ttm_is_ghost_object(vma->vm_private_data)); in ttm_vm_close()
/linux/drivers/gpu/drm/
H A Ddrm_gem_shmem_helper.c537 struct drm_gem_object *obj = vma->vm_private_data; in drm_gem_shmem_fault()
566 struct drm_gem_object *obj = vma->vm_private_data; in drm_gem_shmem_vm_open()
588 struct drm_gem_object *obj = vma->vm_private_data; in drm_gem_shmem_vm_close()
626 vma->vm_private_data = NULL; in drm_gem_shmem_mmap()
H A Ddrm_gem.c1018 struct drm_gem_object *obj = vma->vm_private_data; in drm_gem_vm_open()
1033 struct drm_gem_object *obj = vma->vm_private_data; in drm_gem_vm_close()
1080 vma->vm_private_data = obj; in drm_gem_mmap_obj()
/linux/sound/usb/usx2y/
H A DusX2Yhwdep.c28 vaddr = (char *)((struct usx2ydev *)vmf->vma->vm_private_data)->us428ctls_sharedmem + offset; in snd_us428ctls_vm_fault()
59 area->vm_private_data = hw->private_data; in snd_us428ctls_mmap()
/linux/drivers/uio/
H A Duio.c674 struct uio_device *idev = vma->vm_private_data; in uio_find_mem_index()
686 struct uio_device *idev = vmf->vma->vm_private_data; in uio_vma_fault()
744 struct uio_device *idev = vma->vm_private_data; in uio_mmap_physical()
779 struct uio_device *idev = vma->vm_private_data; in uio_mmap_dma_coherent()
831 vma->vm_private_data = idev; in uio_mmap()
/linux/drivers/dma-buf/heaps/
H A Dcma_heap.c166 struct cma_heap_buffer *buffer = vma->vm_private_data; in cma_heap_vm_fault()
188 vma->vm_private_data = buffer; in cma_heap_mmap()
/linux/drivers/staging/vme_user/
H A Dvme_user.c429 struct vme_user_vma_priv *vma_priv = vma->vm_private_data; in vme_user_vm_open()
436 struct vme_user_vma_priv *vma_priv = vma->vm_private_data; in vme_user_vm_close()
476 vma->vm_private_data = vma_priv; in vme_user_master_mmap()
/linux/mm/
H A Dhugetlb.c270 struct hugetlb_vma_lock *vma_lock = vma->vm_private_data; in hugetlb_vma_lock_read()
283 struct hugetlb_vma_lock *vma_lock = vma->vm_private_data; in hugetlb_vma_unlock_read()
296 struct hugetlb_vma_lock *vma_lock = vma->vm_private_data; in hugetlb_vma_lock_write()
309 struct hugetlb_vma_lock *vma_lock = vma->vm_private_data; in hugetlb_vma_unlock_write()
323 struct hugetlb_vma_lock *vma_lock = vma->vm_private_data; in hugetlb_vma_trylock_write()
338 struct hugetlb_vma_lock *vma_lock = vma->vm_private_data; in hugetlb_vma_assert_locked()
366 vma->vm_private_data = NULL; in __hugetlb_vma_unlock_write_put()
374 struct hugetlb_vma_lock *vma_lock = vma->vm_private_data; in __hugetlb_vma_unlock_write_free()
393 if (vma->vm_private_data) { in hugetlb_vma_lock_free()
394 struct hugetlb_vma_lock *vma_lock = vma->vm_private_data; in hugetlb_vma_lock_free()
[all …]
H A Dmmap.c1803 const struct vm_special_mapping *sm = vma->vm_private_data; in special_mapping_close()
1811 return ((struct vm_special_mapping *)vma->vm_private_data)->name; in special_mapping_name()
1816 struct vm_special_mapping *sm = new_vma->vm_private_data; in special_mapping_mremap()
1853 struct vm_special_mapping *sm = vma->vm_private_data; in special_mapping_fault()
1892 vma->vm_private_data = priv; in __install_special_mapping()
1912 return vma->vm_private_data == sm && in vma_is_special_mapping()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_page_dirty.c379 vma->vm_private_data; in vmw_bo_vm_mkwrite()
420 vma->vm_private_data; in vmw_bo_vm_fault()
/linux/drivers/dma-buf/
H A Dudmabuf.c50 struct udmabuf *ubuf = vma->vm_private_data; in udmabuf_vm_fault()
104 vma->vm_private_data = ubuf; in mmap_udmabuf()
/linux/drivers/misc/uacce/
H A Duacce.c205 struct uacce_queue *q = vma->vm_private_data; in uacce_vma_close()
240 vma->vm_private_data = q; in uacce_fops_mmap()

123