Lines Matching refs:fi
38 struct finfo *fi,
49 for (c = fi->filename; *c != L'\0'; c++) {
54 status = efi_call_proto(volume, open, &fh, fi->filename,
57 efi_err("Failed to open file: %ls\n", fi->filename);
62 status = efi_call_proto(fh, get_info, &info_guid, &info_sz, fi);
70 *file_size = fi->info.file_size;
129 struct finfo *fi)
149 fi->filename);
165 /* Copy the remaining file path into the fi structure */
167 memcpy(fi->filename, fpath->filename,
168 min(sizeof(fi->filename),
213 struct finfo fi;
219 fi.filename, ARRAY_SIZE(fi.filename));
227 status = efi_open_device_path(&volume, &fi);
235 status = efi_open_file(volume, &fi, &file, &size);