Home
last modified time | relevance | path

Searched refs:partition_num (Results 1 – 6 of 6) sorted by relevance

/system/update_engine/
Dboot_control_chromeos.cc105 int partition_num; in Init() local
106 if (!utils::SplitPartitionName(boot_device, &boot_disk_name_, &partition_num)) in Init()
125 partition_num != in Init()
200 int partition_num = GetPartitionNumber(partition_name, slot); in GetPartitionDevice() local
201 if (partition_num < 0) in GetPartitionDevice()
204 string part_device = utils::MakePartitionName(boot_disk_name_, partition_num); in GetPartitionDevice()
222 int partition_num = GetPartitionNumber(kChromeOSPartitionNameKernel, slot); in IsSlotBootable() local
223 if (partition_num < 0) in IsSlotBootable()
229 params.partition = partition_num; in IsSlotBootable()
246 int partition_num = GetPartitionNumber(kChromeOSPartitionNameKernel, slot); in MarkSlotUnbootable() local
[all …]
/system/core/init/
Ddevices_test.cpp69 .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()
Duevent.h33 int partition_num; member
Duevent_listener.cpp33 uevent->partition_num = -1; in ParseEvent()
65 uevent->partition_num = atoi(msg); in ParseEvent()
/system/update_engine/common/
Dutils.cc452 string MakePartitionName(const string& disk_name, int partition_num) { in MakePartitionName() argument
453 if (partition_num < 1) { in MakePartitionName()
454 LOG(ERROR) << "Invalid partition number: " << partition_num; in MakePartitionName()
471 partition_name += std::to_string(partition_num); in MakePartitionName()
Dutils.h159 std::string MakePartitionName(const std::string& disk_name, int partition_num);