Lines Matching refs:filp
73 struct file *filp; member
310 if (file->filp->f_flags & O_NONBLOCK) in ucma_get_event()
1483 static ssize_t ucma_write(struct file *filp, const char __user *buf, in ucma_write() argument
1486 struct ucma_file *file = filp->private_data; in ucma_write()
1490 if (WARN_ON_ONCE(!ib_safe_file_access(filp))) in ucma_write()
1515 static unsigned int ucma_poll(struct file *filp, struct poll_table_struct *wait) in ucma_poll() argument
1517 struct ucma_file *file = filp->private_data; in ucma_poll()
1520 poll_wait(filp, &file->poll_wait, wait); in ucma_poll()
1536 static int ucma_open(struct inode *inode, struct file *filp) in ucma_open() argument
1549 filp->private_data = file; in ucma_open()
1550 file->filp = filp; in ucma_open()
1552 return nonseekable_open(inode, filp); in ucma_open()
1555 static int ucma_close(struct inode *inode, struct file *filp) in ucma_close() argument
1557 struct ucma_file *file = filp->private_data; in ucma_close()