Lines Matching refs:files
58 if (pipe->files) in pipe_lock_nested()
73 if (pipe->files) in pipe_unlock()
536 if (!--pipe->files) { in put_pipe_info()
652 pipe->files = 2; in get_pipe_inode()
727 static int __do_pipe_flags(int *fd, struct file **files, int flags) in __do_pipe_flags() argument
735 error = create_pipe_files(files, flags); in __do_pipe_flags()
757 fput(files[0]); in __do_pipe_flags()
758 fput(files[1]); in __do_pipe_flags()
764 struct file *files[2]; in do_pipe_flags() local
765 int error = __do_pipe_flags(fd, files, flags); in do_pipe_flags()
767 fd_install(fd[0], files[0]); in do_pipe_flags()
768 fd_install(fd[1], files[1]); in do_pipe_flags()
779 struct file *files[2]; in SYSCALL_DEFINE2() local
783 error = __do_pipe_flags(fd, files, flags); in SYSCALL_DEFINE2()
786 fput(files[0]); in SYSCALL_DEFINE2()
787 fput(files[1]); in SYSCALL_DEFINE2()
792 fd_install(fd[0], files[0]); in SYSCALL_DEFINE2()
793 fd_install(fd[1], files[1]); in SYSCALL_DEFINE2()
832 pipe->files++; in fifo_open()
839 pipe->files = 1; in fifo_open()
842 inode->i_pipe->files++; in fifo_open()