Lines Matching refs:slot

180                                              BootControlInterface::Slot slot,  in GetPartitionDevice()  argument
195 .Append(slot == 0 ? kPartitionNameDlcA : kPartitionNameDlcB) in GetPartitionDevice()
200 int partition_num = GetPartitionNumber(partition_name, slot); in GetPartitionDevice()
216 BootControlInterface::Slot slot, in GetPartitionDevice() argument
218 return GetPartitionDevice(partition_name, slot, false, device, nullptr); in GetPartitionDevice()
221 bool BootControlChromeOS::IsSlotBootable(Slot slot) const { in IsSlotBootable()
222 int partition_num = GetPartitionNumber(kChromeOSPartitionNameKernel, slot); in IsSlotBootable()
238 bool BootControlChromeOS::MarkSlotUnbootable(Slot slot) { in MarkSlotUnbootable() argument
239 LOG(INFO) << "Marking slot " << SlotName(slot) << " unbootable"; in MarkSlotUnbootable()
241 if (slot == current_slot_) { in MarkSlotUnbootable()
246 int partition_num = GetPartitionNumber(kChromeOSPartitionNameKernel, slot); in MarkSlotUnbootable()
271 bool BootControlChromeOS::SetActiveBootSlot(Slot slot) { in SetActiveBootSlot() argument
272 LOG(INFO) << "Marking slot " << SlotName(slot) << " active."; in SetActiveBootSlot()
274 int partition_num = GetPartitionNumber(kChromeOSPartitionNameKernel, slot); in SetActiveBootSlot()
288 LOG(ERROR) << "Unable to set highest priority for slot " << SlotName(slot) in SetActiveBootSlot()
305 << " for slot " << SlotName(slot) << " (partition " in SetActiveBootSlot()
343 const string partition_name, BootControlInterface::Slot slot) const { in GetPartitionNumber()
344 if (slot >= num_slots_) { in GetPartitionNumber()
345 LOG(ERROR) << "Invalid slot number: " << slot << ", we only have " in GetPartitionNumber()
356 int base_part_num = 2 + 2 * slot; in GetPartitionNumber()
367 bool BootControlChromeOS::IsSlotMarkedSuccessful(Slot slot) const { in IsSlotMarkedSuccessful()