Lines Matching refs:vm_ops
23 const struct vm_operations_struct *vm_ops;
509 if (vma->vm_ops && vma->vm_ops->may_split) {
510 err = vma->vm_ops->may_split(vma, addr);
542 if (new->vm_ops && new->vm_ops->open)
543 new->vm_ops->open(new);
775 return !vma->vm_ops || !vma->vm_ops->close;
1878 if (new_vma->vm_ops && new_vma->vm_ops->open)
1879 new_vma->vm_ops->open(new_vma);
1911 * there is a vm_ops->close() function, because that indicates that the
2001 static bool vm_ops_needs_writenotify(const struct vm_operations_struct *vm_ops)
2003 return vm_ops && (vm_ops->page_mkwrite || vm_ops->pfn_mkwrite);
2033 if (vm_ops_needs_writenotify(vma->vm_ops))
2056 if (vm_ops_needs_writenotify(vma->vm_ops))
2300 * If that's not possible because the ptes are cleared (and vm_ops->closed() may
2316 * Aborting cannot just call the vm_ops open() because they are often
2393 * This is also needed for mmap_file(), which is why vm_ops
2595 map->vm_ops = desc.vm_ops;
2604 if (map->vm_ops)
2605 vma->vm_ops = map->vm_ops;