Lines Matching defs:vm_ops
31 const struct vm_operations_struct *vm_ops;
554 if (vma->vm_ops && vma->vm_ops->may_split) {
555 err = vma->vm_ops->may_split(vma, addr);
587 if (new->vm_ops && new->vm_ops->open)
588 new->vm_ops->open(new);
857 return !vma->vm_ops || !vma->vm_ops->close;
2032 if (new_vma->vm_ops && new_vma->vm_ops->open)
2033 new_vma->vm_ops->open(new_vma);
2065 * there is a vm_ops->close() function, because that indicates that the
2184 static bool vm_ops_needs_writenotify(const struct vm_operations_struct *vm_ops)
2186 return vm_ops && (vm_ops->page_mkwrite || vm_ops->pfn_mkwrite);
2215 if (vm_ops_needs_writenotify(vma->vm_ops))
2238 if (vm_ops_needs_writenotify(vma->vm_ops))
2486 * If that's not possible because the ptes are cleared (and vm_ops->closed() may
2502 * Aborting cannot just call the vm_ops open() because they are often
2595 * This is also needed for mmap_file(), which is why vm_ops
2816 map->vm_ops = desc->vm_ops;
2825 if (map->vm_ops)
2826 vma->vm_ops = map->vm_ops;
2877 .vm_ops = &vma_dummy_vm_ops,
3508 vma->vm_ops = ops;