Home
last modified time | relevance | path

Searched refs:tdreport (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/tools/testing/selftests/tdx/ !
Dtdx_guest_test.c105 struct tdreport { struct
134 struct tdreport *tdreport; in TEST() local
152 req.tdreport, sizeof(req.tdreport)); in TEST()
156 tdreport = (struct tdreport *)req.tdreport; in TEST()
157 ASSERT_EQ(0, memcmp(&tdreport->reportmac.reportdata[0], in TEST()
/linux-6.6.21/drivers/virt/coco/tdx-guest/ !
Dtdx-guest.c23 u8 *reportdata, *tdreport; in tdx_get_report0() local
30 tdreport = kzalloc(TDX_REPORT_LEN, GFP_KERNEL); in tdx_get_report0()
31 if (!tdreport) { in tdx_get_report0()
42 ret = tdx_mcall_get_report0(reportdata, tdreport); in tdx_get_report0()
46 if (copy_to_user(req->tdreport, tdreport, TDX_REPORT_LEN)) in tdx_get_report0()
51 kfree(tdreport); in tdx_get_report0()
/linux-6.6.21/include/uapi/linux/ !
Dtdx-guest.h30 __u8 tdreport[TDX_REPORT_LEN]; member
/linux-6.6.21/arch/x86/include/asm/ !
Dtdx.h53 int tdx_mcall_get_report0(u8 *reportdata, u8 *tdreport);
/linux-6.6.21/Documentation/virt/coco/ !
Dtdx-guest.rst28 tdx_report_req.tdreport and return 0. Return -EINVAL for invalid
/linux-6.6.21/arch/x86/coco/tdx/ !
Dtdx.c91 int tdx_mcall_get_report0(u8 *reportdata, u8 *tdreport) in tdx_mcall_get_report0() argument
95 ret = __tdx_module_call(TDX_GET_REPORT, virt_to_phys(tdreport), in tdx_mcall_get_report0()