Lines Matching refs:f
84 static int snd_compr_open(struct inode *inode, struct file *f) in snd_compr_open() argument
93 if ((f->f_flags & O_ACCMODE) == O_WRONLY) in snd_compr_open()
95 else if ((f->f_flags & O_ACCMODE) == O_RDONLY) in snd_compr_open()
135 f->private_data = (void *)data; in snd_compr_open()
147 static int snd_compr_free(struct inode *inode, struct file *f) in snd_compr_free() argument
149 struct snd_compr_file *data = f->private_data; in snd_compr_free()
273 static ssize_t snd_compr_write(struct file *f, const char __user *buf, in snd_compr_write() argument
276 struct snd_compr_file *data = f->private_data; in snd_compr_write()
320 static ssize_t snd_compr_read(struct file *f, char __user *buf, in snd_compr_read() argument
323 struct snd_compr_file *data = f->private_data; in snd_compr_read()
368 static int snd_compr_mmap(struct file *f, struct vm_area_struct *vma) in snd_compr_mmap() argument
381 static unsigned int snd_compr_poll(struct file *f, poll_table *wait) in snd_compr_poll() argument
383 struct snd_compr_file *data = f->private_data; in snd_compr_poll()
399 poll_wait(f, &stream->runtime->sleep, wait); in snd_compr_poll()
827 static long snd_compr_ioctl(struct file *f, unsigned int cmd, unsigned long arg) in snd_compr_ioctl() argument
829 struct snd_compr_file *data = f->private_data; in snd_compr_ioctl()