Lines Matching refs:event_header
41 struct tcg_pcr_event *event_header) in calc_tpm2_event_size() argument
58 efispecid = (struct tcg_efi_specid_event *)event_header->event; in calc_tpm2_event_size()
97 struct tcg_pcr_event *event_header; in tpm2_bios_measurements_start() local
102 event_header = addr; in tpm2_bios_measurements_start()
103 size = sizeof(struct tcg_pcr_event) - sizeof(event_header->event) in tpm2_bios_measurements_start()
104 + event_header->event_size; in tpm2_bios_measurements_start()
108 if ((event_header->event_type == 0) && in tpm2_bios_measurements_start()
109 (event_header->event_size == 0)) in tpm2_bios_measurements_start()
118 size = calc_tpm2_event_size(event, event_header); in tpm2_bios_measurements_start()
125 size = calc_tpm2_event_size(event, event_header); in tpm2_bios_measurements_start()
138 struct tcg_pcr_event *event_header; in tpm2_bios_measurements_next() local
146 event_header = log->bios_event_log; in tpm2_bios_measurements_next()
150 sizeof(event_header->event) + event_header->event_size; in tpm2_bios_measurements_next()
151 marker = event_header; in tpm2_bios_measurements_next()
154 event_size = calc_tpm2_event_size(event, event_header); in tpm2_bios_measurements_next()
166 event_size = calc_tpm2_event_size(event, event_header); in tpm2_bios_measurements_next()
182 struct tcg_pcr_event *event_header = log->bios_event_log; in tpm2_binary_bios_measurements_show() local
189 sizeof(event_header->event) + event_header->event_size; in tpm2_binary_bios_measurements_show()
191 temp_ptr = event_header; in tpm2_binary_bios_measurements_show()
196 size = calc_tpm2_event_size(event, event_header); in tpm2_binary_bios_measurements_show()