/linux/drivers/gpu/drm/ttm/ |
A D | ttm_bo_vm.c | 199 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_fault_reserved() 300 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_dummy_page() 331 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_fault() 358 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_open() 368 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_close() 371 vma->vm_private_data = NULL; in ttm_bo_vm_close() 417 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_access() 477 vma->vm_private_data = bo; in ttm_bo_mmap_obj()
|
/linux/drivers/char/ |
A D | mspec.c | 92 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/drivers/misc/sgi-gru/ |
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/xen/ |
A D | privcmd.c | 288 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 …]
|
A D | privcmd-buf.c | 88 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()
|
A D | gntalloc.c | 464 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()
|
A D | gntdev.c | 431 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/drivers/infiniband/sw/rxe/ |
A D | rxe_mmap.c | 40 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/drivers/infiniband/sw/rdmavt/ |
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/media/common/videobuf2/ |
A D | videobuf2-memops.c | 90 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/drivers/video/fbdev/core/ |
A D | fb_defio.c | 44 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/drivers/gpu/drm/ |
A D | drm_vm.c | 202 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()
|
A D | drm_gem_shmem_helper.c | 548 struct drm_gem_object *obj = vma->vm_private_data; in drm_gem_shmem_fault() 577 struct drm_gem_object *obj = vma->vm_private_data; in drm_gem_shmem_vm_open() 591 struct drm_gem_object *obj = vma->vm_private_data; in drm_gem_shmem_vm_close() 624 vma->vm_private_data = NULL; in drm_gem_shmem_mmap()
|
/linux/arch/x86/kernel/cpu/sgx/ |
A D | encl.c | 146 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()
|
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/media/v4l2-core/ |
A D | videobuf-vmalloc.c | 53 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()
|
A D | videobuf-dma-contig.c | 65 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()
|
A D | videobuf-dma-sg.c | 386 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/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_mman.c | 248 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()
|
/linux/drivers/misc/ocxl/ |
A D | sysfs.c | 112 struct ocxl_afu *afu = vma->vm_private_data; in global_mmio_fault() 140 vma->vm_private_data = afu; in global_mmio_mmap()
|
/linux/sound/usb/usx2y/ |
A D | usX2Yhwdep.c | 32 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()
|
A D | us122l.c | 97 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/drivers/dma-buf/heaps/ |
A D | cma_heap.c | 164 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/drivers/staging/vme/devices/ |
A D | vme_user.c | 426 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()
|
/linux/drivers/uio/ |
A D | uio.c | 657 struct uio_device *idev = vma->vm_private_data; in uio_find_mem_index() 669 struct uio_device *idev = vmf->vma->vm_private_data; in uio_vma_fault() 727 struct uio_device *idev = vma->vm_private_data; in uio_mmap_physical() 771 vma->vm_private_data = idev; in uio_mmap()
|