Lines Matching defs:uc
319 struct ucall uc;
336 switch (get_ucall(vcpu, &uc)) {
338 REPORT_GUEST_ASSERT(uc);
340 uint64_t gpa = uc.args[1];
341 size_t size = uc.args[2];
344 TEST_ASSERT(uc.args[0] == SYNC_SHARED ||
345 uc.args[0] == SYNC_PRIVATE,
346 "Unknown sync command '%ld'", uc.args[0]);
353 memcmp_h(hva, gpa + i, uc.args[3], nr_bytes);
356 if (uc.args[0] == SYNC_SHARED)
357 memset(hva, uc.args[4], nr_bytes);
364 TEST_FAIL("Unknown ucall 0x%lx.", uc.cmd);