Searched refs:params (Results 1 – 2 of 2) sorted by relevance
74 CreateLogicalPartitionParams params = { in MapPartitionOnDeviceMapper() local85 return CreateLogicalPartition(params, path); in MapPartitionOnDeviceMapper()137 bool PerformOpResize(const OpParameters& params) { in PerformOpResize() argument138 if (!params.ExpectArgSize(2)) return false; in PerformOpResize()139 const auto& partition_name_suffix = AddSlotSuffix(params.arg(0)); in PerformOpResize()140 auto size = params.uint_arg(1, "size"); in PerformOpResize()143 auto partition = params.builder->FindPartition(partition_name_suffix); in PerformOpResize()153 if (!params.builder->ResizePartition(partition, size.value())) { in PerformOpResize()161 bool PerformOpRemove(const OpParameters& params) { in PerformOpRemove() argument162 if (!params.ExpectArgSize(1)) return false; in PerformOpRemove()[all …]
552 static void PrintHashForCorruptedSourceBlocks(const CommandParameters& params, in PrintHashForCorruptedSourceBlocks() argument554 LOG(INFO) << "unexpected contents of source blocks in cmd:\n" << params.cmdline; in PrintHashForCorruptedSourceBlocks()555 CHECK(params.tokens[0] == "move" || params.tokens[0] == "bsdiff" || in PrintHashForCorruptedSourceBlocks()556 params.tokens[0] == "imgdiff"); in PrintHashForCorruptedSourceBlocks()563 if (params.tokens[0] == "move") { in PrintHashForCorruptedSourceBlocks()565 if (params.tokens.size() < 5) { in PrintHashForCorruptedSourceBlocks()566 LOG(ERROR) << "failed to parse source range in cmd:\n" << params.cmdline; in PrintHashForCorruptedSourceBlocks()572 if (params.tokens.size() < 8) { in PrintHashForCorruptedSourceBlocks()573 LOG(ERROR) << "failed to parse source range in cmd:\n" << params.cmdline; in PrintHashForCorruptedSourceBlocks()580 if (params.tokens[pos] == "-") { in PrintHashForCorruptedSourceBlocks()[all …]