Lines Matching refs:file
155 int MIDIbuf_open(int dev, struct file *file) in MIDIbuf_open() argument
160 mode = translate_mode(file); in MIDIbuf_open()
214 void MIDIbuf_release(int dev, struct file *file) in MIDIbuf_release() argument
219 mode = translate_mode(file); in MIDIbuf_release()
259 int MIDIbuf_write(int dev, struct file *file, const char __user *buf, int count) in MIDIbuf_write() argument
279 if (file->f_flags & O_NONBLOCK) { in MIDIbuf_write()
313 int MIDIbuf_read(int dev, struct file *file, char __user *buf, int count) in MIDIbuf_read() argument
323 if (file->f_flags & O_NONBLOCK) { in MIDIbuf_read()
362 int MIDIbuf_ioctl(int dev, struct file *file, in MIDIbuf_ioctl() argument
398 unsigned int MIDIbuf_poll(int dev, struct file *file, poll_table * wait) in MIDIbuf_poll() argument
405 poll_wait(file, &input_sleeper[dev], wait); in MIDIbuf_poll()
410 poll_wait(file, &midi_sleeper[dev], wait); in MIDIbuf_poll()