Home
last modified time | relevance | path

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

/linux-2.6.39/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-2.6.39/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.c478 size_t size, real_size, event_size; in uwb_rc_neh_grok() local
494 &real_size, &event_size); in uwb_rc_neh_grok()
519 real_size = event_size = ret; in uwb_rc_neh_grok()
521 uwb_rc_neh_grok_event(rc, rceb, event_size); in uwb_rc_neh_grok()
/linux-2.6.39/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-2.6.39/tools/perf/util/
Dheader.h52 u64 event_size; member
Dheader.c491 header->event_size = event_count * sizeof(struct perf_trace_event_type); in perf_session__write_header()
493 err = do_write(fd, events, header->event_size); in perf_session__write_header()
522 .size = header->event_size, in perf_session__write_header()
637 ph->event_size = header->event_types.size; in perf_file_header__read()
/linux-2.6.39/drivers/hid/usbhid/
Dhiddev.c335 int event_size; in hiddev_read() local
338 event_size = ((list->flags & HIDDEV_FLAG_UREF) != 0) ? in hiddev_read()
341 if (count < event_size) in hiddev_read()
385 retval + event_size <= count) { in hiddev_read()
/linux-2.6.39/drivers/net/wireless/iwlegacy/
Diwl4965-base.c1723 u32 event_size; /* 2 u32s, or 3 u32s if timestamp recorded */ in iwl4965_print_event_log() local
1738 event_size = 2 * sizeof(u32); in iwl4965_print_event_log()
1740 event_size = 3 * sizeof(u32); in iwl4965_print_event_log()
1742 ptr = base + EVENT_START_OFFSET + (start_idx * event_size); in iwl4965_print_event_log()
Diwl3945-base.c1424 u32 event_size; /* 2 u32s, or 3 u32s if timestamp recorded */ in iwl3945_print_event_log() local
1435 event_size = 2 * sizeof(u32); in iwl3945_print_event_log()
1437 event_size = 3 * sizeof(u32); in iwl3945_print_event_log()
1439 ptr = base + EVENT_START_OFFSET + (start_idx * event_size); in iwl3945_print_event_log()
/linux-2.6.39/drivers/net/wireless/iwlwifi/
Diwl-agn.c2142 u32 event_size; /* 2 u32s, or 3 u32s if timestamp recorded */ in iwl_print_event_log() local
2161 event_size = 2 * sizeof(u32); in iwl_print_event_log()
2163 event_size = 3 * sizeof(u32); in iwl_print_event_log()
2165 ptr = base + EVENT_START_OFFSET + (start_idx * event_size); in iwl_print_event_log()