Lines Matching defs:file
10 * - use *ppos as the file position, not file->f_pos.
96 static long flash_ioctl(struct file *filep, unsigned int cmd, unsigned long arg)
123 static ssize_t flash_read(struct file *file, char __user *buf, size_t size,
143 static ssize_t flash_write(struct file *file, const char __user *buf,
269 * also note that seeking relative to the "end of file" isn't supported:
272 static loff_t flash_llseek(struct file *file, loff_t offset, int orig)
281 ret = no_seek_end_llseek_size(file, offset, orig, gbFlashSize);