Home
last modified time | relevance | path

Searched refs:is_cow_mapping (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_page_dirty.c503 bool is_cow_mapping = in vmw_bo_vm_huge_fault() local
521 if (write && (READ_ONCE(vbo->dirty) || is_cow_mapping)) in vmw_bo_vm_huge_fault()
/kernel/linux/linux-5.10/mm/
Dmemory.c629 if (!is_cow_mapping(vma->vm_flags)) in vm_normal_page()
672 if (!is_cow_mapping(vma->vm_flags)) in vm_normal_page_pmd()
728 is_cow_mapping(vm_flags)) { in copy_nonpresent_pte()
765 is_cow_mapping(vm_flags)) { in copy_nonpresent_pte()
807 if (!is_cow_mapping(src_vma->vm_flags)) in copy_present_page()
896 if (is_cow_mapping(vm_flags) && pte_write(pte)) { in copy_present_pte()
1182 is_cow = is_cow_mapping(src_vma->vm_flags); in copy_page_range()
2045 BUG_ON((vma->vm_flags & VM_PFNMAP) && is_cow_mapping(vma->vm_flags)); in vmf_insert_pfn_prot()
2341 if (is_cow_mapping(vma->vm_flags)) { in remap_pfn_range()
Dinternal.h427 static inline bool is_cow_mapping(vm_flags_t flags) in is_cow_mapping() function
Dmprotect.c98 if (is_cow_mapping(vma->vm_flags) && in change_pte_range()
Dhuge_memory.c848 BUG_ON((vma->vm_flags & VM_PFNMAP) && is_cow_mapping(vma->vm_flags)); in vmf_insert_pfn_pmd_prot()
938 BUG_ON((vma->vm_flags & VM_PFNMAP) && is_cow_mapping(vma->vm_flags)); in vmf_insert_pfn_pud_prot()
1092 if (unlikely(is_cow_mapping(src_vma->vm_flags) && in copy_huge_pmd()
1208 if (unlikely(is_cow_mapping(vma->vm_flags) && in copy_huge_pud()
Dgup.c945 if (!is_cow_mapping(vm_flags)) in check_vma_flags()
/kernel/linux/linux-5.10/fs/proc/
Dtask_mmu.c1079 #define is_cow_mapping(flags) (((flags) & (VM_SHARED | VM_MAYWRITE)) == VM_MAYWRITE) macro
1087 if (!is_cow_mapping(vma->vm_flags)) in pte_is_pinned()