Lines Matching defs:file
29 #include <linux/file.h>
47 static void pty_close(struct tty_struct *tty, struct file *filp)
220 static int pty_open(struct tty_struct *tty, struct file *filp)
594 * @master: the open struct file of the ptmx device node
602 int ptm_open_peer(struct file *master, struct tty_struct *tty, int flags)
605 struct file *filp;
681 * @file: unused
689 struct file *file, int idx)
698 * @file: file pointer to tty
706 struct file *file, int idx)
711 tty = devpts_get_priv(file->f_path.dentry);
780 * @inode: inode of device file
781 * @filp: file pointer to tty
790 static int ptmx_open(struct inode *inode, struct file *filp)