Lines Matching defs:event
8 * Access to TPM 2.0 event log as written by Firmware.
9 * It assumes that writer of event log has followed TCG Specification
10 * for Family "2.0" and written the event data in little endian.
26 * calc_tpm2_event_size() - calculate the event size, where event
27 * is an entry in the TPM 2.0 event log. The event is of type Crypto
31 * @event: event whose size is to be calculated.
32 * @event_header: the first event in the event log.
34 * Returns size of the event. If it is an invalid event, returns 0.
36 static size_t calc_tpm2_event_size(struct tcg_pcr_event2_head *event,
39 return __calc_tpm2_event_size(event, event_header, false);
49 struct tcg_pcr_event2_head *event;
54 size = struct_size(event_header, event, event_header->event_size);
67 event = addr;
68 size = calc_tpm2_event_size(event, event_header);
74 event = addr;
75 size = calc_tpm2_event_size(event, event_header);
89 struct tcg_pcr_event2_head *event;
100 event_size = struct_size(event_header, event,
104 event = v;
105 event_size = calc_tpm2_event_size(event, event_header);
108 marker = event;
115 event = v;
117 event_size = calc_tpm2_event_size(event, event_header);
133 struct tcg_pcr_event2_head *event = v;
138 size = struct_size(event_header, event,
145 size = calc_tpm2_event_size(event, event_header);
146 temp_ptr = event;