Lines Matching defs:file
132 void tty_open_proc_set_tty(struct file *filp, struct tty_struct *tty)
149 * on a write-only file descriptor. In that case, it might be
354 * @file: file structure used to check permissions
365 static int tiocsctty(struct tty_struct *tty, struct file *file, int arg)
402 if ((file->f_mode & FMODE_READ) == 0 && !capable(CAP_SYS_ADMIN)) {
573 struct file *file, unsigned int cmd, unsigned long arg)
584 return tiocsctty(real_tty, file, arg);