Searched refs:tdreport (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/tools/testing/selftests/tdx/ ! |
D | tdx_guest_test.c | 105 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/ ! |
D | tdx-guest.c | 23 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/ ! |
D | tdx-guest.h | 30 __u8 tdreport[TDX_REPORT_LEN]; member
|
/linux-6.6.21/arch/x86/include/asm/ ! |
D | tdx.h | 53 int tdx_mcall_get_report0(u8 *reportdata, u8 *tdreport);
|
/linux-6.6.21/Documentation/virt/coco/ ! |
D | tdx-guest.rst | 28 tdx_report_req.tdreport and return 0. Return -EINVAL for invalid
|
/linux-6.6.21/arch/x86/coco/tdx/ ! |
D | tdx.c | 91 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()
|