Home
last modified time | relevance | path

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

/linux/drivers/virt/coco/tdx-guest/
H A Dtdx-guest.c253 static int wait_for_quote_completion(struct tdx_quote_buf *quote_buf, u32 timeout) in wait_for_quote_completion() argument
261 while (quote_buf->status == GET_QUOTE_IN_FLIGHT && i++ < timeout) { in wait_for_quote_completion()
272 struct tdx_quote_buf *quote_buf = quote_data; in tdx_report_new_locked() local
283 if (quote_buf->status == GET_QUOTE_IN_FLIGHT) in tdx_report_new_locked()
292 quote_buf->version = GET_QUOTE_CMD_VER; in tdx_report_new_locked()
293 quote_buf->in_len = TDX_REPORT_LEN; in tdx_report_new_locked()
296 KERNEL_SOCKPTR(quote_buf->data)); in tdx_report_new_locked()
306 ret = wait_for_quote_completion(quote_buf, getquote_timeout); in tdx_report_new_locked()
312 if (quote_buf->status != GET_QUOTE_SUCCESS) { in tdx_report_new_locked()
313 pr_debug("GetQuote request failed, status:%llx\n", quote_buf->status); in tdx_report_new_locked()
[all …]