Lines Matching refs:partition_num
94 int partition_num; in Init() local
95 if (!utils::SplitPartitionName(boot_device, &boot_disk_name_, &partition_num)) in Init()
114 partition_num != in Init()
145 int partition_num = GetPartitionNumber(partition_name, slot); in GetPartitionDevice() local
146 if (partition_num < 0) in GetPartitionDevice()
149 string part_device = utils::MakePartitionName(boot_disk_name_, partition_num); in GetPartitionDevice()
158 int partition_num = GetPartitionNumber(kChromeOSPartitionNameKernel, slot); in IsSlotBootable() local
159 if (partition_num < 0) in IsSlotBootable()
165 params.partition = partition_num; in IsSlotBootable()
182 int partition_num = GetPartitionNumber(kChromeOSPartitionNameKernel, slot); in MarkSlotUnbootable() local
183 if (partition_num < 0) in MarkSlotUnbootable()
190 params.partition = partition_num; in MarkSlotUnbootable()
210 int partition_num = GetPartitionNumber(kChromeOSPartitionNameKernel, slot); in SetActiveBootSlot() local
211 if (partition_num < 0) in SetActiveBootSlot()
218 prio_params.set_partition = partition_num; in SetActiveBootSlot()
225 << " (partition " << partition_num << ")."; in SetActiveBootSlot()
233 add_params.partition = partition_num; in SetActiveBootSlot()
242 << partition_num << ")."; in SetActiveBootSlot()