Lines Matching refs:ucall
23 struct ucall { struct
29 struct ucall *hva; argument
36 void ucall(uint64_t cmd, int nargs, ...);
41 uint64_t get_ucall(struct kvm_vcpu *vcpu, struct ucall *uc);
54 ucall(UCALL_SYNC, 6, "hello", stage, arg1, arg2, arg3, arg4)
55 #define GUEST_SYNC(stage) ucall(UCALL_SYNC, 2, "hello", stage)
56 #define GUEST_SYNC1(arg0) ucall(UCALL_SYNC, 1, arg0)
57 #define GUEST_SYNC2(arg0, arg1) ucall(UCALL_SYNC, 2, arg0, arg1)
59 ucall(UCALL_SYNC, 3, arg0, arg1, arg2)
61 ucall(UCALL_SYNC, 4, arg0, arg1, arg2, arg3)
63 ucall(UCALL_SYNC, 5, arg0, arg1, arg2, arg3, arg4)
65 ucall(UCALL_SYNC, 6, arg0, arg1, arg2, arg3, arg4, arg5)
68 #define GUEST_DONE() ucall(UCALL_DONE, 0)
70 #define REPORT_GUEST_PRINTF(ucall) pr_info("%s", (ucall).buffer) argument
111 #define REPORT_GUEST_ASSERT(ucall) \ argument
112 test_assert(false, (const char *)(ucall).args[GUEST_ERROR_STRING], \
113 (const char *)(ucall).args[GUEST_FILE], \
114 (ucall).args[GUEST_LINE], "%s", (ucall).buffer)