/linux-6.1.9/fs/coda/ |
D | file.c | 36 struct vm_operations_struct vm_ops; member 101 container_of(vma->vm_ops, struct coda_vm_ops, vm_ops); in coda_vm_open() 113 container_of(vma->vm_ops, struct coda_vm_ops, vm_ops); in coda_vm_close() 119 vma->vm_ops = cvm_ops->host_vm_ops; in coda_vm_close() 187 cvm_ops->host_vm_ops = vma->vm_ops; in coda_file_mmap() 188 if (vma->vm_ops) in coda_file_mmap() 189 cvm_ops->vm_ops = *vma->vm_ops; in coda_file_mmap() 191 cvm_ops->vm_ops.open = coda_vm_open; in coda_file_mmap() 192 cvm_ops->vm_ops.close = coda_vm_close; in coda_file_mmap() 196 vma->vm_ops = &cvm_ops->vm_ops; in coda_file_mmap()
|
/linux-6.1.9/fs/kernfs/ |
D | file.c | 353 if (!of->vm_ops) in kernfs_vma_open() 359 if (of->vm_ops->open) in kernfs_vma_open() 360 of->vm_ops->open(vma); in kernfs_vma_open() 371 if (!of->vm_ops) in kernfs_vma_fault() 378 if (of->vm_ops->fault) in kernfs_vma_fault() 379 ret = of->vm_ops->fault(vmf); in kernfs_vma_fault() 391 if (!of->vm_ops) in kernfs_vma_page_mkwrite() 398 if (of->vm_ops->page_mkwrite) in kernfs_vma_page_mkwrite() 399 ret = of->vm_ops->page_mkwrite(vmf); in kernfs_vma_page_mkwrite() 414 if (!of->vm_ops) in kernfs_vma_access() [all …]
|
/linux-6.1.9/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.1.9/mm/ |
D | mmap.c | 139 if (vma->vm_ops && vma->vm_ops->close) in remove_vma() 140 vma->vm_ops->close(vma); in remove_vma() 883 if (vma->vm_ops && vma->vm_ops->close) in is_mergeable_vma() 1504 const struct vm_operations_struct *vm_ops = vma->vm_ops; in vma_wants_writenotify() local 1511 if (vm_ops && (vm_ops->page_mkwrite || vm_ops->pfn_mkwrite)) in vma_wants_writenotify() 2205 if (vma->vm_ops && vma->vm_ops->may_split) { in __split_vma() 2206 err = vma->vm_ops->may_split(vma, addr); in __split_vma() 2233 if (new->vm_ops && new->vm_ops->open) in __split_vma() 2234 new->vm_ops->open(new); in __split_vma() 2250 if (new->vm_ops && new->vm_ops->close) in __split_vma() [all …]
|
D | mremap.c | 599 if (vma->vm_ops && vma->vm_ops->may_split) { in move_vma() 601 err = vma->vm_ops->may_split(vma, old_addr); in move_vma() 603 err = vma->vm_ops->may_split(vma, old_addr + old_len); in move_vma() 638 } else if (vma->vm_ops && vma->vm_ops->mremap) { in move_vma() 639 err = vma->vm_ops->mremap(new_vma); in move_vma()
|
D | mempolicy.c | 763 vma->vm_ops, vma->vm_file, in vma_replace_policy() 764 vma->vm_ops ? vma->vm_ops->set_policy : NULL); in vma_replace_policy() 770 if (vma->vm_ops && vma->vm_ops->set_policy) { in vma_replace_policy() 771 err = vma->vm_ops->set_policy(vma, new); in vma_replace_policy() 963 if (vma->vm_ops && vma->vm_ops->get_policy) in do_get_mempolicy() 964 pol = vma->vm_ops->get_policy(vma, addr); in do_get_mempolicy() 1758 if (vma->vm_ops && vma->vm_ops->get_policy) { in __get_vma_policy() 1759 pol = vma->vm_ops->get_policy(vma, addr); in __get_vma_policy() 1804 if (vma->vm_ops && vma->vm_ops->get_policy) { in vma_policy_mof() 1807 pol = vma->vm_ops->get_policy(vma, vma->vm_start); in vma_policy_mof()
|
D | memory.c | 563 vma->vm_ops ? vma->vm_ops->fault : NULL, in print_bad_pte() 620 if (vma->vm_ops && vma->vm_ops->find_special_page) in vm_normal_page() 621 return vma->vm_ops->find_special_page(vma, addr); in vm_normal_page() 2977 ret = vmf->vma->vm_ops->page_mkwrite(vmf); in do_page_mkwrite() 3005 bool page_mkwrite = vma->vm_ops && vma->vm_ops->page_mkwrite; in fault_dirty_shared_page() 3297 if (vma->vm_ops && vma->vm_ops->pfn_mkwrite) { in wp_pfn_shared() 3302 ret = vma->vm_ops->pfn_mkwrite(vmf); in wp_pfn_shared() 3319 if (vma->vm_ops && vma->vm_ops->page_mkwrite) { in wp_page_shared() 4202 ret = vma->vm_ops->fault(vmf); in __do_fault() 4522 return vmf->vma->vm_ops->map_pages(vmf, start_pgoff, end_pgoff); in do_fault_around() [all …]
|
D | secretmem.c | 132 vma->vm_ops = &secretmem_vm_ops; in secretmem_mmap() 139 return vma->vm_ops == &secretmem_vm_ops; in vma_is_secretmem()
|
D | nommu.c | 653 if (vma->vm_ops && vma->vm_ops->close) in delete_vma() 654 vma->vm_ops->close(vma); in delete_vma() 1381 if (new->vm_ops && new->vm_ops->open) in split_vma() 1382 new->vm_ops->open(new); in split_vma()
|
/linux-6.1.9/drivers/gpu/drm/xen/ |
D | xen_drm_front_gem.c | 66 vma->vm_ops = gem_obj->funcs->vm_ops; in xen_drm_front_gem_object_mmap() 112 .vm_ops = &xen_drm_drv_vm_ops,
|
/linux-6.1.9/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.1.9/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.1.9/drivers/pci/ |
D | mmap.c | 45 vma->vm_ops = &pci_phys_vm_ops; in pci_mmap_resource_range()
|
/linux-6.1.9/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.1.9/include/linux/ |
D | agp_backend.h | 56 const struct vm_operations_struct *vm_ops; member
|
/linux-6.1.9/drivers/gpu/drm/i915/gem/ |
D | i915_gem_mman.c | 1007 vma->vm_ops = obj->ops->mmap_ops; in i915_gem_mmap() 1018 vma->vm_ops = &vm_ops_cpu; in i915_gem_mmap() 1026 vma->vm_ops = &vm_ops_cpu; in i915_gem_mmap() 1032 vma->vm_ops = &vm_ops_cpu; in i915_gem_mmap() 1038 vma->vm_ops = &vm_ops_gtt; in i915_gem_mmap()
|
/linux-6.1.9/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ttm_glue.c | 96 vma->vm_ops = &vmw_vm_ops; in vmw_mmap()
|
/linux-6.1.9/arch/x86/kernel/cpu/sgx/ |
D | encl.h | 95 if (!result || result->vm_ops != &sgx_vm_ops) in sgx_encl_find()
|
/linux-6.1.9/drivers/media/common/videobuf2/ |
D | videobuf2-vmalloc.c | 191 vma->vm_ops = &vb2_common_vm_ops; in vb2_vmalloc_mmap() 193 vma->vm_ops->open(vma); in vb2_vmalloc_mmap()
|
/linux-6.1.9/drivers/gpu/drm/ttm/ |
D | ttm_bo_vm.c | 461 if (!vma->vm_ops) in ttm_bo_mmap_obj() 462 vma->vm_ops = &ttm_bo_vm_ops; in ttm_bo_mmap_obj()
|
/linux-6.1.9/fs/nilfs2/ |
D | file.c | 123 vma->vm_ops = &nilfs_file_vm_ops; in nilfs_file_mmap()
|
/linux-6.1.9/drivers/infiniband/sw/rxe/ |
D | rxe_mmap.c | 105 vma->vm_ops = &rxe_vm_ops; in rxe_mmap()
|
/linux-6.1.9/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.1.9/fs/ocfs2/ |
D | mmap.c | 174 vma->vm_ops = &ocfs2_file_vm_ops; in ocfs2_mmap()
|
/linux-6.1.9/drivers/infiniband/sw/rdmavt/ |
D | mmap.c | 97 vma->vm_ops = &rvt_vm_ops; in rvt_mmap()
|