/linux/drivers/misc/sgi-gru/ |
H A D | grufile.c | 67 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 D | rxe_mmap.c | 39 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 D | mmap.c | 44 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 D | privcmd-buf.c | 89 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 D | privcmd.c | 301 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 D | gntalloc.c | 450 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 D | gntdev.c | 501 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 D | videobuf2-memops.c | 92 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 D | memory_mgr.c | 202 (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 D | fb_defio.c | 133 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 D | encl.c | 439 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 D | virt.c | 77 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 D | i915_gem_mman.c | 253 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 D | i915_gem_ttm.c | 1038 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 D | drm_gem_shmem_helper.c | 537 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 D | drm_gem.c | 1018 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 D | usX2Yhwdep.c | 28 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 D | uio.c | 674 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 D | cma_heap.c | 166 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 D | vme_user.c | 429 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 D | hugetlb.c | 270 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 D | mmap.c | 1803 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 D | vmwgfx_page_dirty.c | 379 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 D | udmabuf.c | 50 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 D | uacce.c | 205 struct uacce_queue *q = vma->vm_private_data; in uacce_vma_close() 240 vma->vm_private_data = q; in uacce_fops_mmap()
|