Home
last modified time | relevance | path

Searched refs:vm_ops (Results 1 – 25 of 111) sorted by relevance

12345

/linux/fs/coda/
H A Dfile.c37 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 Dmerge.c273 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 Dxe_mmio_gem.c53 static const struct vm_operations_struct vm_ops = { variable
63 .vm_ops = &vm_ops,
/linux/mm/
H A Dvma.c31 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 Dvma_init.c49 dest->vm_ops = src->vm_ops; in vm_area_init_from()
H A Dmemory.c659 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 Dsecretmem.c208 desc->vm_ops = &secretmem_vm_ops; in secretmem_mmap_prepare()
215 return vma->vm_ops == &secretmem_vm_ops; in vma_is_secretmem()
H A Dmremap.c1143 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 Dinternal.h248 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 Dvma.h406 vma->vm_ops = desc->vm_ops; in compat_set_vma_from_desc()
/linux/arch/hexagon/kernel/
H A DMakefile14 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 Ddup.h532 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 Dagp_backend.h56 const struct vm_operations_struct *vm_ops; member
/linux/drivers/gpu/drm/msm/
H A Dmsm_gem_vma.c120 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 Dmmap.c47 vma->vm_ops = &pci_phys_vm_ops; in pci_mmap_resource_range()
/linux/drivers/media/common/videobuf2/
H A Dvideobuf2-vmalloc.c195 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 Dttm_bo_vm.c501 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 Dprivcmd-buf.c161 vma->vm_ops = &privcmd_buf_vm_ops; in privcmd_buf_mmap()
/linux/drivers/char/agp/
H A Dalpha-agp.c187 alpha_bridge->vm_ops = &alpha_core_agp_vm_ops; in alpha_core_agp_setup()
H A Dagp.h128 const struct vm_operations_struct *vm_ops; member
/linux/drivers/accel/rocket/
H A Drocket_gem.c44 .vm_ops = &drm_gem_shmem_vm_ops,
/linux/fs/ramfs/
H A Dfile-nommu.c274 desc->vm_ops = &generic_file_vm_ops; in ramfs_nommu_mmap_prepare()
/linux/drivers/misc/ocxl/
H A Dsysfs.c139 vma->vm_ops = &global_mmio_vmops; in global_mmio_mmap()
/linux/rust/kernel/drm/gem/
H A Dshmem.rs146 vm_ops: unsafe { &raw const bindings::drm_gem_shmem_vm_ops }, in new()
/linux/arch/powerpc/platforms/cell/spufs/
H A Dfile.c299 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()

12345