Lines Matching refs:blob
659 void *blob = NULL; in sev_launch_measure() local
679 blob = kzalloc(params.len, GFP_KERNEL_ACCOUNT); in sev_launch_measure()
680 if (!blob) in sev_launch_measure()
683 data.address = __psp_pa(blob); in sev_launch_measure()
700 if (blob) { in sev_launch_measure()
701 if (copy_to_user(p, blob, params.len)) in sev_launch_measure()
710 kfree(blob); in sev_launch_measure()
989 void *blob, *hdr; in sev_launch_secret() local
1024 blob = psp_copy_user_blob(params.trans_uaddr, params.trans_len); in sev_launch_secret()
1025 if (IS_ERR(blob)) { in sev_launch_secret()
1026 ret = PTR_ERR(blob); in sev_launch_secret()
1030 data.trans_address = __psp_pa(blob); in sev_launch_secret()
1047 kfree(blob); in sev_launch_secret()
1065 void *blob = NULL; in sev_get_attestation_report() local
1085 blob = kzalloc(params.len, GFP_KERNEL_ACCOUNT); in sev_get_attestation_report()
1086 if (!blob) in sev_get_attestation_report()
1089 data.address = __psp_pa(blob); in sev_get_attestation_report()
1105 if (blob) { in sev_get_attestation_report()
1106 if (copy_to_user(p, blob, params.len)) in sev_get_attestation_report()
1115 kfree(blob); in sev_get_attestation_report()