Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/char/tpm/eventlog/
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 …]
Dacpi.c48 struct tcg_pcr_event *event_header; in tpm_is_tpm2_log() local
51 if (len < sizeof(*event_header)) in tpm_is_tpm2_log()
53 len -= sizeof(*event_header); in tpm_is_tpm2_log()
54 event_header = bios_event_log; in tpm_is_tpm2_log()
58 efispecid = (struct tcg_efi_specid_event_head *)event_header->event; in tpm_is_tpm2_log()
/linux-6.1.9/include/linux/
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()
Dcdrom.h274 struct event_header { struct
/linux-6.1.9/drivers/firmware/efi/libstub/
Defi-stub-helper.c387 .event_header.header_size = sizeof(evt->event_data.event_header), in efi_measure_tagged_event()
388 .event_header.header_version = EFI_TCG2_EVENT_HEADER_VERSION, in efi_measure_tagged_event()
389 .event_header.pcr_index = events[event].pcr_index, in efi_measure_tagged_event()
390 .event_header.event_type = EV_EVENT_TAG, in efi_measure_tagged_event()
Defistub.h767 } __packed event_header; member
/linux-6.1.9/drivers/scsi/
Dsr.c170 struct event_header *eh = (void *)buf; in sr_get_events()
/linux-6.1.9/drivers/cdrom/
Dcdrom.c665 struct event_header *eh = (struct event_header *)buffer; in cdrom_get_media_event()