Lines Matching refs:session_data
1470 void *amd_certs, *session_data; in sev_send_start() local
1492 session_data = kzalloc(params.session_len, GFP_KERNEL_ACCOUNT); in sev_send_start()
1493 if (!session_data) in sev_send_start()
1526 data.session_address = __psp_pa(session_data); in sev_send_start()
1533 session_data, params.session_len)) { in sev_send_start()
1551 kfree(session_data); in sev_send_start()
1693 void *session_data; in sev_receive_start() local
1714 session_data = psp_copy_user_blob(params.session_uaddr, in sev_receive_start()
1716 if (IS_ERR(session_data)) { in sev_receive_start()
1717 ret = PTR_ERR(session_data); in sev_receive_start()
1726 start.session_address = __psp_pa(session_data); in sev_receive_start()
1754 kfree(session_data); in sev_receive_start()