Lines Matching refs:expected

76 	u64 retval, expected = 0;  in test_copy()  local
113 check(retval, expected, "remote first offset should be cleared", in test_copy()
116 check(retval, expected, "remote last offset should be cleared", in test_copy()
125 expected = 0xc0c0c0c0c0c0c0c0; in test_copy()
131 check(retval, expected, in test_copy()
134 check(retval, expected, in test_copy()
148 check(retval, expected, in test_copy()
151 check(retval, expected, in test_copy()
190 u64 retval, expected; in xe_migrate_sanity_test() local
246 expected = m->q->vm->pt_ops->pte_encode_bo(pt, 0, xe->pat.idx[XE_CACHE_WB], 0); in xe_migrate_sanity_test()
248 expected |= XE_PTE_PS64; in xe_migrate_sanity_test()
261 check(retval, expected, "PTE entry write", test); in xe_migrate_sanity_test()
267 expected = 0; in xe_migrate_sanity_test()
275 check(retval, expected, "Write to PT after adding PTE", test); in xe_migrate_sanity_test()
282 expected = 0; in xe_migrate_sanity_test()
290 check(retval, expected, "Command clear small first value", test); in xe_migrate_sanity_test()
292 check(retval, expected, "Command clear small last value", test); in xe_migrate_sanity_test()
304 expected = 0; in xe_migrate_sanity_test()
312 check(retval, expected, "Command clear big first value", test); in xe_migrate_sanity_test()
314 check(retval, expected, "Command clear big last value", test); in xe_migrate_sanity_test()
498 u64 expected, retval; in test_migrate() local
502 expected = 0xd0d0d0d0d0d0d0d0; in test_migrate()
508 if (retval == expected) in test_migrate()
527 check(retval, expected, "Clear evicted vram data first value", test); in test_migrate()
529 check(retval, expected, "Clear evicted vram data last value", test); in test_migrate()
566 check(retval, expected, "Restored value must be equal to initial value", test); in test_migrate()
568 check(retval, expected, "Restored value must be equal to initial value", test); in test_migrate()
585 u64 expected, retval; in test_clear() local
587 expected = 0xd0d0d0d0d0d0d0d0; in test_clear()
593 if (retval == expected) in test_clear()
601 check(retval, expected, "Decompressed value must be equal to initial value", test); in test_clear()
603 check(retval, expected, "Decompressed value must be equal to initial value", test); in test_clear()
608 expected = 0x0000000000000000; in test_clear()
619 check(retval, expected, "Clear main buffer first value", test); in test_clear()
621 check(retval, expected, "Clear main buffer last value", test); in test_clear()
629 check(retval, expected, "Clear ccs data first value", test); in test_clear()
631 check(retval, expected, "Clear ccs data last value", test); in test_clear()