Searched refs:ev_len (Results 1 – 2 of 2) sorted by relevance
48 int ev_len; in snd_seq_oss_read() local72 ev_len = ev_length(&rec); in snd_seq_oss_read()73 if (ev_len < count) { in snd_seq_oss_read()79 if (copy_to_user(buf, &rec, ev_len)) { in snd_seq_oss_read()83 result += ev_len; in snd_seq_oss_read()84 buf += ev_len; in snd_seq_oss_read()85 count -= ev_len; in snd_seq_oss_read()
87 int ev_len; in sequencer_read() local92 ev_len = seq_mode == SEQ_1 ? 4 : 8; in sequencer_read()112 while (iqlen && c >= ev_len) in sequencer_read()116 if (copy_to_user(&(buf)[p], fixit, ev_len)) in sequencer_read()118 p += ev_len; in sequencer_read()119 c -= ev_len; in sequencer_read()