Searched refs:part_lst (Results 1 – 4 of 4) sorted by relevance
100 struct part_info *pinfo = &dinfo->part_lst[dinfo->num_parts]; in load_partitions()155 if (!(dinfo->part_lst = malloc(MAX_NUM_PARTS * sizeof(struct part_info)))) { in load_diskconfig()159 memset(dinfo->part_lst, 0, in load_diskconfig()231 if (dinfo->part_lst) in load_diskconfig()232 free(dinfo->part_lst); in load_diskconfig()350 struct part_info *part = &dinfo->part_lst[cnt]; in validate()487 part = &dinfo->part_lst[cnt]; in dump_disk_config()511 pinfo = &dinfo->part_lst[cnt]; in find_part()
242 if (!dinfo->part_lst) in config_mbr()246 pinfo = &dinfo->part_lst[cnt]; in config_mbr()275 pnext = cnt + 1 < dinfo->num_parts ? &dinfo->part_lst[cnt+1] : NULL; in config_mbr()323 struct part_info *plist = dinfo->part_lst; in find_mbr_part()
611 if (!(dinfo.part_lst = (struct part_info *) malloc(MAX_NUM_PARTS * sizeof(struct part_info)))) { in initializeMbr()616 memset(dinfo.part_lst, 0, MAX_NUM_PARTS * sizeof(struct part_info)); in initializeMbr()624 struct part_info *pinfo = &dinfo.part_lst[0]; in initializeMbr()641 free(dinfo.part_lst); in initializeMbr()
95 struct part_info *part_lst; member