Lines Matching refs:filp
67 struct file *filp;
403 if (file->filp->f_flags & O_NONBLOCK)
1600 static ssize_t ucma_write(struct file *filp, const char __user *buf,
1603 struct ucma_file *file = filp->private_data;
1607 if (WARN_ON_ONCE(!ib_safe_file_access(filp)))
1632 static unsigned int ucma_poll(struct file *filp, struct poll_table_struct *wait)
1634 struct ucma_file *file = filp->private_data;
1637 poll_wait(filp, &file->poll_wait, wait);
1653 static int ucma_open(struct inode *inode, struct file *filp)
1673 filp->private_data = file;
1674 file->filp = filp;
1676 return nonseekable_open(inode, filp);
1679 static int ucma_close(struct inode *inode, struct file *filp)
1681 struct ucma_file *file = filp->private_data;
1719 ucma_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)