Home
last modified time | relevance | path

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

/system/core/libdiskconfig/
Dconfig_mbr.c71 mk_pri_pentry(struct disk_info *dinfo, struct part_info *pinfo, int pnum, in mk_pri_pentry()
141 mk_ext_pentry(struct disk_info *dinfo, struct part_info *pinfo, uint32_t *lba, in mk_ext_pentry()
142 uint32_t ext_lba, struct part_info *pnext) in mk_ext_pentry()
234 struct part_info *pinfo; in config_mbr()
274 struct part_info *pnext; in config_mbr()
289 struct part_info blank; in config_mbr()
291 memset(&blank, 0, sizeof(struct part_info)); in config_mbr()
323 struct part_info *plist = dinfo->part_lst; in find_mbr_part()
Ddiskconfig.c100 struct part_info *pinfo = &dinfo->part_lst[dinfo->num_parts]; in load_partitions()
155 if (!(dinfo->part_lst = malloc(MAX_NUM_PARTS * sizeof(struct part_info)))) { in load_diskconfig()
160 (MAX_NUM_PARTS * sizeof(struct part_info))); in load_diskconfig()
350 struct part_info *part = &dinfo->part_lst[cnt]; in validate()
464 struct part_info *part; in dump_disk_config()
504 struct part_info *
507 struct part_info *pinfo; in find_part()
/system/core/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/vold/
DDisk.cpp400 if (!(dinfo.part_lst = (struct part_info *) malloc( in partitionPublic()
401 MAX_NUM_PARTS * sizeof(struct part_info)))) { in partitionPublic()
405 memset(dinfo.part_lst, 0, MAX_NUM_PARTS * sizeof(struct part_info)); in partitionPublic()
413 struct part_info *pinfo = &dinfo.part_lst[0]; in partitionPublic()
/system/update_engine/payload_generator/
Dgenerate_delta_main.cc205 PartitionInfo part_info; in ApplyDelta() local
206 CHECK(diff_utils::InitializePartitionInfo(old_part, &part_info)); in ApplyDelta()
209 part.source_hash.assign(part_info.hash().begin(), in ApplyDelta()
210 part_info.hash().end()); in ApplyDelta()