Lines Matching defs:expect
1039 x86pte_t expect = MAKEPTP(old->ht_pfn, old->ht_level);
1046 found = x86pte_cas(higher, entry, expect, 0);
1052 if (found != expect && found != 0)
1054 if (found != expect)
1057 found, expect);
2174 * matches the value determined by expect.
2182 x86pte_t expect,
2208 if (expect != 0 && (oldpte & PT_PADDR) != (expect & PT_PADDR))
2226 if (expect != 0 && (oldpte & PT_PADDR) != (expect & PT_PADDR))
2242 * Change a page table entry af it currently matches the value in expect.
2248 x86pte_t expect,
2260 found = CAS_PTE(ptep, expect, new);
2262 if (found == expect) {
2273 if ((expect & (PT_WRITABLE | PT_MOD)) == PT_WRITABLE &&