Searched refs:num_parts (Results 1 – 3 of 3) sorted by relevance
244 for (cnt = 0; cnt < dinfo->num_parts; ++cnt) { in config_mbr()249 if (cnt + 1 < dinfo->num_parts) { in config_mbr()274 pnext = cnt + 1 < dinfo->num_parts ? &dinfo->part_lst[cnt+1] : NULL; in config_mbr()325 int has_extended = (dinfo->num_parts > PC_NUM_BOOT_RECORD_PARTS); in find_mbr_part()327 for(num = 1; num <= dinfo->num_parts; ++num) { in find_mbr_part()332 if (num > dinfo->num_parts) in find_mbr_part()
96 dinfo->num_parts = 0; in load_partitions()98 struct part_info *pinfo = &dinfo->part_lst[dinfo->num_parts]; in load_partitions()132 ++dinfo->num_parts; in load_partitions()347 for (cnt = 0; cnt < dinfo->num_parts; ++cnt) { in validate()356 if (cnt + 1 != dinfo->num_parts) { in validate()484 for (cnt = 0; cnt < dinfo->num_parts; ++cnt) { in dump_disk_config()508 for (cnt = 0; cnt < dinfo->num_parts; ++cnt) { in find_part()
96 int num_parts; member