/linux-6.6.21/fs/coda/ |
D | file.c | 37 struct vm_operations_struct vm_ops; member 128 container_of(vma->vm_ops, struct coda_vm_ops, vm_ops); in coda_vm_open() 140 container_of(vma->vm_ops, struct coda_vm_ops, vm_ops); in coda_vm_close() 146 vma->vm_ops = cvm_ops->host_vm_ops; in coda_vm_close() 214 cvm_ops->host_vm_ops = vma->vm_ops; in coda_file_mmap() 215 if (vma->vm_ops) in coda_file_mmap() 216 cvm_ops->vm_ops = *vma->vm_ops; in coda_file_mmap() 218 cvm_ops->vm_ops.open = coda_vm_open; in coda_file_mmap() 219 cvm_ops->vm_ops.close = coda_vm_close; in coda_file_mmap() 223 vma->vm_ops = &cvm_ops->vm_ops; in coda_file_mmap()
|
/linux-6.6.21/fs/kernfs/ |
D | file.c | 357 if (!of->vm_ops) in kernfs_vma_open() 363 if (of->vm_ops->open) in kernfs_vma_open() 364 of->vm_ops->open(vma); in kernfs_vma_open() 375 if (!of->vm_ops) in kernfs_vma_fault() 382 if (of->vm_ops->fault) in kernfs_vma_fault() 383 ret = of->vm_ops->fault(vmf); in kernfs_vma_fault() 395 if (!of->vm_ops) in kernfs_vma_page_mkwrite() 402 if (of->vm_ops->page_mkwrite) in kernfs_vma_page_mkwrite() 403 ret = of->vm_ops->page_mkwrite(vmf); in kernfs_vma_page_mkwrite() 418 if (!of->vm_ops) in kernfs_vma_access() [all …]
|
/linux-6.6.21/ipc/ |
D | shm.c | 87 const struct vm_operations_struct *vm_ops; member 308 if (sfd->vm_ops->open) in shm_open() 309 sfd->vm_ops->open(vma); in shm_open() 401 if (sfd->vm_ops->close) in shm_close() 402 sfd->vm_ops->close(vma); in shm_close() 539 return sfd->vm_ops->fault(vmf); in shm_fault() 547 if (sfd->vm_ops->may_split) in shm_may_split() 548 return sfd->vm_ops->may_split(vma, addr); in shm_may_split() 558 if (sfd->vm_ops->pagesize) in shm_pagesize() 559 return sfd->vm_ops->pagesize(vma); in shm_pagesize() [all …]
|
/linux-6.6.21/mm/ |
D | mmap.c | 140 if (vma->vm_ops && vma->vm_ops->close) in remove_vma() 141 vma->vm_ops->close(vma); in remove_vma() 737 if (may_remove_vma && vma->vm_ops && vma->vm_ops->close) in is_mergeable_vma() 1458 static bool vm_ops_needs_writenotify(const struct vm_operations_struct *vm_ops) in vm_ops_needs_writenotify() argument 1460 return vm_ops && (vm_ops->page_mkwrite || vm_ops->pfn_mkwrite); in vm_ops_needs_writenotify() 1490 if (vm_ops_needs_writenotify(vma->vm_ops)) in vma_needs_dirty_tracking() 1513 if (vm_ops_needs_writenotify(vma->vm_ops)) in vma_wants_writenotify() 2356 if (vma->vm_ops && vma->vm_ops->may_split) { in __split_vma() 2357 err = vma->vm_ops->may_split(vma, addr); in __split_vma() 2389 if (new->vm_ops && new->vm_ops->open) in __split_vma() [all …]
|
D | mremap.c | 612 if (vma->vm_ops && vma->vm_ops->may_split) { in move_vma() 614 err = vma->vm_ops->may_split(vma, old_addr); in move_vma() 616 err = vma->vm_ops->may_split(vma, old_addr + old_len); in move_vma() 652 } else if (vma->vm_ops && vma->vm_ops->mremap) { in move_vma() 653 err = vma->vm_ops->mremap(new_vma); in move_vma()
|
D | mempolicy.c | 790 vma->vm_ops, vma->vm_file, in vma_replace_policy() 791 vma->vm_ops ? vma->vm_ops->set_policy : NULL); in vma_replace_policy() 797 if (vma->vm_ops && vma->vm_ops->set_policy) { in vma_replace_policy() 798 err = vma->vm_ops->set_policy(vma, new); in vma_replace_policy() 972 if (vma->vm_ops && vma->vm_ops->get_policy) in do_get_mempolicy() 973 pol = vma->vm_ops->get_policy(vma, addr); in do_get_mempolicy() 1775 if (vma->vm_ops && vma->vm_ops->get_policy) { in __get_vma_policy() 1776 pol = vma->vm_ops->get_policy(vma, addr); in __get_vma_policy() 1821 if (vma->vm_ops && vma->vm_ops->get_policy) { in vma_policy_mof() 1824 pol = vma->vm_ops->get_policy(vma, vma->vm_start); in vma_policy_mof()
|
D | memory.c | 532 vma->vm_ops ? vma->vm_ops->fault : NULL, in print_bad_pte() 589 if (vma->vm_ops && vma->vm_ops->find_special_page) in vm_normal_page() 590 return vma->vm_ops->find_special_page(vma, addr); in vm_normal_page() 2934 ret = vmf->vma->vm_ops->page_mkwrite(vmf); in do_page_mkwrite() 2962 bool page_mkwrite = vma->vm_ops && vma->vm_ops->page_mkwrite; in fault_dirty_shared_page() 3257 if (vma->vm_ops && vma->vm_ops->pfn_mkwrite) { in wp_pfn_shared() 3267 ret = vma->vm_ops->pfn_mkwrite(vmf); in wp_pfn_shared() 3284 if (vma->vm_ops && vma->vm_ops->page_mkwrite) { in wp_page_shared() 4227 ret = vma->vm_ops->fault(vmf); in __do_fault() 4548 ret = vmf->vma->vm_ops->map_pages(vmf, in do_fault_around() [all …]
|
D | secretmem.c | 134 vma->vm_ops = &secretmem_vm_ops; in secretmem_mmap() 141 return vma->vm_ops == &secretmem_vm_ops; in vma_is_secretmem()
|
D | nommu.c | 603 if (vma->vm_ops && vma->vm_ops->close) in delete_vma() 604 vma->vm_ops->close(vma); in delete_vma() 1353 if (new->vm_ops && new->vm_ops->open) in split_vma() 1354 new->vm_ops->open(new); in split_vma()
|
/linux-6.6.21/drivers/gpu/drm/xen/ |
D | xen_drm_front_gem.c | 65 vma->vm_ops = gem_obj->funcs->vm_ops; in xen_drm_front_gem_object_mmap() 110 .vm_ops = &xen_drm_drv_vm_ops,
|
/linux-6.6.21/drivers/char/agp/ |
D | frontend.c | 600 DBG("client vm_ops=%p", kerninfo.vm_ops); in agp_mmap() 601 if (kerninfo.vm_ops) { in agp_mmap() 602 vma->vm_ops = kerninfo.vm_ops; in agp_mmap() 617 DBG("controller vm_ops=%p", kerninfo.vm_ops); in agp_mmap() 618 if (kerninfo.vm_ops) { in agp_mmap() 619 vma->vm_ops = kerninfo.vm_ops; in agp_mmap()
|
/linux-6.6.21/drivers/gpu/drm/mediatek/ |
D | mtk_drm_gem.c | 19 static const struct vm_operations_struct vm_ops = { variable 30 .vm_ops = &vm_ops,
|
/linux-6.6.21/drivers/gpu/drm/ |
D | drm_vm.c | 493 vma->vm_ops = &drm_vm_dma_ops; in drm_mmap_dma() 589 vma->vm_ops = &drm_vm_ops; in drm_mmap_locked() 608 vma->vm_ops = &drm_vm_ops; in drm_mmap_locked() 620 vma->vm_ops = &drm_vm_shm_ops; in drm_mmap_locked() 624 vma->vm_ops = &drm_vm_sg_ops; in drm_mmap_locked()
|
/linux-6.6.21/drivers/pci/ |
D | mmap.c | 45 vma->vm_ops = &pci_phys_vm_ops; in pci_mmap_resource_range()
|
/linux-6.6.21/arch/hexagon/kernel/ |
D | Makefile | 14 obj-y += vm_entry.o vm_events.o vm_switch.o vm_ops.o vm_init_segtable.o
|
/linux-6.6.21/include/linux/ |
D | agp_backend.h | 56 const struct vm_operations_struct *vm_ops; member
|
/linux-6.6.21/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ttm_glue.c | 96 vma->vm_ops = &vmw_vm_ops; in vmw_mmap()
|
/linux-6.6.21/drivers/gpu/drm/i915/gem/ |
D | i915_gem_mman.c | 979 vma->vm_ops = obj->ops->mmap_ops; in i915_gem_object_mmap() 990 vma->vm_ops = &vm_ops_cpu; in i915_gem_object_mmap() 998 vma->vm_ops = &vm_ops_cpu; in i915_gem_object_mmap() 1004 vma->vm_ops = &vm_ops_cpu; in i915_gem_object_mmap() 1010 vma->vm_ops = &vm_ops_gtt; in i915_gem_object_mmap()
|
/linux-6.6.21/arch/x86/kernel/cpu/sgx/ |
D | encl.h | 95 if (!result || result->vm_ops != &sgx_vm_ops) in sgx_encl_find()
|
/linux-6.6.21/drivers/media/common/videobuf2/ |
D | videobuf2-vmalloc.c | 193 vma->vm_ops = &vb2_common_vm_ops; in vb2_vmalloc_mmap() 195 vma->vm_ops->open(vma); in vb2_vmalloc_mmap()
|
/linux-6.6.21/drivers/gpu/drm/ttm/ |
D | ttm_bo_vm.c | 471 if (!vma->vm_ops) in ttm_bo_mmap_obj() 472 vma->vm_ops = &ttm_bo_vm_ops; in ttm_bo_mmap_obj()
|
/linux-6.6.21/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gem.c | 529 static const struct vm_operations_struct vm_ops = { variable 542 .vm_ops = &vm_ops,
|
/linux-6.6.21/drivers/infiniband/sw/rxe/ |
D | rxe_mmap.c | 105 vma->vm_ops = &rxe_vm_ops; in rxe_mmap()
|
/linux-6.6.21/fs/nilfs2/ |
D | file.c | 129 vma->vm_ops = &nilfs_file_vm_ops; in nilfs_file_mmap()
|
/linux-6.6.21/fs/ocfs2/ |
D | mmap.c | 174 vma->vm_ops = &ocfs2_file_vm_ops; in ocfs2_mmap()
|