Lines Matching defs:file
39 static loff_t mtdchar_lseek(struct file *file, loff_t offset, int orig) in mtdchar_lseek()
45 static int mtdchar_open(struct inode *inode, struct file *file) in mtdchar_open()
91 static int mtdchar_close(struct inode *inode, struct file *file) in mtdchar_close()
127 static ssize_t mtdchar_read(struct file *file, char __user *buf, size_t count, in mtdchar_read()
217 static ssize_t mtdchar_write(struct file *file, const char __user *buf, size_t count, in mtdchar_write()
340 static int mtdchar_writeoob(struct file *file, struct mtd_info *mtd, in mtdchar_writeoob()
382 static int mtdchar_readoob(struct file *file, struct mtd_info *mtd, in mtdchar_readoob()
822 static int mtdchar_ioctl(struct file *file, u_int cmd, u_long arg) in mtdchar_ioctl()
1231 static long mtdchar_unlocked_ioctl(struct file *file, u_int cmd, u_long arg) in mtdchar_unlocked_ioctl()
1256 static long mtdchar_compat_ioctl(struct file *file, unsigned int cmd, in mtdchar_compat_ioctl()
1341 static unsigned long mtdchar_get_unmapped_area(struct file *file, in mtdchar_get_unmapped_area()
1366 static unsigned mtdchar_mmap_capabilities(struct file *file) in mtdchar_mmap_capabilities()
1377 static int mtdchar_mmap(struct file *file, struct vm_area_struct *vma) in mtdchar_mmap()