Home
last modified time | relevance | path

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

/system/update_engine/
Dboot_control_chromeos.cc102 int partition_num; in Init() local
103 if (!utils::SplitPartitionName(boot_device, &boot_disk_name_, &partition_num)) in Init()
122 partition_num != in Init()
174 int partition_num = GetPartitionNumber(partition_name, slot); in GetPartitionDevice() local
175 if (partition_num < 0) in GetPartitionDevice()
178 string part_device = utils::MakePartitionName(boot_disk_name_, partition_num); in GetPartitionDevice()
187 int partition_num = GetPartitionNumber(kChromeOSPartitionNameKernel, slot); in IsSlotBootable() local
188 if (partition_num < 0) in IsSlotBootable()
194 params.partition = partition_num; in IsSlotBootable()
211 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.cc97 string MakeNandPartitionName(int partition_num) { in MakeNandPartitionName() argument
98 switch (partition_num) { in MakeNandPartitionName()
102 return base::StringPrintf("/dev/mtd%d", partition_num); in MakeNandPartitionName()
105 return base::StringPrintf("/dev/ubi%d_0", partition_num); in MakeNandPartitionName()
112 string MakeNandPartitionNameForMount(int partition_num) { in MakeNandPartitionNameForMount() argument
113 switch (partition_num) { in MakeNandPartitionNameForMount()
117 return base::StringPrintf("/dev/mtd%d", partition_num); in MakeNandPartitionNameForMount()
122 return base::StringPrintf("/dev/ubiblock%d_0", partition_num); in MakeNandPartitionNameForMount()
125 return base::StringPrintf("/dev/ubi%d_0", partition_num); in MakeNandPartitionNameForMount()
512 string MakePartitionName(const string& disk_name, int partition_num) { in MakePartitionName() argument
[all …]
Dutils.h164 std::string MakePartitionName(const std::string& disk_name, int partition_num);