Home
last modified time | relevance | path

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

/Linux-v4.19/sound/core/seq/oss/
Dseq_oss_rw.c55 while (count >= SHORT_EVENT_SIZE) { in snd_seq_oss_read()
105 while (count >= SHORT_EVENT_SIZE) { in snd_seq_oss_write()
106 if (copy_from_user(&rec, buf, SHORT_EVENT_SIZE)) { in snd_seq_oss_write()
132 if (copy_from_user(rec.c + SHORT_EVENT_SIZE, in snd_seq_oss_write()
133 buf + SHORT_EVENT_SIZE, in snd_seq_oss_write()
134 LONG_EVENT_SIZE - SHORT_EVENT_SIZE)) { in snd_seq_oss_write()
144 ev_size = SHORT_EVENT_SIZE; in snd_seq_oss_write()
Dseq_oss_event.h28 #define SHORT_EVENT_SIZE 4 macro
105 #define ev_length(ev) ((ev)->s.code >= 128 ? LONG_EVENT_SIZE : SHORT_EVENT_SIZE)