Lines Matching defs:loader
49 CHAR16 *loader;
450 if (entry->loader)
451 Print(L"loader '%s'\n", entry->loader);
851 FreePool(entry->loader);
1039 FreePool(entry->loader);
1041 entry->loader = stra_to_path(value);
1048 FreePool(entry->loader);
1049 entry->loader = stra_to_path(value);
1052 if (StriCmp(entry->loader, loaded_image_path) == 0) {
1142 len = file_read(root_dir, L"\\loader\\loader.conf", 0, 0, &content);
1159 err = uefi_call_wrapper(root_dir->Open, 5, root_dir, &entries_dir, L"\\loader\\entries", EFI_FILE_MODE_READ, 0ULL);
1250 * the 'd' key in the loader selection menu, the entry is marked with
1426 enum loader_type type,CHAR16 *file, CHAR16 key, CHAR16 *title, CHAR16 *loader) {
1433 entry->loader = StrDuplicate(loader);
1443 CHAR16 *file, CHAR16 key, CHAR16 *title, CHAR16 *loader) {
1449 if (loaded_image_path && StriCmp(loader, loaded_image_path) == 0)
1453 err = uefi_call_wrapper(root_dir->Open, 5, root_dir, &handle, loader, EFI_FILE_MODE_READ, 0ULL);
1458 entry = config_entry_add_loader(config, device, LOADER_UNDEFINED, file, key, title, loader);
1615 path = FileDevicePath(entry->device, entry->loader);
1624 Print(L"Error loading %s: %r", entry->loader, err);
1746 /* scan /loader/entries/\*.conf files */
1770 Print(L"No loader found. Configuration files in \\loader\\entries\\*.conf are needed.");
1829 Print(L"\nFailed to execute %s (%s): %r\n", entry->title, entry->loader, err);