Lines Matching refs:expect
1093 x86pte_t expect = MAKEPTP(old->ht_pfn, old->ht_level);
1100 found = x86pte_cas(higher, entry, expect, 0);
1106 if (found != expect && found != 0)
1108 if (found != expect)
1111 found, expect);
2227 * matches the value determined by expect.
2237 x86pte_t expect,
2264 if (expect != 0 && (oldpte & PT_PADDR) != (expect & PT_PADDR))
2282 if (expect != 0 && (oldpte & PT_PADDR) != (expect & PT_PADDR))
2298 * Change a page table entry af it currently matches the value in expect.
2304 x86pte_t expect,
2316 found = CAS_PTE(ptep, expect, new);
2318 if (found == expect) {
2329 if ((expect & (PT_WRITABLE | PT_MOD)) == PT_WRITABLE &&