Lines Matching refs:tdreport
71 u8 *reportdata, *tdreport; in tdx_get_report0() local
78 tdreport = kzalloc(TDX_REPORT_LEN, GFP_KERNEL); in tdx_get_report0()
79 if (!tdreport) { in tdx_get_report0()
90 ret = tdx_mcall_get_report0(reportdata, tdreport); in tdx_get_report0()
94 if (copy_to_user(req->tdreport, tdreport, TDX_REPORT_LEN)) in tdx_get_report0()
99 kfree(tdreport); in tdx_get_report0()
164 u8 *buf, *reportdata = NULL, *tdreport = NULL; in tdx_report_new() local
195 tdreport = kzalloc(TDX_REPORT_LEN, GFP_KERNEL); in tdx_report_new()
196 if (!tdreport) { in tdx_report_new()
204 ret = tdx_mcall_get_report0(reportdata, tdreport); in tdx_report_new()
216 memcpy(quote_buf->data, tdreport, TDX_REPORT_LEN); in tdx_report_new()
247 kfree(tdreport); in tdx_report_new()