Lines Matching refs:VM_MAYSHARE

404 	if (!vma || !(vma->vm_flags & VM_MAYSHARE))  in hugetlb_vma_lock_alloc()
1157 if (vma->vm_flags & VM_MAYSHARE) { in vma_resv_map()
1172 VM_BUG_ON_VMA(vma->vm_flags & VM_MAYSHARE, vma); in set_vma_resv_map()
1180 VM_BUG_ON_VMA(vma->vm_flags & VM_MAYSHARE, vma); in set_vma_resv_flags()
1194 return !(vma->vm_flags & VM_MAYSHARE) && in __vma_private_lock()
1214 if (vma->vm_flags & VM_MAYSHARE) { in hugetlb_dup_vma_private()
1267 if (vma->vm_flags & VM_MAYSHARE && chg == 0) in vma_has_reserves()
1274 if (vma->vm_flags & VM_MAYSHARE) { in vma_has_reserves()
2755 if (vma->vm_flags & VM_MAYSHARE) { in __vma_reservation_common()
2765 if (vma->vm_flags & VM_MAYSHARE) { in __vma_reservation_common()
2778 if (vma->vm_flags & VM_MAYSHARE || mode == VMA_DEL_RESV) in __vma_reservation_common()
2907 if (!(vma->vm_flags & VM_MAYSHARE)) in restore_reserve_on_error()
4856 if (vma->vm_flags & VM_MAYSHARE) { in hugetlb_vm_op_open()
5538 if (iter_vma->vm_flags & VM_MAYSHARE) in unmap_ref_private()
5594 if (vma->vm_flags & VM_MAYSHARE) { in hugetlb_wp()
5938 if (vma->vm_flags & VM_MAYSHARE) { in hugetlb_no_page()
6181 !(vma->vm_flags & VM_MAYSHARE) && !huge_pte_write(entry)) { in hugetlb_fault()
6746 if (!vma || vma->vm_flags & VM_MAYSHARE) { in hugetlb_reserve_pages()
6774 if (vma && !(vma->vm_flags & VM_MAYSHARE) && h_cg) { in hugetlb_reserve_pages()
6808 if (!vma || vma->vm_flags & VM_MAYSHARE) { in hugetlb_reserve_pages()
6855 if (!vma || vma->vm_flags & VM_MAYSHARE) in hugetlb_reserve_pages()
6950 if (!(vma->vm_flags & VM_MAYSHARE)) in want_pmd_share()
6974 if (!(vma->vm_flags & VM_MAYSHARE) || !(v_end > v_start) || in adjust_range_if_pmd_sharing_possible()
7314 if (!(vma->vm_flags & VM_MAYSHARE)) in hugetlb_unshare_pmds()