Searched refs:num_parts (Results 1 – 4 of 4) sorted by relevance
225 for (cnt = 0; cnt < dinfo->num_parts; ++cnt) { in config_mbr()230 if (cnt + 1 < dinfo->num_parts) { in config_mbr()255 pnext = cnt + 1 < dinfo->num_parts ? &dinfo->part_lst[cnt+1] : NULL; in config_mbr()299 int has_extended = (dinfo->num_parts > PC_NUM_BOOT_RECORD_PARTS); in find_mbr_part()301 for(num = 1; num <= dinfo->num_parts; ++num) { in find_mbr_part()306 if (num > dinfo->num_parts) in find_mbr_part()
97 dinfo->num_parts = 0; in load_partitions()99 struct part_info *pinfo = &dinfo->part_lst[dinfo->num_parts]; in load_partitions()133 ++dinfo->num_parts; in load_partitions()348 for (cnt = 0; cnt < dinfo->num_parts; ++cnt) { in validate()357 if (cnt + 1 != dinfo->num_parts) { in validate()485 for (cnt = 0; cnt < dinfo->num_parts; ++cnt) { in dump_disk_config()509 for (cnt = 0; cnt < dinfo->num_parts; ++cnt) { in find_part()
96 int num_parts; member
622 dinfo.num_parts = 1; in initializeMbr()