Lines Matching defs:file
370 static int cpwd_open(struct inode *inode, struct file *f)
402 static int cpwd_release(struct inode *inode, struct file *file)
407 static long cpwd_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
415 struct inode *inode = file_inode(file);
477 static long cpwd_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
479 return cpwd_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
482 static ssize_t cpwd_write(struct file *file, const char __user *buf,
485 struct inode *inode = file_inode(file);
497 static ssize_t cpwd_read(struct file *file, char __user *buffer,