Lines Matching refs:file
16 #include <linux/file.h>
99 /* pfru_code_inj_guid is the UUID to identify code injection EFI capsule file */
104 /* pfru_drv_update_guid is the UUID to identify driver update EFI capsule file */
114 static inline struct pfru_device *to_pfru_dev(struct file *file)
116 return container_of(file->private_data, struct pfru_device, miscdev);
393 static long pfru_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
396 struct pfru_device *pfru_dev = to_pfru_dev(file);
437 static ssize_t pfru_write(struct file *file, const char __user *buf,
440 struct pfru_device *pfru_dev = to_pfru_dev(file);