Searched refs:mm_cp_flags (Results 1 – 2 of 2) sorted by relevance
610 unsigned int mm_cp_flags = 0; in mprotect_fixup() local679 mm_cp_flags |= MM_CP_TRY_CHANGE_WRITABLE; in mprotect_fixup()682 change_protection(tlb, vma, start, end, mm_cp_flags); in mprotect_fixup()
906 unsigned int mm_cp_flags; in uffd_wp_range() local913 mm_cp_flags = MM_CP_UFFD_WP; in uffd_wp_range()915 mm_cp_flags = MM_CP_UFFD_WP_RESOLVE; in uffd_wp_range()924 mm_cp_flags |= MM_CP_TRY_CHANGE_WRITABLE; in uffd_wp_range()926 ret = change_protection(&tlb, dst_vma, start, start + len, mm_cp_flags); in uffd_wp_range()