/linux/fs/coda/ |
A D | file.c | 35 struct vm_operations_struct vm_ops; member 100 container_of(vma->vm_ops, struct coda_vm_ops, vm_ops); in coda_vm_open() 112 container_of(vma->vm_ops, struct coda_vm_ops, vm_ops); in coda_vm_close() 118 vma->vm_ops = cvm_ops->host_vm_ops; in coda_vm_close() 186 cvm_ops->host_vm_ops = vma->vm_ops; in coda_file_mmap() 187 if (vma->vm_ops) in coda_file_mmap() 188 cvm_ops->vm_ops = *vma->vm_ops; in coda_file_mmap() 190 cvm_ops->vm_ops.open = coda_vm_open; in coda_file_mmap() 191 cvm_ops->vm_ops.close = coda_vm_close; in coda_file_mmap() 195 vma->vm_ops = &cvm_ops->vm_ops; in coda_file_mmap()
|
/linux/fs/kernfs/ |
A D | file.c | 319 if (!of->vm_ops) in kernfs_vma_open() 325 if (of->vm_ops->open) in kernfs_vma_open() 337 if (!of->vm_ops) in kernfs_vma_fault() 344 if (of->vm_ops->fault) in kernfs_vma_fault() 357 if (!of->vm_ops) in kernfs_vma_page_mkwrite() 380 if (!of->vm_ops) in kernfs_vma_access() 402 if (!of->vm_ops) in kernfs_vma_set_policy() 423 if (!of->vm_ops) in kernfs_vma_get_policy() 486 if (of->mmapped && of->vm_ops != vma->vm_ops) in kernfs_fop_mmap() 494 if (vma->vm_ops && vma->vm_ops->close) in kernfs_fop_mmap() [all …]
|
/linux/ipc/ |
A D | shm.c | 523 return sfd->vm_ops->fault(vmf); in shm_fault() 531 if (sfd->vm_ops->may_split) in shm_may_split() 542 if (sfd->vm_ops->pagesize) in shm_pagesize() 543 return sfd->vm_ops->pagesize(vma); in shm_pagesize() 555 if (sfd->vm_ops->set_policy) in shm_set_policy() 567 if (sfd->vm_ops->get_policy) in shm_get_policy() 595 sfd->vm_ops = vma->vm_ops; in shm_mmap() 597 WARN_ON(!sfd->vm_ops->fault); in shm_mmap() 599 vma->vm_ops = &shm_vm_ops; in shm_mmap() 1628 sfd->vm_ops = NULL; in do_shmat() [all …]
|
/linux/mm/ |
A D | mmap.c | 183 if (vma->vm_ops && vma->vm_ops->close) in remove_vma() 184 vma->vm_ops->close(vma); in remove_vma() 1046 if (vma->vm_ops && vma->vm_ops->close) in is_mergeable_vma() 1670 const struct vm_operations_struct *vm_ops = vma->vm_ops; in vma_wants_writenotify() local 1677 if (vm_ops && (vm_ops->page_mkwrite || vm_ops->pfn_mkwrite)) in vma_wants_writenotify() 2707 if (vma->vm_ops && vma->vm_ops->may_split) { in __split_vma() 2735 if (new->vm_ops && new->vm_ops->open) in __split_vma() 2736 new->vm_ops->open(new); in __split_vma() 2749 if (new->vm_ops && new->vm_ops->close) in __split_vma() 3288 if (new_vma->vm_ops && new_vma->vm_ops->open) in copy_vma() [all …]
|
A D | mremap.c | 594 if (vma->vm_ops && vma->vm_ops->may_split) { in move_vma() 596 err = vma->vm_ops->may_split(vma, old_addr); in move_vma() 598 err = vma->vm_ops->may_split(vma, old_addr + old_len); in move_vma() 633 } else if (vma->vm_ops && vma->vm_ops->mremap) { in move_vma() 634 err = vma->vm_ops->mremap(new_vma); in move_vma()
|
A D | mempolicy.c | 759 vma->vm_ops, vma->vm_file, in vma_replace_policy() 760 vma->vm_ops ? vma->vm_ops->set_policy : NULL); in vma_replace_policy() 766 if (vma->vm_ops && vma->vm_ops->set_policy) { in vma_replace_policy() 767 err = vma->vm_ops->set_policy(vma, new); in vma_replace_policy() 954 if (vma->vm_ops && vma->vm_ops->get_policy) in do_get_mempolicy() 955 pol = vma->vm_ops->get_policy(vma, addr); in do_get_mempolicy() 1680 if (vma->vm_ops && vma->vm_ops->get_policy) { in __get_vma_policy() 1681 pol = vma->vm_ops->get_policy(vma, addr); in __get_vma_policy() 1726 if (vma->vm_ops && vma->vm_ops->get_policy) { in vma_policy_mof() 1729 pol = vma->vm_ops->get_policy(vma, vma->vm_start); in vma_policy_mof()
|
A D | memory.c | 559 vma->vm_ops ? vma->vm_ops->fault : NULL, in print_bad_pte() 616 if (vma->vm_ops && vma->vm_ops->find_special_page) in vm_normal_page() 2884 bool page_mkwrite = vma->vm_ops && vma->vm_ops->page_mkwrite; in fault_dirty_shared_page() 3163 if (vma->vm_ops && vma->vm_ops->pfn_mkwrite) { in wp_pfn_shared() 3185 if (vma->vm_ops && vma->vm_ops->page_mkwrite) { in wp_page_shared() 3849 ret = vma->vm_ops->fault(vmf); in __do_fault() 4227 if (vma->vm_ops->page_mkwrite) { in do_shared_fault() 4266 if (!vma->vm_ops->fault) { in do_fault() 4423 if (vmf->vma->vm_ops->huge_fault) in create_huge_pmd() 4475 if (vmf->vma->vm_ops->huge_fault) in wp_huge_pud() [all …]
|
A D | secretmem.c | 121 vma->vm_ops = &secretmem_vm_ops; in secretmem_mmap() 128 return vma->vm_ops == &secretmem_vm_ops; in vma_is_secretmem()
|
A D | nommu.c | 654 if (vma->vm_ops && vma->vm_ops->close) in delete_vma() 655 vma->vm_ops->close(vma); in delete_vma() 1376 if (new->vm_ops && new->vm_ops->open) in split_vma() 1377 new->vm_ops->open(new); in split_vma()
|
A D | mprotect.c | 633 if (vma->vm_ops && vma->vm_ops->mprotect) { in do_mprotect_pkey() 634 error = vma->vm_ops->mprotect(vma, nstart, tmp, newflags); in do_mprotect_pkey()
|
/linux/drivers/char/agp/ |
A D | frontend.c | 598 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()
|
/linux/drivers/gpu/drm/ |
A 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/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_mman.c | 970 vma->vm_ops = obj->ops->mmap_ops; in i915_gem_mmap() 981 vma->vm_ops = &vm_ops_cpu; in i915_gem_mmap() 989 vma->vm_ops = &vm_ops_cpu; in i915_gem_mmap() 995 vma->vm_ops = &vm_ops_cpu; in i915_gem_mmap() 1001 vma->vm_ops = &vm_ops_gtt; in i915_gem_mmap()
|
/linux/arch/hexagon/kernel/ |
A D | Makefile | 13 obj-y += vm_entry.o vm_events.o vm_switch.o vm_ops.o vm_init_segtable.o
|
/linux/include/linux/ |
A D | agp_backend.h | 56 const struct vm_operations_struct *vm_ops; member
|
/linux/drivers/pci/ |
A D | mmap.c | 66 vma->vm_ops = &pci_phys_vm_ops; in pci_mmap_resource_range()
|
/linux/arch/x86/kernel/cpu/sgx/ |
A D | encl.h | 95 if (!result || result->vm_ops != &sgx_vm_ops) in sgx_encl_find()
|
/linux/drivers/media/common/videobuf2/ |
A 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/drivers/gpu/drm/ttm/ |
A D | ttm_bo_vm.c | 469 if (!vma->vm_ops) in ttm_bo_mmap_obj() 470 vma->vm_ops = &ttm_bo_vm_ops; in ttm_bo_mmap_obj()
|
/linux/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_ttm_glue.c | 87 vma->vm_ops = &vmw_vm_ops; in vmw_mmap()
|
/linux/drivers/gpu/drm/etnaviv/ |
A D | etnaviv_gem.c | 548 static const struct vm_operations_struct vm_ops = { variable 561 .vm_ops = &vm_ops,
|
/linux/drivers/infiniband/sw/rxe/ |
A D | rxe_mmap.c | 106 vma->vm_ops = &rxe_vm_ops; in rxe_mmap()
|
/linux/fs/nilfs2/ |
A D | file.c | 123 vma->vm_ops = &nilfs_file_vm_ops; in nilfs_file_mmap()
|
/linux/fs/ocfs2/ |
A D | mmap.c | 174 vma->vm_ops = &ocfs2_file_vm_ops; in ocfs2_mmap()
|
/linux/drivers/gpu/drm/gma500/ |
A D | gem.c | 44 .vm_ops = &psb_gem_vm_ops,
|