Home
last modified time | relevance | path

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

/system/core/libdiskconfig/
Dconfig_mbr.c70 mk_pri_pentry(struct disk_info *dinfo, struct part_info *pinfo, int pnum, in mk_pri_pentry()
140 mk_ext_pentry(struct disk_info *dinfo, struct part_info *pinfo, uint32_t *lba, in mk_ext_pentry()
141 uint32_t ext_lba, struct part_info *pnext) in mk_ext_pentry()
233 struct part_info *pinfo; in config_mbr()
273 struct part_info *pnext; in config_mbr()
288 struct part_info blank; in config_mbr()
290 memset(&blank, 0, sizeof(struct part_info)); in config_mbr()
322 struct part_info *plist = dinfo->part_lst; in find_mbr_part()
Ddiskconfig.c98 struct part_info *pinfo = &dinfo->part_lst[dinfo->num_parts]; in load_partitions()
153 if (!(dinfo->part_lst = malloc(MAX_NUM_PARTS * sizeof(struct part_info)))) { in load_diskconfig()
158 (MAX_NUM_PARTS * sizeof(struct part_info))); in load_diskconfig()
348 struct part_info *part = &dinfo->part_lst[cnt]; in validate()
462 struct part_info *part; in dump_disk_config()
502 struct part_info *
505 struct part_info *pinfo; in find_part()
/system/core/libdiskconfig/include/diskconfig/
Ddiskconfig.h81 struct part_info { struct
95 struct part_info *part_lst; argument
118 struct part_info *find_part(struct disk_info *dinfo, const char *name);
/system/core/fastboot/fuzzy_fastboot/
Dmain.cpp1025 auto part_info = GetParam().second; in TEST_P() local
1029 EXPECT_EQ(fb->FlashPartition(part_name, buf), part_info.parsed ? DEVICE_FAIL : SUCCESS) in TEST_P()
1115 auto part_info = GetParam().second; in TEST_P() local
1120 if (part_info.hashable) { in TEST_P()
1149 auto part_info = GetParam().second; in TEST_P() local
1153 if (part_info.hashable) { in TEST_P()
1177 auto part_info = GetParam().second; in TEST_P() local
1181 if (part_info.hashable) { in TEST_P()
1205 auto part_info = GetParam().second; in TEST_P() local
1209 if (part_info.hashable) { in TEST_P()
[all …]
Dextensions.cpp104 Configuration::PartitionInfo part_info; in ExtractPartitions() local
108 XMLAssert(XMLYesNo(part, "slots", &part_info.slots), part, in ExtractPartitions()
110 XMLAssert(XMLYesNo(part, "hashable", &part_info.hashable, true), part, in ExtractPartitions()
112 XMLAssert(XMLYesNo(part, "parsed", &part_info.parsed), part, in ExtractPartitions()
122 part_info.test = (test == "yes") in ExtractPartitions()
126 config->partitions[name] = part_info; in ExtractPartitions()
/system/update_engine/scripts/update_payload/
Dtest_utils.py192 part_info = (partition.new_partition_info if is_new
194 _SetMsgField(part_info, 'size', part_size)
195 _SetMsgField(part_info, 'hash', part_hash)