Searched refs:ev_len (Results 1 – 2 of 2) sorted by relevance
35 int ev_len; in snd_seq_oss_read() local59 ev_len = ev_length(&rec); in snd_seq_oss_read()60 if (ev_len < count) { in snd_seq_oss_read()66 if (copy_to_user(buf, &rec, ev_len)) { in snd_seq_oss_read()70 result += ev_len; in snd_seq_oss_read()71 buf += ev_len; in snd_seq_oss_read()72 count -= ev_len; in snd_seq_oss_read()
2286 size_t ev_len; in perf_event__synthesize_mmap2_build_id() local2290 ev_len = sizeof(ev.mmap2) - sizeof(ev.mmap2.filename) + strlen(filename) + 1; in perf_event__synthesize_mmap2_build_id()2291 ev_len = PERF_ALIGN(ev_len, sizeof(u64)); in perf_event__synthesize_mmap2_build_id()2293 memset(&ev, 0, ev_len); in perf_event__synthesize_mmap2_build_id()2297 ev.mmap2.header.size = ev_len; in perf_event__synthesize_mmap2_build_id()