Searched refs:partition_num (Results 1 – 6 of 6) sorted by relevance
/system/update_engine/cros/ |
D | boot_control_chromeos.cc | 105 int partition_num; in Init() local 106 if (!utils::SplitPartitionName(boot_device, &boot_disk_name_, &partition_num)) in Init() 125 partition_num != in Init() 201 int partition_num = GetPartitionNumber(partition_name, slot); in GetPartitionDevice() local 202 if (partition_num < 0) in GetPartitionDevice() 205 string part_device = utils::MakePartitionName(boot_disk_name_, partition_num); in GetPartitionDevice() 223 int partition_num = GetPartitionNumber(kChromeOSPartitionNameKernel, slot); in IsSlotBootable() local 224 if (partition_num < 0) in IsSlotBootable() 230 params.partition = partition_num; in IsSlotBootable() 247 int partition_num = GetPartitionNumber(kChromeOSPartitionNameKernel, slot); in MarkSlotUnbootable() local [all …]
|
/system/core/init/ |
D | devices_test.cpp | 69 .partition_num = -1, in TEST() 83 .partition_num = 1, in TEST() 99 .partition_num = 1, in TEST() 114 .partition_num = -1, in TEST() 128 … .path = "/devices/pci0000:00/0000:00:1f.2/mmcblk0", .partition_name = "", .partition_num = -1, in TEST() 139 .path = "/devices/pci//mmcblk0", .partition_name = "", .partition_num = -1, in TEST() 150 .path = "/devices/vbd-1234/mmcblk0", .partition_name = "", .partition_num = -1, in TEST() 161 .path = "/devices/vbd-/mmcblk0", .partition_name = "", .partition_num = -1, in TEST() 174 .partition_num = -1, in TEST()
|
D | uevent.h | 33 int partition_num; member
|
D | uevent_listener.cpp | 33 uevent->partition_num = -1; in ParseEvent() 65 uevent->partition_num = atoi(msg); in ParseEvent()
|
/system/update_engine/common/ |
D | utils.cc | 456 string MakePartitionName(const string& disk_name, int partition_num) { in MakePartitionName() argument 457 if (partition_num < 1) { in MakePartitionName() 458 LOG(ERROR) << "Invalid partition number: " << partition_num; in MakePartitionName() 475 partition_name += std::to_string(partition_num); in MakePartitionName()
|
D | utils.h | 178 std::string MakePartitionName(const std::string& disk_name, int partition_num);
|