Searched refs:vm_ops (Results 1 – 11 of 11) sorted by relevance
/mm/ |
D | mmap.c | 176 if (vma->vm_ops && vma->vm_ops->close) in remove_vma() 177 vma->vm_ops->close(vma); in remove_vma() 1027 if (vma->vm_ops && vma->vm_ops->close) in is_mergeable_vma() 1675 const struct vm_operations_struct *vm_ops = vma->vm_ops; in vma_wants_writenotify() local 1682 if (vm_ops && (vm_ops->page_mkwrite || vm_ops->pfn_mkwrite)) in vma_wants_writenotify() 2696 if (vma->vm_ops && vma->vm_ops->split) { in __split_vma() 2697 err = vma->vm_ops->split(vma, addr); in __split_vma() 2724 if (new->vm_ops && new->vm_ops->open) in __split_vma() 2725 new->vm_ops->open(new); in __split_vma() 2738 if (new->vm_ops && new->vm_ops->close) in __split_vma() [all …]
|
D | memory.c | 556 vma->vm_ops ? vma->vm_ops->fault : NULL, in print_bad_pte() 613 if (vma->vm_ops && vma->vm_ops->find_special_page) in vm_normal_page() 614 return vma->vm_ops->find_special_page(vma, addr); in vm_normal_page() 2332 ret = vmf->vma->vm_ops->page_mkwrite(vmf); in do_page_mkwrite() 2360 bool page_mkwrite = vma->vm_ops && vma->vm_ops->page_mkwrite; in fault_dirty_shared_page() 2633 if (vma->vm_ops && vma->vm_ops->pfn_mkwrite) { in wp_pfn_shared() 2638 ret = vma->vm_ops->pfn_mkwrite(vmf); in wp_pfn_shared() 2655 if (vma->vm_ops && vma->vm_ops->page_mkwrite) { in wp_page_shared() 3250 ret = vma->vm_ops->fault(vmf); in __do_fault() 3617 vmf->vma->vm_ops->map_pages(vmf, start_pgoff, end_pgoff); in do_fault_around() [all …]
|
D | mempolicy.c | 708 vma->vm_ops, vma->vm_file, in vma_replace_policy() 709 vma->vm_ops ? vma->vm_ops->set_policy : NULL); in vma_replace_policy() 715 if (vma->vm_ops && vma->vm_ops->set_policy) { in vma_replace_policy() 716 err = vma->vm_ops->set_policy(vma, new); in vma_replace_policy() 901 if (vma->vm_ops && vma->vm_ops->get_policy) in do_get_mempolicy() 902 pol = vma->vm_ops->get_policy(vma, addr); in do_get_mempolicy() 1704 if (vma->vm_ops && vma->vm_ops->get_policy) { in __get_vma_policy() 1705 pol = vma->vm_ops->get_policy(vma, addr); in __get_vma_policy() 1750 if (vma->vm_ops && vma->vm_ops->get_policy) { in vma_policy_mof() 1753 pol = vma->vm_ops->get_policy(vma, vma->vm_start); in vma_policy_mof()
|
D | nommu.c | 694 if (vma->vm_ops && vma->vm_ops->close) in delete_vma() 695 vma->vm_ops->close(vma); in delete_vma() 1421 if (new->vm_ops && new->vm_ops->open) in split_vma() 1422 new->vm_ops->open(new); in split_vma()
|
D | mremap.c | 365 } else if (vma->vm_ops && vma->vm_ops->mremap) { in move_vma() 366 err = vma->vm_ops->mremap(new_vma); in move_vma()
|
D | debug.c | 130 vma->anon_vma, vma->vm_ops, vma->vm_pgoff, in dump_vma()
|
D | khugepaged.c | 427 if (!vma->anon_vma || vma->vm_ops) in hugepage_vma_check() 895 if (!vma->anon_vma || vma->vm_ops) in hugepage_vma_revalidate()
|
D | gup.c | 134 if ((flags & FOLL_DUMP) && (!vma->vm_ops || !vma->vm_ops->fault)) in no_page_table()
|
D | shmem.c | 258 return vma->vm_ops == &shmem_vm_ops; in vma_is_shmem() 2223 vma->vm_ops = &shmem_vm_ops; in shmem_mmap() 4213 vma->vm_ops = &shmem_vm_ops; in shmem_zero_setup()
|
D | hugetlb.c | 665 if (vma->vm_ops && vma->vm_ops->pagesize) in vma_kernel_pagesize() 666 return vma->vm_ops->pagesize(vma); in vma_kernel_pagesize()
|
D | filemap.c | 2870 vma->vm_ops = &generic_file_vm_ops; in generic_file_mmap()
|