Home
last modified time | relevance | path

Searched refs:num_parts (Results 1 – 4 of 4) sorted by relevance

/system/core/libdiskconfig/
Dconfig_mbr.c245 for (cnt = 0; cnt < dinfo->num_parts; ++cnt) { in config_mbr()
250 if (cnt + 1 < dinfo->num_parts) { in config_mbr()
275 pnext = cnt + 1 < dinfo->num_parts ? &dinfo->part_lst[cnt+1] : NULL; in config_mbr()
326 int has_extended = (dinfo->num_parts > PC_NUM_BOOT_RECORD_PARTS); in find_mbr_part()
328 for(num = 1; num <= dinfo->num_parts; ++num) { in find_mbr_part()
333 if (num > dinfo->num_parts) in find_mbr_part()
Ddiskconfig.c98 dinfo->num_parts = 0; in load_partitions()
100 struct part_info *pinfo = &dinfo->part_lst[dinfo->num_parts]; in load_partitions()
134 ++dinfo->num_parts; in load_partitions()
349 for (cnt = 0; cnt < dinfo->num_parts; ++cnt) { in validate()
358 if (cnt + 1 != dinfo->num_parts) { in validate()
486 for (cnt = 0; cnt < dinfo->num_parts; ++cnt) { in dump_disk_config()
510 for (cnt = 0; cnt < dinfo->num_parts; ++cnt) { in find_part()
/system/core/include/diskconfig/
Ddiskconfig.h96 int num_parts; member
/system/vold/
DDisk.cpp361 dinfo.num_parts = 1; in partitionPublic()