Home
last modified time | relevance | path

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

/linux-2.6.39/sound/core/seq/oss/
Dseq_oss_rw.c48 int ev_len; in snd_seq_oss_read() local
72 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()
/linux-2.6.39/sound/oss/
Dsequencer.c87 int ev_len; in sequencer_read() local
92 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()