Lines Matching refs:esp_path
416 static int enumerate_binaries(const char *esp_path, const char *path, const char *prefix) { in enumerate_binaries() argument
421 assert(esp_path); in enumerate_binaries()
424 p = prefix_roota(esp_path, path); in enumerate_binaries()
461 static int status_binaries(const char *esp_path, sd_id128_t partition) { in status_binaries() argument
466 if (!esp_path) { in status_binaries()
471 printf(" ESP: %s", esp_path); in status_binaries()
476 r = enumerate_binaries(esp_path, "EFI/systemd", NULL); in status_binaries()
482 r = enumerate_binaries(esp_path, "EFI/BOOT", "boot"); in status_binaries()
563 const char *esp_path, in boot_config_load_and_select() argument
573 bool same = esp_path && xbootldr_path && devnum_set_and_equal(esp_devid, xbootldr_devid); in boot_config_load_and_select()
575 r = boot_config_load(config, esp_path, same ? NULL : xbootldr_path); in boot_config_load_and_select()
592 const char *esp_path, in status_entries() argument
602 assert(esp_path || xbootldr_path); in status_entries()
608 dollar_boot_path = esp_path; in status_entries()
801 static int copy_one_file(const char *esp_path, const char *name, bool force) { in copy_one_file() argument
812 q = strjoina(esp_path, "/EFI/systemd/", dest_name); in copy_one_file()
821 v = strjoina(esp_path, "/EFI/BOOT/BOOT", e); in copy_one_file()
832 static int install_binaries(const char *esp_path, bool force) { in install_binaries() argument
855 k = copy_one_file(esp_path, de->d_name, force); in install_binaries()
981 static int install_variables(const char *esp_path, in install_variables() argument
994 p = prefix_roota(esp_path, path); in install_variables()
1022 static int remove_boot_efi(const char *esp_path) { in remove_boot_efi() argument
1027 p = prefix_roota(esp_path, "/EFI/BOOT"); in remove_boot_efi()
1109 static int remove_binaries(const char *esp_path) { in remove_binaries() argument
1113 p = prefix_roota(esp_path, "/EFI/systemd"); in remove_binaries()
1116 q = remove_boot_efi(esp_path); in remove_binaries()
1190 static int install_loader_config(const char *esp_path) { in install_loader_config() argument
1198 p = prefix_roota(esp_path, "/loader/loader.conf"); in install_loader_config()
1501 static int are_we_installed(const char *esp_path) { in are_we_installed() argument
1518 _cleanup_free_ char *p = path_join(esp_path, "/EFI/systemd/"); in are_we_installed()