Lines Matching refs:session_data
1161 void *amd_certs, *session_data; in sev_send_start() local
1183 session_data = kzalloc(params.session_len, GFP_KERNEL_ACCOUNT); in sev_send_start()
1184 if (!session_data) in sev_send_start()
1217 data.session_address = __psp_pa(session_data); in sev_send_start()
1224 session_data, params.session_len)) { in sev_send_start()
1242 kfree(session_data); in sev_send_start()
1384 void *session_data; in sev_receive_start() local
1405 session_data = psp_copy_user_blob(params.session_uaddr, in sev_receive_start()
1407 if (IS_ERR(session_data)) { in sev_receive_start()
1408 ret = PTR_ERR(session_data); in sev_receive_start()
1417 start.session_address = __psp_pa(session_data); in sev_receive_start()
1445 kfree(session_data); in sev_receive_start()