| /linux/fs/coda/ |
| H A D | file.c | 37 struct vm_operations_struct vm_ops; member 126 container_of(vma->vm_ops, struct coda_vm_ops, vm_ops); in coda_vm_open() 138 container_of(vma->vm_ops, struct coda_vm_ops, vm_ops); in coda_vm_close() 144 vma->vm_ops = cvm_ops->host_vm_ops; in coda_vm_close() 212 cvm_ops->host_vm_ops = vma->vm_ops; in coda_file_mmap() 213 if (vma->vm_ops) in coda_file_mmap() 214 cvm_ops->vm_ops = *vma->vm_ops; in coda_file_mmap() 216 cvm_ops->vm_ops.open = coda_vm_open; in coda_file_mmap() 217 cvm_ops->vm_ops.close = coda_vm_close; in coda_file_mmap() 221 vma->vm_ops = &cvm_ops->vm_ops; in coda_file_mmap()
|
| /linux/tools/testing/vma/tests/ |
| H A D | merge.c | 273 const struct vm_operations_struct vm_ops = { in __test_merge_new() local 328 vma_a->vm_ops = &vm_ops; /* This should have no impact. */ in __test_merge_new() 370 vma_d->vm_ops = &vm_ops; /* This should have no impact. */ in __test_merge_new() 391 vma_d->vm_ops = NULL; /* This would otherwise degrade the merge. */ in __test_merge_new() 576 const struct vm_operations_struct vm_ops = { in test_vma_merge_with_close() local 651 vma_next->vm_ops = &vm_ops; in test_vma_merge_with_close() 677 vma->vm_ops = &vm_ops; in test_vma_merge_with_close() 705 vma->vm_ops = &vm_ops; in test_vma_merge_with_close() 734 vma->vm_ops = &vm_ops; in test_vma_merge_with_close() 760 vma_next->vm_ops = &vm_ops; in test_vma_merge_with_close() [all …]
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_mmio_gem.c | 53 static const struct vm_operations_struct vm_ops = { variable 63 .vm_ops = &vm_ops,
|
| /linux/mm/ |
| H A D | vma.c | 31 const struct vm_operations_struct *vm_ops; member 554 if (vma->vm_ops && vma->vm_ops->may_split) { in __split_vma() 555 err = vma->vm_ops->may_split(vma, addr); in __split_vma() 587 if (new->vm_ops && new->vm_ops->open) in __split_vma() 588 new->vm_ops->open(new); in __split_vma() 857 return !vma->vm_ops || !vma->vm_ops->close; in can_merge_remove_vma() 2032 if (new_vma->vm_ops in copy_vma() 2169 vm_ops_needs_writenotify(const struct vm_operations_struct * vm_ops) vm_ops_needs_writenotify() argument [all...] |
| H A D | vma_init.c | 49 dest->vm_ops = src->vm_ops; in vm_area_init_from()
|
| H A D | memory.c | 659 vma->vm_ops ? vma->vm_ops->fault : NULL, in print_bad_page_map() 762 if (vma->vm_ops && vma->vm_ops->find_normal_page) in __vm_normal_page() 763 return vma->vm_ops->find_normal_page(vma, addr); in __vm_normal_page() 2460 return vma->vm_ops && vma->vm_ops->pfn_mkwrite && in vm_mixed_zeropage_allowed() 3816 ret = vmf->vma->vm_ops->page_mkwrite(vmf); in do_page_mkwrite() 3844 bool page_mkwrite = vma->vm_ops && vma->vm_ops->page_mkwrite; in fault_dirty_shared_page() 3929 if (vma->vm_ops->map_pages || !(vmf->flags & FAULT_FLAG_VMA_LOCK)) in vmf_can_call_fault() 4181 if (vma->vm_ops && vma->vm_ops->pfn_mkwrite) { in wp_pfn_shared() 4190 ret = vma->vm_ops->pfn_mkwrite(vmf); in wp_pfn_shared() 4207 if (vma->vm_ops && vma->vm_ops->page_mkwrite) { in wp_page_shared() [all …]
|
| H A D | secretmem.c | 208 desc->vm_ops = &secretmem_vm_ops; in secretmem_mmap_prepare() 215 return vma->vm_ops == &secretmem_vm_ops; in vma_is_secretmem()
|
| H A D | mremap.c | 1143 if (vma->vm_ops && vma->vm_ops->may_split) { in prep_move_vma() 1145 err = vma->vm_ops->may_split(vma, old_addr); in prep_move_vma() 1147 err = vma->vm_ops->may_split(vma, old_addr + old_len); in prep_move_vma() 1326 else if (vma->vm_ops && vma->vm_ops->mremap) 1327 err = vma->vm_ops->mremap(new_vma);
|
| H A D | internal.h | 248 vma->vm_ops = &vma_dummy_vm_ops; in mmap_file() 260 if (vma->vm_ops && vma->vm_ops->close) { in vma_close() 261 vma->vm_ops->close(vma); in vma_close() 267 vma->vm_ops = &vma_dummy_vm_ops; in vma_close()
|
| H A D | vma.h | 406 vma->vm_ops = desc->vm_ops; in compat_set_vma_from_desc()
|
| /linux/arch/hexagon/kernel/ |
| H A D | Makefile | 14 obj-y += vm_entry.o vm_events.o vm_switch.o vm_ops.o vm_init_segtable.o
|
| /linux/tools/testing/vma/include/ |
| H A D | dup.h | 532 const struct vm_operations_struct *vm_ops; member 593 const struct vm_operations_struct *vm_ops; member 1230 vma->vm_ops = &vma_dummy_vm_ops; in vma_init() 1295 vma->vm_ops = NULL; in vma_set_anonymous() 1317 desc->vm_ops = vma->vm_ops; in compat_set_desc_from_vma() 1433 return !vma->vm_ops; in vma_is_anonymous()
|
| /linux/include/linux/ |
| H A D | agp_backend.h | 56 const struct vm_operations_struct *vm_ops; member
|
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_gem_vma.c | 120 struct list_head vm_ops; member 481 list_add_tail(&op->node, &arg->job->vm_ops); in vm_op_enqueue() 717 while (!list_empty(&job->vm_ops)) { in msm_vma_job_run() 719 list_first_entry(&job->vm_ops, struct msm_vm_op, node); in msm_vma_job_run() 782 while (!list_empty(&job->vm_ops)) { in msm_vma_job_free() 784 list_first_entry(&job->vm_ops, struct msm_vm_op, node); in msm_vma_job_free() 979 INIT_LIST_HEAD(&job->vm_ops); in vm_bind_job_create()
|
| /linux/drivers/pci/ |
| H A D | mmap.c | 47 vma->vm_ops = &pci_phys_vm_ops; in pci_mmap_resource_range()
|
| /linux/drivers/media/common/videobuf2/ |
| H A D | videobuf2-vmalloc.c | 195 vma->vm_ops = &vb2_common_vm_ops; in vb2_vmalloc_mmap() 197 vma->vm_ops->open(vma); in vb2_vmalloc_mmap()
|
| /linux/drivers/gpu/drm/ttm/ |
| H A D | ttm_bo_vm.c | 501 if (!vma->vm_ops) in ttm_bo_mmap_obj() 502 vma->vm_ops = &ttm_bo_vm_ops; in ttm_bo_mmap_obj()
|
| /linux/drivers/xen/ |
| H A D | privcmd-buf.c | 161 vma->vm_ops = &privcmd_buf_vm_ops; in privcmd_buf_mmap()
|
| /linux/drivers/char/agp/ |
| H A D | alpha-agp.c | 187 alpha_bridge->vm_ops = &alpha_core_agp_vm_ops; in alpha_core_agp_setup()
|
| H A D | agp.h | 128 const struct vm_operations_struct *vm_ops; member
|
| /linux/drivers/accel/rocket/ |
| H A D | rocket_gem.c | 44 .vm_ops = &drm_gem_shmem_vm_ops,
|
| /linux/fs/ramfs/ |
| H A D | file-nommu.c | 274 desc->vm_ops = &generic_file_vm_ops; in ramfs_nommu_mmap_prepare()
|
| /linux/drivers/misc/ocxl/ |
| H A D | sysfs.c | 139 vma->vm_ops = &global_mmio_vmops; in global_mmio_mmap()
|
| /linux/rust/kernel/drm/gem/ |
| H A D | shmem.rs | 146 vm_ops: unsafe { &raw const bindings::drm_gem_shmem_vm_ops }, in new()
|
| /linux/arch/powerpc/platforms/cell/spufs/ |
| H A D | file.c | 299 vma->vm_ops = &spufs_mem_mmap_vmops; in spufs_mem_mmap() 389 vma->vm_ops = &spufs_cntl_mmap_vmops; in spufs_cntl_mmap() 1044 vma->vm_ops = &spufs_signal1_mmap_vmops; in spufs_signal1_mmap() 1178 vma->vm_ops = &spufs_signal2_mmap_vmops; in spufs_signal2_mmap() 1299 vma->vm_ops = &spufs_mss_mmap_vmops; in spufs_mss_mmap() 1360 vma->vm_ops = &spufs_psmap_mmap_vmops; in spufs_psmap_mmap() 1419 vma->vm_ops = &spufs_mfc_mmap_vmops; in spufs_mfc_mmap()
|