Searched refs:dsu_slot (Results 1 – 4 of 4) sorted by relevance
36 static inline std::string DsuLpMetadataFile(const std::string& dsu_slot) { in DsuLpMetadataFile() argument37 return DSU_METADATA_PREFIX + dsu_slot + "/lp_metadata"; in DsuLpMetadataFile()40 static inline std::string DsuInstallDirFile(const std::string& dsu_slot) { in DsuInstallDirFile() argument41 return DSU_METADATA_PREFIX + dsu_slot + "/install_dir"; in DsuInstallDirFile()
27 static inline std::string MetadataDir(const std::string& dsu_slot) { in MetadataDir() argument28 return std::filesystem::path(DSU_METADATA_PREFIX) / dsu_slot; in MetadataDir()
104 auto dsu_slot = GetDsuSlot(installation); in SaveInstallation() local105 auto install_dir_file = DsuInstallDirFile(dsu_slot); in SaveInstallation()116 PLOG(ERROR) << "write failed: " << DsuInstallDirFile(dsu_slot); in SaveInstallation()135 auto dsu_slot = GetDsuSlot(install_dir_); in openInstall() local136 if (!RemoveFileIfExists(GetCompleteIndication(dsu_slot), &message)) { in openInstall()147 auto dsu_slot = GetDsuSlot(install_dir_); in closeInstall() local148 std::string file = GetCompleteIndication(dsu_slot); in closeInstall()896 auto dsu_slot = GetDsuSlot(install_dir); in RemoveGsiFiles() local900 DsuInstallDirFile(dsu_slot), in RemoveGsiFiles()901 GetCompleteIndication(dsu_slot), in RemoveGsiFiles()[all …]
426 for (auto&& dsu_slot : dsu_slots) { in Status()427 std::cout << "[" << n++ << "] " << dsu_slot << std::endl; in Status()429 status = gsid->openImageService("dsu/" + dsu_slot + "/", &image_service); in Status()