Lines Matching refs:file
232 static struct file *open_file_as_root(const char *filename, int flags, umode_t mode)
234 struct file *fp;
260 struct file *fp;
292 dev_dbg(sev->dev, "SEV: read %ld bytes from NV file\n", nread);
301 struct file *fp;
315 "SEV: could not open file for write, error %d\n",
331 dev_dbg(sev->dev, "SEV: write successful to NV file\n");
1202 * If an init_ex_path is provided allocate a buffer for the file and
1591 dev_dbg(dev, "No SEV firmware file present\n");
2030 static long sev_ioctl(struct file *file, unsigned int ioctl, unsigned long arg)
2035 bool writable = file->f_mode & FMODE_WRITE;
2329 int sev_issue_cmd_external_user(struct file *filep, unsigned int cmd,