Lines Matching defs:file
55 static loff_t mtdchar_lseek(struct file *file, loff_t offset, int orig) in mtdchar_lseek()
61 static int mtdchar_open(struct inode *inode, struct file *file) in mtdchar_open()
113 static int mtdchar_close(struct inode *inode, struct file *file) in mtdchar_close()
149 static ssize_t mtdchar_read(struct file *file, char __user *buf, size_t count, in mtdchar_read()
235 static ssize_t mtdchar_write(struct file *file, const char __user *buf, size_t count, in mtdchar_write()
362 static int mtdchar_writeoob(struct file *file, struct mtd_info *mtd, in mtdchar_writeoob()
411 static int mtdchar_readoob(struct file *file, struct mtd_info *mtd, in mtdchar_readoob()
586 static int mtdchar_ioctl(struct file *file, u_int cmd, u_long arg) in mtdchar_ioctl()
989 static long mtdchar_unlocked_ioctl(struct file *file, u_int cmd, u_long arg) in mtdchar_unlocked_ioctl()
1011 static long mtdchar_compat_ioctl(struct file *file, unsigned int cmd, in mtdchar_compat_ioctl()
1090 static unsigned long mtdchar_get_unmapped_area(struct file *file, in mtdchar_get_unmapped_area()
1115 static unsigned mtdchar_mmap_capabilities(struct file *file) in mtdchar_mmap_capabilities()
1126 static int mtdchar_mmap(struct file *file, struct vm_area_struct *vma) in mtdchar_mmap()