Lines Matching defs:unshare
4915 * split, unshare PMDs in the PUD_SIZE interval surrounding addr now.
4920 * split the VMA. We will need to unshare PMDs in the old and
4921 * new VMAs, so let's unshare before we split.
5571 const bool unshare = flags & FAULT_FLAG_UNSHARE;
5589 if (!unshare && huge_pte_uffd_wp(pte))
5596 if (WARN_ON_ONCE(!unshare && !(vma->vm_flags & VM_WRITE)))
5617 if (likely(!unshare))
5723 pte_t newpte = make_huge_pte(vma, &new_folio->page, !unshare);
5725 /* Break COW or unshare */
5741 * unshare)
6180 * If we are going to COW/unshare the mapping later, we examine the
6619 * When uffd-wp is enabled on the vma, unshare
6689 * did unshare a page of pmds, flush the range corresponding to the pud.