Lines Matching refs:tcpa_event
77 struct tcpa_event *event; in tpm1_bios_measurements_start()
86 if (addr + sizeof(struct tcpa_event) > limit) in tpm1_bios_measurements_start()
95 || ((addr + sizeof(struct tcpa_event) + converted_event_size) in tpm1_bios_measurements_start()
102 addr += (sizeof(struct tcpa_event) + converted_event_size); in tpm1_bios_measurements_start()
111 struct tcpa_event *event = v; in tpm1_bios_measurements_next()
121 v += sizeof(struct tcpa_event) + converted_event_size; in tpm1_bios_measurements_next()
124 if ((v + sizeof(struct tcpa_event)) > limit) in tpm1_bios_measurements_next()
133 ((v + sizeof(struct tcpa_event) + converted_event_size) > limit)) in tpm1_bios_measurements_next()
143 static int get_event_name(char *dest, struct tcpa_event *event, in get_event_name()
225 struct tcpa_event *event = v; in tpm1_binary_bios_measurements_show()
226 struct tcpa_event temp_event; in tpm1_binary_bios_measurements_show()
230 memcpy(&temp_event, event, sizeof(struct tcpa_event)); in tpm1_binary_bios_measurements_show()
239 for (i = 0; i < (sizeof(struct tcpa_event) - 1) ; i++) in tpm1_binary_bios_measurements_show()
244 for (i = (sizeof(struct tcpa_event) - 1); in tpm1_binary_bios_measurements_show()
245 i < (sizeof(struct tcpa_event) + temp_event.event_size); i++) in tpm1_binary_bios_measurements_show()
256 struct tcpa_event *event = v; in tpm1_ascii_bios_measurements_show()
258 (unsigned char *)(v + sizeof(struct tcpa_event)); in tpm1_ascii_bios_measurements_show()