Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/fs/coda/
Dfile.c34 struct vm_operations_struct vm_ops; member
99 container_of(vma->vm_ops, struct coda_vm_ops, vm_ops); in coda_vm_open()
111 container_of(vma->vm_ops, struct coda_vm_ops, vm_ops); in coda_vm_close()
117 vma->vm_ops = cvm_ops->host_vm_ops; in coda_vm_close()
185 cvm_ops->host_vm_ops = vma->vm_ops; in coda_file_mmap()
186 if (vma->vm_ops) in coda_file_mmap()
187 cvm_ops->vm_ops = *vma->vm_ops; in coda_file_mmap()
189 cvm_ops->vm_ops.open = coda_vm_open; in coda_file_mmap()
190 cvm_ops->vm_ops.close = coda_vm_close; in coda_file_mmap()
194 vma->vm_ops = &cvm_ops->vm_ops; in coda_file_mmap()
/kernel/linux/linux-5.10/fs/kernfs/
Dfile.c319 if (!of->vm_ops) in kernfs_vma_open()
325 if (of->vm_ops->open) in kernfs_vma_open()
326 of->vm_ops->open(vma); in kernfs_vma_open()
337 if (!of->vm_ops) in kernfs_vma_fault()
344 if (of->vm_ops->fault) in kernfs_vma_fault()
345 ret = of->vm_ops->fault(vmf); in kernfs_vma_fault()
357 if (!of->vm_ops) in kernfs_vma_page_mkwrite()
364 if (of->vm_ops->page_mkwrite) in kernfs_vma_page_mkwrite()
365 ret = of->vm_ops->page_mkwrite(vmf); in kernfs_vma_page_mkwrite()
380 if (!of->vm_ops) in kernfs_vma_access()
[all …]
/kernel/linux/linux-5.10/ipc/
Dshm.c87 const struct vm_operations_struct *vm_ops; member
526 return sfd->vm_ops->fault(vmf); in shm_fault()
534 if (sfd->vm_ops->split) in shm_split()
535 return sfd->vm_ops->split(vma, addr); in shm_split()
545 if (sfd->vm_ops->pagesize) in shm_pagesize()
546 return sfd->vm_ops->pagesize(vma); in shm_pagesize()
558 if (sfd->vm_ops->set_policy) in shm_set_policy()
559 err = sfd->vm_ops->set_policy(vma, new); in shm_set_policy()
570 if (sfd->vm_ops->get_policy) in shm_get_policy()
571 pol = sfd->vm_ops->get_policy(vma, addr); in shm_get_policy()
[all …]
/kernel/linux/linux-5.10/drivers/char/agp/
Dfrontend.c598 DBG("client vm_ops=%p", kerninfo.vm_ops); in agp_mmap()
599 if (kerninfo.vm_ops) { in agp_mmap()
600 vma->vm_ops = kerninfo.vm_ops; in agp_mmap()
615 DBG("controller vm_ops=%p", kerninfo.vm_ops); in agp_mmap()
616 if (kerninfo.vm_ops) { in agp_mmap()
617 vma->vm_ops = kerninfo.vm_ops; in agp_mmap()
/kernel/linux/linux-5.10/mm/
Dmmap.c183 if (vma->vm_ops && vma->vm_ops->close) in remove_vma()
184 vma->vm_ops->close(vma); in remove_vma()
1050 if (vma->vm_ops && vma->vm_ops->close) in is_mergeable_vma()
1706 const struct vm_operations_struct *vm_ops = vma->vm_ops; in vma_wants_writenotify() local
1713 if (vm_ops && (vm_ops->page_mkwrite || vm_ops->pfn_mkwrite)) in vma_wants_writenotify()
2771 if (vma->vm_ops && vma->vm_ops->split) { in __split_vma()
2772 err = vma->vm_ops->split(vma, addr); in __split_vma()
2799 if (new->vm_ops && new->vm_ops->open) in __split_vma()
2800 new->vm_ops->open(new); in __split_vma()
2813 if (new->vm_ops && new->vm_ops->close) in __split_vma()
[all …]
Dmemory.c546 vma->vm_ops ? vma->vm_ops->fault : NULL, in print_bad_pte()
603 if (vma->vm_ops && vma->vm_ops->find_special_page) in vm_normal_page()
604 return vma->vm_ops->find_special_page(vma, addr); in vm_normal_page()
2730 ret = vmf->vma->vm_ops->page_mkwrite(vmf); in do_page_mkwrite()
2758 bool page_mkwrite = vma->vm_ops && vma->vm_ops->page_mkwrite; in fault_dirty_shared_page()
3038 if (vma->vm_ops && vma->vm_ops->pfn_mkwrite) { in wp_pfn_shared()
3043 ret = vma->vm_ops->pfn_mkwrite(vmf); in wp_pfn_shared()
3060 if (vma->vm_ops && vma->vm_ops->page_mkwrite) { in wp_page_shared()
3711 ret = vma->vm_ops->fault(vmf); in __do_fault()
4066 vmf->vma->vm_ops->map_pages(vmf, start_pgoff, end_pgoff); in do_fault_around()
[all …]
Dmempolicy.c778 vma->vm_ops, vma->vm_file, in vma_replace_policy()
779 vma->vm_ops ? vma->vm_ops->set_policy : NULL); in vma_replace_policy()
785 if (vma->vm_ops && vma->vm_ops->set_policy) { in vma_replace_policy()
786 err = vma->vm_ops->set_policy(vma, new); in vma_replace_policy()
974 if (vma->vm_ops && vma->vm_ops->get_policy) in do_get_mempolicy()
975 pol = vma->vm_ops->get_policy(vma, addr); in do_get_mempolicy()
1786 if (vma->vm_ops && vma->vm_ops->get_policy) { in __get_vma_policy()
1787 pol = vma->vm_ops->get_policy(vma, addr); in __get_vma_policy()
1832 if (vma->vm_ops && vma->vm_ops->get_policy) { in vma_policy_mof()
1835 pol = vma->vm_ops->get_policy(vma, vma->vm_start); in vma_policy_mof()
Dmremap.c376 } else if (vma->vm_ops && vma->vm_ops->mremap) { in move_vma()
377 err = vma->vm_ops->mremap(new_vma); in move_vma()
Dnommu.c665 if (vma->vm_ops && vma->vm_ops->close) in delete_vma()
666 vma->vm_ops->close(vma); in delete_vma()
1392 if (new->vm_ops && new->vm_ops->open) in split_vma()
1393 new->vm_ops->open(new); in split_vma()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_vm.c498 vma->vm_ops = &drm_vm_dma_ops; in drm_mmap_dma()
594 vma->vm_ops = &drm_vm_ops; in drm_mmap_locked()
613 vma->vm_ops = &drm_vm_ops; in drm_mmap_locked()
625 vma->vm_ops = &drm_vm_shm_ops; in drm_mmap_locked()
629 vma->vm_ops = &drm_vm_sg_ops; in drm_mmap_locked()
Ddrm_gem.c1098 if (obj->funcs && obj->funcs->vm_ops) in drm_gem_mmap_obj()
1099 vma->vm_ops = obj->funcs->vm_ops; in drm_gem_mmap_obj()
1101 vma->vm_ops = dev->driver->gem_vm_ops; in drm_gem_mmap_obj()
/kernel/linux/linux-5.10/arch/hexagon/kernel/
DMakefile13 obj-y += vm_entry.o vm_events.o vm_switch.o vm_ops.o vm_init_segtable.o
/kernel/linux/linux-5.10/include/linux/
Dagp_backend.h56 const struct vm_operations_struct *vm_ops; member
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_glue.c49 vma->vm_ops = &vmw_vm_ops; in vmw_mmap()
/kernel/linux/linux-5.10/drivers/pci/
Dmmap.c66 vma->vm_ops = &pci_phys_vm_ops; in pci_mmap_resource_range()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_mman.c903 vma->vm_ops = &vm_ops_cpu; in i915_gem_mmap()
908 vma->vm_ops = &vm_ops_cpu; in i915_gem_mmap()
914 vma->vm_ops = &vm_ops_cpu; in i915_gem_mmap()
920 vma->vm_ops = &vm_ops_gtt; in i915_gem_mmap()
/kernel/linux/linux-5.10/fs/nilfs2/
Dfile.c123 vma->vm_ops = &nilfs_file_vm_ops; in nilfs_file_mmap()
/kernel/linux/linux-5.10/drivers/media/common/videobuf2/
Dvideobuf2-vmalloc.c193 vma->vm_ops = &vb2_common_vm_ops; in vb2_vmalloc_mmap()
195 vma->vm_ops->open(vma); in vb2_vmalloc_mmap()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_mmap.c106 vma->vm_ops = &rxe_vm_ops; in rxe_mmap()
/kernel/linux/linux-5.10/fs/ocfs2/
Dmmap.c176 vma->vm_ops = &ocfs2_file_vm_ops; in ocfs2_mmap()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dmmap.c139 vma->vm_ops = &rvt_vm_ops; in rvt_mmap()
/kernel/linux/linux-5.10/include/drm/
Ddrm_gem.h173 const struct vm_operations_struct *vm_ops; member
/kernel/linux/linux-5.10/drivers/xen/
Dprivcmd-buf.c160 vma->vm_ops = &privcmd_buf_vm_ops; in privcmd_buf_mmap()
/kernel/linux/linux-5.10/drivers/char/
Dmspec.c212 vma->vm_ops = &mspec_vm_ops; in mspec_mmap()
/kernel/linux/linux-5.10/fs/ext2/
Dfile.c130 vma->vm_ops = &ext2_dax_vm_ops; in ext2_file_mmap()

123456