Lines Matching defs:rec
23 static int insert_queue(struct seq_oss_devinfo *dp, union evrec *rec, struct file *opt);
36 union evrec rec;
44 err = snd_seq_oss_readq_pick(readq, &rec);
53 err = snd_seq_oss_readq_pick(readq, &rec);
59 ev_len = ev_length(&rec);
66 if (copy_to_user(buf, &rec, ev_len)) {
87 union evrec rec;
93 if (copy_from_user(&rec, buf, SHORT_EVENT_SIZE)) {
97 if (rec.s.code == SEQ_FULLSIZE) {
103 fmt = (*(unsigned short *)rec.c) & 0xffff;
105 return snd_seq_oss_synth_load_patch(dp, rec.s.dev,
108 if (ev_is_long(&rec)) {
110 if (rec.s.code == SEQ_EXTENDED &&
119 if (copy_from_user(rec.c + SHORT_EVENT_SIZE,
135 err = insert_queue(dp, &rec, opt);
152 insert_queue(struct seq_oss_devinfo *dp, union evrec *rec, struct file *opt)
158 if (snd_seq_oss_process_timer_event(dp->timer, rec))
167 if (snd_seq_oss_process_event(dp, rec, &event))