Home
last modified time | relevance | path

Searched refs:ev_len (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/sound/core/seq/oss/
Dseq_oss_rw.c35 int ev_len; in snd_seq_oss_read() local
59 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()
/linux-6.6.21/arch/powerpc/perf/
Dhv-24x7.c705 ssize_t ev_len; in catalog_event_len_validate() local
723 ev_len = be16_to_cpu(event->length); in catalog_event_len_validate()
725 if (ev_len % 16) in catalog_event_len_validate()
727 event_idx, ev_len, event); in catalog_event_len_validate()
729 ev_end = (__u8 *)event + ev_len; in catalog_event_len_validate()
732 event_idx, ev_len, ev_end, end, in catalog_event_len_validate()
751 return ev_len; in catalog_event_len_validate()
773 ssize_t ct, ev_len; in create_events_from_catalog() local
878 event_idx++, event = (void *)event + ev_len) { in create_events_from_catalog()
883 ev_len = catalog_event_len_validate(event, event_idx, in create_events_from_catalog()
[all …]