Searched refs:read_file (Results 1 – 1 of 1) sorted by relevance
139 struct vfs_file_t *read_file = NULL; in sys_pipe() local147 read_file = (struct vfs_file_t *)kzalloc(sizeof(struct vfs_file_t), 0); in sys_pipe()148 fd[0] = process_fd_alloc(read_file); in sys_pipe()153 kfree(read_file); in sys_pipe()162 kfree(read_file); in sys_pipe()167 read_file->private_data = (void *)pipe_ptr; in sys_pipe()168 read_file->file_ops = &g_pipe_file_ops; in sys_pipe()169 read_file->mode = VFS_FILE_MODE_READ; in sys_pipe()