• Home
  • Raw
  • Download

Lines Matching refs:slot

149                                              unsigned int slot,  in GetPartitionDevice()  argument
166 .Append(slot == 0 ? kPartitionNameDlcA : kPartitionNameDlcB) in GetPartitionDevice()
171 int partition_num = GetPartitionNumber(partition_name, slot); in GetPartitionDevice()
183 bool BootControlChromeOS::IsSlotBootable(Slot slot) const { in IsSlotBootable()
184 int partition_num = GetPartitionNumber(kChromeOSPartitionNameKernel, slot); in IsSlotBootable()
200 bool BootControlChromeOS::MarkSlotUnbootable(Slot slot) { in MarkSlotUnbootable() argument
201 LOG(INFO) << "Marking slot " << SlotName(slot) << " unbootable"; in MarkSlotUnbootable()
203 if (slot == current_slot_) { in MarkSlotUnbootable()
208 int partition_num = GetPartitionNumber(kChromeOSPartitionNameKernel, slot); in MarkSlotUnbootable()
233 bool BootControlChromeOS::SetActiveBootSlot(Slot slot) { in SetActiveBootSlot() argument
234 LOG(INFO) << "Marking slot " << SlotName(slot) << " active."; in SetActiveBootSlot()
236 int partition_num = GetPartitionNumber(kChromeOSPartitionNameKernel, slot); in SetActiveBootSlot()
250 LOG(ERROR) << "Unable to set highest priority for slot " << SlotName(slot) in SetActiveBootSlot()
267 << " for slot " << SlotName(slot) << " (partition " in SetActiveBootSlot()
305 const string partition_name, BootControlInterface::Slot slot) const { in GetPartitionNumber()
306 if (slot >= num_slots_) { in GetPartitionNumber()
307 LOG(ERROR) << "Invalid slot number: " << slot << ", we only have " in GetPartitionNumber()
318 int base_part_num = 2 + 2 * slot; in GetPartitionNumber()
330 Slot slot, in InitPartitionMetadata() argument