Lines Matching refs:part
348 struct part_info *part = &dinfo->part_lst[cnt]; in validate() local
349 if (part->len_kb != (uint32_t)-1) { in validate()
350 total_size += part->len_kb * 1024; in validate()
351 } else if (part->len_kb == 0) { in validate()
352 ALOGE("Zero-size partition '%s' is invalid.", part->name); in validate()
363 if ((part->type != PC_PART_TYPE_LINUX) && in validate()
364 (part->type != PC_PART_TYPE_FAT32)) { in validate()
366 "'%s'\n", part->type, part->name); in validate()
462 struct part_info *part; in dump_disk_config() local
485 part = &dinfo->part_lst[cnt]; in dump_disk_config()
486 printf("\tname = %s\n", part->name); in dump_disk_config()
488 part->flags & PART_ACTIVE_FLAG ? "Active" : "None"); in dump_disk_config()
490 part->type == PC_PART_TYPE_LINUX ? "Linux" : "Unknown"); in dump_disk_config()
491 if (part->len_kb == (uint32_t)-1) in dump_disk_config()
494 printf("\t\tlen = %uKB\n", part->len_kb); in dump_disk_config()