Lines Matching refs:files
64 if (pipe->files) in pipe_lock_nested()
79 if (pipe->files) in pipe_unlock()
541 if (!--pipe->files) { in put_pipe_info()
688 pipe->files = 2; in get_pipe_inode()
766 static int __do_pipe_flags(int *fd, struct file **files, int flags) in __do_pipe_flags() argument
774 error = create_pipe_files(files, flags); in __do_pipe_flags()
796 fput(files[0]); in __do_pipe_flags()
797 fput(files[1]); in __do_pipe_flags()
803 struct file *files[2]; in do_pipe_flags() local
804 int error = __do_pipe_flags(fd, files, flags); in do_pipe_flags()
806 fd_install(fd[0], files[0]); in do_pipe_flags()
807 fd_install(fd[1], files[1]); in do_pipe_flags()
818 struct file *files[2]; in SYSCALL_DEFINE2() local
822 error = __do_pipe_flags(fd, files, flags); in SYSCALL_DEFINE2()
825 fput(files[0]); in SYSCALL_DEFINE2()
826 fput(files[1]); in SYSCALL_DEFINE2()
831 fd_install(fd[0], files[0]); in SYSCALL_DEFINE2()
832 fd_install(fd[1], files[1]); in SYSCALL_DEFINE2()
871 pipe->files++; in fifo_open()
878 pipe->files = 1; in fifo_open()
881 inode->i_pipe->files++; in fifo_open()