Lines Matching refs:vm_ops
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()
2390 new->vm_ops->open(new); in __split_vma()
2894 if (file && vma->vm_ops && vma->vm_ops->close) in mmap_region()
2895 vma->vm_ops->close(vma); in mmap_region()
3374 if (new_vma->vm_ops && new_vma->vm_ops->open) in copy_vma()
3375 new_vma->vm_ops->open(new_vma); in copy_vma()
3383 if (new_vma->vm_ops && new_vma->vm_ops->close) in copy_vma()
3384 new_vma->vm_ops->close(new_vma); in copy_vma()
3498 if (vma->vm_ops == &legacy_special_mapping_vmops) { in special_mapping_fault()
3542 vma->vm_ops = ops; in __install_special_mapping()
3564 (vma->vm_ops == &special_mapping_vmops || in vma_is_special_mapping()
3565 vma->vm_ops == &legacy_special_mapping_vmops); in vma_is_special_mapping()