Lines Matching defs:response
49 /* request and response are in unencrypted memory */
50 struct snp_guest_msg *request, *response;
272 /* Build IV with response buffer sequence number */
287 dev_dbg(snp_dev->dev, "response [seqno %lld type %d version %d sz %d]\n",
290 /* Copy response from shared memory to encrypted memory. */
291 memcpy(resp, snp_dev->response, sizeof(*resp));
297 /* Verify response message type and version number. */
401 * this now because decryption uses the value stored in the response
439 /* Clear shared memory's response for the host to populate. */
440 memset(snp_dev->response, 0, sizeof(struct snp_guest_msg));
494 * The intermediate response buffer is used while decrypting the
495 * response payload. Make sure that it has enough space to cover the
532 * The intermediate response buffer is used while decrypting the
533 * response payload. Make sure that it has enough space to cover the
552 /* The response buffer contains the sensitive data, explicitly clear it. */
594 * The intermediate response buffer is used while decrypting the
595 * response payload. Make sure that it has enough space to cover the
796 /* Allocate the shared page used for the request and response message. */
801 snp_dev->response = alloc_shared_pages(dev, sizeof(struct snp_guest_msg));
802 if (!snp_dev->response)
821 snp_dev->input.resp_gpa = __pa(snp_dev->response);
834 free_shared_pages(snp_dev->response, sizeof(struct snp_guest_msg));
847 free_shared_pages(snp_dev->response, sizeof(struct snp_guest_msg));