Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/char/tpm/
Dtpm_bios.c63 u32 event_size; member
111 u32 event_size; member
163 if (event->event_type == 0 && event->event_size == 0) in tpm_bios_measurements_start()
165 addr += sizeof(struct tcpa_event) + event->event_size; in tpm_bios_measurements_start()
175 if ((event->event_type == 0 && event->event_size == 0) || in tpm_bios_measurements_start()
176 ((addr + sizeof(struct tcpa_event) + event->event_size) >= limit)) in tpm_bios_measurements_start()
189 v += sizeof(struct tcpa_event) + event->event_size; in tpm_bios_measurements_next()
197 if (event->event_type == 0 && event->event_size == 0) in tpm_bios_measurements_next()
200 if ((event->event_type == 0 && event->event_size == 0) || in tpm_bios_measurements_next()
201 ((v + sizeof(struct tcpa_event) + event->event_size) >= limit)) in tpm_bios_measurements_next()
[all …]
/linux-3.4.99/drivers/uwb/
Dhwa-rc.c505 ssize_t event_size; in hwarc_filter_event_WUSB_0100() local
515 event_size = hwarc_get_event_size(rc, rceb, core_size, in hwarc_filter_event_WUSB_0100()
517 if (event_size < 0) in hwarc_filter_event_WUSB_0100()
519 *_real_size = event_size; in hwarc_filter_event_WUSB_0100()
533 event_size = hwarc_get_event_size(rc, rceb, core_size, in hwarc_filter_event_WUSB_0100()
535 if (event_size < 0) in hwarc_filter_event_WUSB_0100()
537 *_real_size = event_size; in hwarc_filter_event_WUSB_0100()
545 event_size = hwarc_get_event_size(rc, rceb, core_size, in hwarc_filter_event_WUSB_0100()
547 if (event_size < 0) in hwarc_filter_event_WUSB_0100()
549 *_real_size = event_size; in hwarc_filter_event_WUSB_0100()
Dneh.c485 size_t size, real_size, event_size; in uwb_rc_neh_grok() local
501 &real_size, &event_size); in uwb_rc_neh_grok()
526 real_size = event_size = ret; in uwb_rc_neh_grok()
528 uwb_rc_neh_grok_event(rc, rceb, event_size); in uwb_rc_neh_grok()
/linux-3.4.99/fs/notify/inotify/
Dinotify_user.c136 size_t event_size = sizeof(struct inotify_event); in get_one_event() local
147 event_size += roundup(event->name_len + 1, event_size); in get_one_event()
149 if (event_size > count) in get_one_event()
172 size_t event_size = sizeof(struct inotify_event); in copy_event_to_user() local
196 name_len = roundup(event->name_len + 1, event_size); in copy_event_to_user()
203 if (copy_to_user(buf, &inotify_event, event_size)) in copy_event_to_user()
206 buf += event_size; in copy_event_to_user()
224 event_size += name_len; in copy_event_to_user()
227 return event_size; in copy_event_to_user()
/linux-3.4.99/tools/perf/util/
Dheader.h67 u64 event_size; member
Dheader.c1719 header->event_size = event_count * sizeof(struct perf_trace_event_type); in perf_session__write_header()
1721 err = do_write(fd, events, header->event_size); in perf_session__write_header()
1750 .size = header->event_size, in perf_session__write_header()
1986 ph->event_size = header->event_types.size; in perf_file_header__read()
/linux-3.4.99/drivers/hid/usbhid/
Dhiddev.c344 int event_size; in hiddev_read() local
347 event_size = ((list->flags & HIDDEV_FLAG_UREF) != 0) ? in hiddev_read()
350 if (count < event_size) in hiddev_read()
396 retval + event_size <= count) { in hiddev_read()
/linux-3.4.99/drivers/net/wireless/iwlwifi/
Diwl-trans-pcie-rx.c735 u32 event_size; /* 2 u32s, or 3 u32s if timestamp recorded */ in iwl_print_event_log() local
753 event_size = 2 * sizeof(u32); in iwl_print_event_log()
755 event_size = 3 * sizeof(u32); in iwl_print_event_log()
757 ptr = base + EVENT_START_OFFSET + (start_idx * event_size); in iwl_print_event_log()