/Linux-v5.10/drivers/char/tpm/eventlog/ |
D | tpm2.c | 54 size = struct_size(event_header, event, event_header->event_size); in tpm2_bios_measurements_start() 59 (event_header->event_size == 0)) in tpm2_bios_measurements_start() 93 size_t event_size; in tpm2_bios_measurements_next() local 100 event_size = struct_size(event_header, event, in tpm2_bios_measurements_next() 101 event_header->event_size); in tpm2_bios_measurements_next() 105 event_size = calc_tpm2_event_size(event, event_header); in tpm2_bios_measurements_next() 106 if (event_size == 0) in tpm2_bios_measurements_next() 111 marker = marker + event_size; in tpm2_bios_measurements_next() 117 event_size = calc_tpm2_event_size(event, event_header); in tpm2_bios_measurements_next() 118 if (((v + event_size) >= limit) || (event_size == 0)) in tpm2_bios_measurements_next() [all …]
|
D | tpm1.c | 90 do_endian_conversion(event->event_size); in tpm1_bios_measurements_start() 119 converted_event_size = do_endian_conversion(event->event_size); in tpm1_bios_measurements_next() 129 converted_event_size = do_endian_conversion(event->event_size); in tpm1_bios_measurements_next() 175 do_endian_conversion(event->event_size)) { in get_event_name() 177 n_len = do_endian_conversion(event->event_size); in get_event_name() 234 temp_event.event_size = do_endian_conversion(event->event_size); in tpm1_binary_bios_measurements_show() 244 i < (sizeof(struct tcpa_event) + temp_event.event_size); i++) in tpm1_binary_bios_measurements_show()
|
/Linux-v5.10/include/linux/ |
D | tpm_eventlog.h | 30 u32 event_size; member 57 u32 event_size; member 101 u32 event_size; member 106 u32 event_size; member 268 mapping_size += sizeof(event_field->event_size); in __calc_tpm2_event_size() 281 marker = marker + sizeof(event_field->event_size) in __calc_tpm2_event_size() 282 + event_field->event_size; in __calc_tpm2_event_size() 285 if (event_type == 0 && event_field->event_size == 0) in __calc_tpm2_event_size()
|
/Linux-v5.10/drivers/firmware/efi/ |
D | tpm.c | 22 int event_size, size = 0; in tpm2_calc_event_log_size() local 26 event_size = __calc_tpm2_event_size(header, size_info, true); in tpm2_calc_event_log_size() 27 if (event_size == 0) in tpm2_calc_event_log_size() 29 size += event_size; in tpm2_calc_event_log_size()
|
/Linux-v5.10/drivers/firmware/efi/libstub/ |
D | tpm.c | 112 ((struct tcpa_event *) last_entry_addr)->event_size; in efi_retrieve_tpm2_eventlog() 136 int event_size; in efi_retrieve_tpm2_eventlog() local 145 event_size = __calc_tpm2_event_size(header, in efi_retrieve_tpm2_eventlog() 148 final_events_size += event_size; in efi_retrieve_tpm2_eventlog()
|
/Linux-v5.10/drivers/platform/chrome/wilco_ec/ |
D | event.c | 217 size_t num_words, event_size; in enqueue_events() local 224 event_size = ec_event_size(event); in enqueue_events() 232 if ((offset + event_size) > length) { in enqueue_events() 234 offset + event_size, length); in enqueue_events() 239 offset += event_size; in enqueue_events() 242 queue_event = kmemdup(event, event_size, GFP_KERNEL); in enqueue_events()
|
/Linux-v5.10/fs/notify/inotify/ |
D | inotify_user.c | 137 size_t event_size = sizeof(struct inotify_event); in get_one_event() local 147 event_size += round_event_name_len(event); in get_one_event() 148 if (event_size > count) in get_one_event() 170 size_t event_size = sizeof(struct inotify_event); in copy_event_to_user() local 189 if (copy_to_user(buf, &inotify_event, event_size)) in copy_event_to_user() 192 buf += event_size; in copy_event_to_user() 208 event_size += pad_name_len; in copy_event_to_user() 211 return event_size; in copy_event_to_user()
|
/Linux-v5.10/drivers/platform/chrome/ |
D | cros_ec_chardev.c | 101 int total_size = sizeof(*event) + ec_dev->event_size; in cros_ec_chardev_mkbp_event() 111 event->size = ec_dev->event_size; in cros_ec_chardev_mkbp_event() 113 memcpy(event->data, &ec_dev->event_data.data, ec_dev->event_size); in cros_ec_chardev_mkbp_event()
|
D | cros_ec_proto.c | 633 ec_dev->event_size = ret - 1; in get_next_event_xfer() 675 ec_dev->event_size = cros_ec_cmd_xfer_status(ec_dev, msg); in get_keyboard_state_event() 680 return ec_dev->event_size; in get_keyboard_state_event() 776 if (ec_dev->event_size != sizeof(host_event)) { in cros_ec_get_host_event()
|
D | cros_ec_sensorhub_ring.c | 912 if (ec_dev->event_size != sizeof(ec_dev->event_data.data.sensor_fifo)) { in cros_ec_sensorhub_event()
|
/Linux-v5.10/drivers/gpio/ |
D | gpiolib-cdev.c | 2178 size_t event_size; in lineinfo_watch_read() local 2181 event_size = sizeof(struct gpio_v2_line_info_changed); in lineinfo_watch_read() 2182 if (count < event_size) in lineinfo_watch_read() 2209 event_size = sizeof(struct gpio_v2_line_info_changed); in lineinfo_watch_read() 2211 event_size = sizeof(struct gpioline_info_changed); in lineinfo_watch_read() 2212 if (count < event_size) { in lineinfo_watch_read() 2226 if (event_size == sizeof(struct gpio_v2_line_info_changed)) { in lineinfo_watch_read() 2227 if (copy_to_user(buf + bytes_read, &event, event_size)) in lineinfo_watch_read() 2234 event_size)) in lineinfo_watch_read() 2238 if (copy_to_user(buf + bytes_read, &event, event_size)) in lineinfo_watch_read() [all …]
|
/Linux-v5.10/include/linux/platform_data/ |
D | cros_ec_proto.h | 168 int event_size; member
|
/Linux-v5.10/drivers/hid/usbhid/ |
D | hiddev.c | 323 int event_size; in hiddev_read() local 326 event_size = ((list->flags & HIDDEV_FLAG_UREF) != 0) ? in hiddev_read() 329 if (count < event_size) in hiddev_read() 375 retval + event_size <= count) { in hiddev_read()
|
/Linux-v5.10/drivers/input/keyboard/ |
D | cros_ec_keyb.c | 245 if (ckdev->ec->event_size != ckdev->cols) { in cros_ec_keyb_work() 253 ckdev->ec->event_size); in cros_ec_keyb_work()
|
/Linux-v5.10/include/linux/dma/ |
D | ti-cppi5.h | 999 bool wait, enum cppi5_tr_event_size event_size, in cppi5_tr_init() argument 1003 *flags |= (event_size << CPPI5_TR_EVENT_SIZE_SHIFT) & in cppi5_tr_init()
|
/Linux-v5.10/drivers/input/touchscreen/ |
D | melfas_mip4.c | 168 unsigned int event_size; member 354 ts->event_size = buf[6]; in mip4_query_device() 356 ts->event_format, ts->event_size); in mip4_query_device() 625 for (i = 0; i < size; i += ts->event_size) { in mip4_interrupt()
|
/Linux-v5.10/fs/notify/fanotify/ |
D | fanotify_user.c | 101 size_t event_size = FAN_EVENT_METADATA_LEN; in get_one_event() local 112 event_size += fanotify_event_info_len(fid_mode, in get_one_event() 116 if (event_size > count) { in get_one_event()
|
/Linux-v5.10/drivers/media/cec/platform/cros-ec/ |
D | cros-ec-cec.c | 45 unsigned int len = cros_ec->event_size; in handle_cec_message()
|
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | main.c | 1694 u32 event_size; /* 2 u32s, or 3 u32s if timestamp recorded */ in iwl_print_event_log() local 1714 event_size = 2 * sizeof(u32); in iwl_print_event_log() 1716 event_size = 3 * sizeof(u32); in iwl_print_event_log() 1718 ptr = base + EVENT_START_OFFSET + (start_idx * event_size); in iwl_print_event_log()
|
/Linux-v5.10/tools/perf/util/ |
D | synthetic-events.c | 476 size_t event_size = sizeof(event->cgroup) - sizeof(event->cgroup.path); in perf_event__synthesize_cgroup() local 487 memset(&event->cgroup, 0, event_size); in perf_event__synthesize_cgroup() 490 event->cgroup.header.size = event_size + path_len + machine->id_hdr_size; in perf_event__synthesize_cgroup()
|