Searched refs:pgattr_change_is_safe (Results 1 – 2 of 2) sorted by relevance
134 bool pgattr_change_is_safe(u64 old, u64 new) in pgattr_change_is_safe() function187 BUG_ON(!pgattr_change_is_safe(pte_val(old_pte), in init_pte()257 BUG_ON(!pgattr_change_is_safe(pmd_val(old_pmd), in init_pmd()354 BUG_ON(!pgattr_change_is_safe(pud_val(old_pud), in alloc_init_pud()1176 if (!pgattr_change_is_safe(READ_ONCE(pud_val(*pudp)), in pud_set_huge()1190 if (!pgattr_change_is_safe(READ_ONCE(pmd_val(*pmdp)), in pmd_set_huge()
279 bool pgattr_change_is_safe(u64 old, u64 new);323 VM_WARN_ONCE(!pgattr_change_is_safe(pte_val(old_pte), pte_val(pte)), in __check_safe_pte_update()