Home
last modified time | relevance | path

Searched refs:event_header (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/char/tpm/eventlog/
H A Dtpm2.c37 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
[all …]
H A Dacpi.c49 struct tcg_pcr_event *event_header; in tpm_is_tpm2_log() local
52 if (len < sizeof(*event_header)) in tpm_is_tpm2_log()
54 len -= sizeof(*event_header); in tpm_is_tpm2_log()
55 event_header = bios_event_log; in tpm_is_tpm2_log()
59 efispecid = (struct tcg_efi_specid_event_head *)event_header->event; in tpm_is_tpm2_log()
/linux/include/linux/
H A Dtpm_eventlog.h161 struct tcg_pcr_event *event_header, in __calc_tpm2_event_size() argument
176 const u8 zero_digest[sizeof(event_header->digest)] = {0}; in __calc_tpm2_event_size()
205 if (event_header->pcr_idx != 0 || in __calc_tpm2_event_size()
206 event_header->event_type != NO_ACTION || in __calc_tpm2_event_size()
207 memcmp(event_header->digest, zero_digest, sizeof(zero_digest))) { in __calc_tpm2_event_size()
212 efispecid = (struct tcg_efi_specid_event_head *)event_header->event; in __calc_tpm2_event_size()
/linux/drivers/firmware/efi/libstub/
H A Defi-stub-helper.c266 .event_header.header_size = sizeof(ev.tcg2_data.event_header), in efi_measure_tagged_event()
267 .event_header.header_version = EFI_TCG2_EVENT_HEADER_VERSION, in efi_measure_tagged_event()
268 .event_header.pcr_index = events[event].pcr_index, in efi_measure_tagged_event()
269 .event_header.event_type = EV_EVENT_TAG, in efi_measure_tagged_event()
284 .event_header.header_size = sizeof(ev.cc_data.event_header), in efi_measure_tagged_event()
285 .event_header.header_version = EFI_CC_EVENT_HEADER_VERSION, in efi_measure_tagged_event()
286 .event_header.event_type = EV_EVENT_TAG, in efi_measure_tagged_event()
291 &ev.cc_data.event_header.mr_index); in efi_measure_tagged_event()
H A Defistub.h842 } __packed event_header; member
909 } __packed event_header; member
/linux/drivers/scsi/
H A Dsr.c169 struct event_header *eh = (void *)buf; in sr_get_events()
/linux/drivers/cdrom/
H A Dcdrom.c666 struct event_header *eh = (struct event_header *)buffer; in cdrom_get_media_event()