Lines Matching refs:expect
1078 x86pte_t expect = MAKEPTP(old->ht_pfn, old->ht_level); in unlink_ptp() local
1085 found = x86pte_cas(higher, entry, expect, 0); in unlink_ptp()
1091 if (found != expect && found != 0) in unlink_ptp()
1093 if (found != expect) in unlink_ptp()
1096 found, expect); in unlink_ptp()
2222 x86pte_t expect, in x86pte_inval() argument
2249 if (expect != 0 && (oldpte & PT_PADDR) != (expect & PT_PADDR)) in x86pte_inval()
2267 if (expect != 0 && (oldpte & PT_PADDR) != (expect & PT_PADDR)) in x86pte_inval()
2289 x86pte_t expect, in x86pte_update() argument
2301 found = CAS_PTE(ptep, expect, new); in x86pte_update()
2303 if (found == expect) { in x86pte_update()
2314 if ((expect & (PT_WRITABLE | PT_MOD)) == PT_WRITABLE && in x86pte_update()