Lines Matching defs:file
313 static ssize_t scom_read(struct file *filep, char __user *buf, size_t len,
342 static ssize_t scom_write(struct file *filep, const char __user *buf,
373 static loff_t scom_llseek(struct file *file, loff_t offset, int whence)
379 file->f_pos = offset;
475 static long scom_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
477 struct scom_device *scom = file->private_data;
504 static int scom_open(struct inode *inode, struct file *file)
508 file->private_data = scom;