Lines Matching defs:file
16 struct file *file;
29 file = file_open_root_mnt(mnt, name, O_CREAT | O_WRONLY, 0700);
30 if (IS_ERR(file)) {
32 return ERR_CAST(file);
35 written = kernel_write(file, data, len, &pos);
40 filp_close(file, NULL);
45 fput(file);
47 /* Flush delayed fput so exec can open the file read-only */
56 * @data: a blob of bytes that can be executed as a file
99 struct file *from_umh[2];
100 struct file *to_umh[2];