Lines Matching defs:rec
36 static int insert_queue(struct seq_oss_devinfo *dp, union evrec *rec, struct file *opt);
49 union evrec rec;
57 err = snd_seq_oss_readq_pick(readq, &rec);
66 err = snd_seq_oss_readq_pick(readq, &rec);
72 ev_len = ev_length(&rec);
79 if (copy_to_user(buf, &rec, ev_len)) {
100 union evrec rec;
106 if (copy_from_user(&rec, buf, SHORT_EVENT_SIZE)) {
110 if (rec.s.code == SEQ_FULLSIZE) {
116 fmt = (*(unsigned short *)rec.c) & 0xffff;
117 return snd_seq_oss_synth_load_patch(dp, rec.s.dev,
120 if (ev_is_long(&rec)) {
122 if (rec.s.code == SEQ_EXTENDED &&
131 if (copy_from_user(rec.c + SHORT_EVENT_SIZE,
147 if ((err = insert_queue(dp, &rec, opt)) < 0)
163 insert_queue(struct seq_oss_devinfo *dp, union evrec *rec, struct file *opt)
169 if (snd_seq_oss_process_timer_event(dp->timer, rec))
178 if (snd_seq_oss_process_event(dp, rec, &event))