Lines Matching refs:filp
269 static ssize_t goldfish_pipe_read_write(struct file *filp, char __user *buffer, in goldfish_pipe_read_write() argument
273 struct goldfish_pipe *pipe = filp->private_data; in goldfish_pipe_read_write()
361 (filp->f_flags & O_NONBLOCK) != 0) { in goldfish_pipe_read_write()
399 static ssize_t goldfish_pipe_read(struct file *filp, char __user *buffer, in goldfish_pipe_read() argument
402 return goldfish_pipe_read_write(filp, buffer, bufflen, 0); in goldfish_pipe_read()
405 static ssize_t goldfish_pipe_write(struct file *filp, in goldfish_pipe_write() argument
409 return goldfish_pipe_read_write(filp, (char __user *)buffer, in goldfish_pipe_write()
414 static unsigned int goldfish_pipe_poll(struct file *filp, poll_table *wait) in goldfish_pipe_poll() argument
416 struct goldfish_pipe *pipe = filp->private_data; in goldfish_pipe_poll()
422 poll_wait(filp, &pipe->wake_queue, wait); in goldfish_pipe_poll()
535 static int goldfish_pipe_release(struct inode *inode, struct file *filp) in goldfish_pipe_release() argument
537 struct goldfish_pipe *pipe = filp->private_data; in goldfish_pipe_release()
542 filp->private_data = NULL; in goldfish_pipe_release()