strv_free(entry->device_tree_overlay);
}
-static int boot_entry_load(
+static int boot_entry_load_type1(
FILE *f,
const char *root,
const char *dir,
return true;
}
-static int boot_entries_find(
+static int boot_entries_find_type1(
BootConfig *config,
const char *root,
const char *dir) {
if (!GREEDY_REALLOC0(config->entries, config->n_entries + 1))
return log_oom();
- r = boot_entry_load(f, root, dir, de->d_name, config->entries + config->n_entries);
+ r = boot_entry_load_type1(f, root, dir, de->d_name, config->entries + config->n_entries);
if (r < 0)
continue;
return r;
p = strjoina(esp_path, "/loader/entries");
- r = boot_entries_find(config, esp_path, p);
+ r = boot_entries_find_type1(config, esp_path, p);
if (r < 0)
return r;
if (xbootldr_path) {
p = strjoina(xbootldr_path, "/loader/entries");
- r = boot_entries_find(config, xbootldr_path, p);
+ r = boot_entries_find_type1(config, xbootldr_path, p);
if (r < 0)
return r;