Lines Matching refs:event_header

37 				   struct tcg_pcr_event *event_header)  in calc_tpm2_event_size()  argument
39 return __calc_tpm2_event_size(event, event_header, false); in calc_tpm2_event_size()
48 struct tcg_pcr_event *event_header; in tpm2_bios_measurements_start() local
53 event_header = addr; in tpm2_bios_measurements_start()
54 size = struct_size(event_header, event, event_header->event_size); in tpm2_bios_measurements_start()
58 if ((event_header->event_type == 0) && in tpm2_bios_measurements_start()
59 (event_header->event_size == 0)) in tpm2_bios_measurements_start()
68 size = calc_tpm2_event_size(event, event_header); in tpm2_bios_measurements_start()
75 size = calc_tpm2_event_size(event, event_header); in tpm2_bios_measurements_start()
88 struct tcg_pcr_event *event_header; in tpm2_bios_measurements_next() local
97 event_header = log->bios_event_log; in tpm2_bios_measurements_next()
100 event_size = struct_size(event_header, event, in tpm2_bios_measurements_next()
101 event_header->event_size); in tpm2_bios_measurements_next()
102 marker = event_header; in tpm2_bios_measurements_next()
105 event_size = calc_tpm2_event_size(event, event_header); in tpm2_bios_measurements_next()
117 event_size = calc_tpm2_event_size(event, event_header); in tpm2_bios_measurements_next()
132 struct tcg_pcr_event *event_header = log->bios_event_log; in tpm2_binary_bios_measurements_show() local
138 size = struct_size(event_header, event, in tpm2_binary_bios_measurements_show()
139 event_header->event_size); in tpm2_binary_bios_measurements_show()
140 temp_ptr = event_header; in tpm2_binary_bios_measurements_show()
145 size = calc_tpm2_event_size(event, event_header); in tpm2_binary_bios_measurements_show()