Lines Matching defs:part
350 struct part_info *part = &dinfo->part_lst[cnt];
351 if (part->len_kb != (uint32_t)-1) {
352 total_size += part->len_kb * 1024;
353 } else if (part->len_kb == 0) {
354 ALOGE("Zero-size partition '%s' is invalid.", part->name);
365 if ((part->type != PC_PART_TYPE_LINUX) &&
366 (part->type != PC_PART_TYPE_FAT32)) {
368 "'%s'\n", part->type, part->name);
464 struct part_info *part;
487 part = &dinfo->part_lst[cnt];
488 printf("\tname = %s\n", part->name);
490 part->flags & PART_ACTIVE_FLAG ? "Active" : "None");
492 part->type == PC_PART_TYPE_LINUX ? "Linux" : "Unknown");
493 if (part->len_kb == (uint32_t)-1)
496 printf("\t\tlen = %uKB\n", part->len_kb);