Lines Matching refs:partition_name
90 unique_fd Open(const std::string& partition_name, int flags) const override { in Open() argument
91 if (partition_name == local_super_) { in Open()
94 return PartitionOpener::Open(partition_name, flags); in Open()
107 bool AddPartition(const std::string& partition_name, const std::string& group_name,
114 bool WritePartition(borrowed_fd fd, uint64_t file_size, const std::string& partition_name);
160 bool SuperHelper::AddPartition(const std::string& partition_name, const std::string& group_name, in AddPartition() argument
167 auto partition = builder_->AddPartition(partition_name, group_name, attributes); in AddPartition()
169 std::cerr << "Could not add partition: " << partition_name << "\n"; in AddPartition()
196 std::cerr << "Failed to set partition " << partition_name << " size to " << size in AddPartition()
211 if (source_fd >= 0 && !WritePartition(source_fd, file_size, partition_name)) { in AddPartition()
296 const std::string& partition_name) { in WritePartition() argument
297 auto partition = android::fs_mgr::FindPartition(*metadata_.get(), partition_name); in WritePartition()
299 std::cerr << "Could not find partition in metadata: " << partition_name << "\n"; in WritePartition()
303 std::cout << "Writing data for partition " << partition_name << "..." << std::endl; in WritePartition()
450 std::string partition_name = argv[optind++]; in main() local
474 if (!super.AddPartition(partition_name, group_name, attributes, image_path)) { in main()