Lines Matching refs:filp
389 static ssize_t goldfish_pipe_read_write(struct file *filp,
394 struct goldfish_pipe *pipe = filp->private_data;
457 (filp->f_flags & O_NONBLOCK) != 0) {
472 static ssize_t goldfish_pipe_read(struct file *filp, char __user *buffer,
475 return goldfish_pipe_read_write(filp, buffer, bufflen,
479 static ssize_t goldfish_pipe_write(struct file *filp,
486 return goldfish_pipe_read_write(filp, no_const_buffer, bufflen,
490 static __poll_t goldfish_pipe_poll(struct file *filp, poll_table *wait)
492 struct goldfish_pipe *pipe = filp->private_data;
496 poll_wait(filp, &pipe->wake_queue, wait);
760 static int goldfish_pipe_release(struct inode *inode, struct file *filp)
763 struct goldfish_pipe *pipe = filp->private_data;
774 filp->private_data = NULL;