Lines Matching refs:out

167 	struct tpm2_pcr_read_out *out;  in tpm2_pcr_read()  local
200 goto out; in tpm2_pcr_read()
202 out = (struct tpm2_pcr_read_out *)&buf.data[TPM_HEADER_SIZE]; in tpm2_pcr_read()
203 digest_size = be16_to_cpu(out->digest_size); in tpm2_pcr_read()
207 goto out; in tpm2_pcr_read()
213 memcpy(digest->digest, out->digest, digest_size); in tpm2_pcr_read()
214 out: in tpm2_pcr_read()
290 struct tpm2_get_random_out *out; in tpm2_get_random() local
316 goto out; in tpm2_get_random()
319 out = (struct tpm2_get_random_out *) in tpm2_get_random()
321 recd = min_t(u32, be16_to_cpu(out->size), num_bytes); in tpm2_get_random()
327 goto out; in tpm2_get_random()
329 memcpy(dest_ptr, out->buffer, recd); in tpm2_get_random()
338 out: in tpm2_get_random()
389 struct tpm2_get_cap_out *out; in tpm2_get_tpm_pt() local
401 out = (struct tpm2_get_cap_out *) in tpm2_get_tpm_pt()
409 if (be32_to_cpu(out->property_cnt) > 0) in tpm2_get_tpm_pt()
410 *value = be32_to_cpu(out->value); in tpm2_get_tpm_pt()
494 struct tpm_header *out; in tpm2_probe() local
507 out = (struct tpm_header *)buf.data; in tpm2_probe()
508 if (be16_to_cpu(out->tag) == TPM2_ST_NO_SESSIONS) in tpm2_probe()
573 goto out; in tpm2_get_pcr_allocation()
583 goto out; in tpm2_get_pcr_allocation()
621 out: in tpm2_get_pcr_allocation()
638 goto out; in tpm2_get_cc_attrs_tbl()
642 goto out; in tpm2_get_cc_attrs_tbl()
649 goto out; in tpm2_get_cc_attrs_tbl()
654 goto out; in tpm2_get_cc_attrs_tbl()
663 goto out; in tpm2_get_cc_attrs_tbl()
670 goto out; in tpm2_get_cc_attrs_tbl()
689 out: in tpm2_get_cc_attrs_tbl()
738 goto out; in tpm2_auto_startup()
742 goto out; in tpm2_auto_startup()
747 goto out; in tpm2_auto_startup()
751 goto out; in tpm2_auto_startup()
762 out: in tpm2_auto_startup()