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()
96 auto dsu_slot = GetDsuSlot(installation); in SaveInstallation() local97 auto install_dir_file = DsuInstallDirFile(dsu_slot); in SaveInstallation()108 PLOG(ERROR) << "write failed: " << DsuInstallDirFile(dsu_slot); in SaveInstallation()127 auto dsu_slot = GetDsuSlot(install_dir_); in openInstall() local128 if (!RemoveFileIfExists(GetCompleteIndication(dsu_slot), &message)) { in openInstall()139 auto dsu_slot = GetDsuSlot(install_dir_); in closeInstall() local140 std::string file = GetCompleteIndication(dsu_slot); in closeInstall()888 auto dsu_slot = GetDsuSlot(install_dir); in RemoveGsiFiles() local892 DsuInstallDirFile(dsu_slot), in RemoveGsiFiles()893 GetCompleteIndication(dsu_slot), in RemoveGsiFiles()[all …]
425 for (auto&& dsu_slot : dsu_slots) { in Status()426 std::cout << "[" << n++ << "] " << dsu_slot << std::endl; in Status()428 status = gsid->openImageService("dsu/" + dsu_slot + "/", &image_service); in Status()