Lines Matching defs:file
41 static loff_t mtdchar_lseek(struct file *file, loff_t offset, int orig) in mtdchar_lseek()
47 static int mtdchar_open(struct inode *inode, struct file *file) in mtdchar_open()
99 static int mtdchar_close(struct inode *inode, struct file *file) in mtdchar_close()
135 static ssize_t mtdchar_read(struct file *file, char __user *buf, size_t count, in mtdchar_read()
225 static ssize_t mtdchar_write(struct file *file, const char __user *buf, size_t count, in mtdchar_write()
348 static int mtdchar_writeoob(struct file *file, struct mtd_info *mtd, in mtdchar_writeoob()
390 static int mtdchar_readoob(struct file *file, struct mtd_info *mtd, in mtdchar_readoob()
632 static int mtdchar_ioctl(struct file *file, u_int cmd, u_long arg) in mtdchar_ioctl()
1029 static long mtdchar_unlocked_ioctl(struct file *file, u_int cmd, u_long arg) in mtdchar_unlocked_ioctl()
1051 static long mtdchar_compat_ioctl(struct file *file, unsigned int cmd, in mtdchar_compat_ioctl()
1135 static unsigned long mtdchar_get_unmapped_area(struct file *file, in mtdchar_get_unmapped_area()
1160 static unsigned mtdchar_mmap_capabilities(struct file *file) in mtdchar_mmap_capabilities()
1171 static int mtdchar_mmap(struct file *file, struct vm_area_struct *vma) in mtdchar_mmap()