Searched refs:MAX_NUM_PARTS (Results 1 – 3 of 3) sorted by relevance
29 #define MAX_NUM_PARTS 16 macro
154 if (!(dinfo->part_lst = malloc(MAX_NUM_PARTS * sizeof(struct part_info)))) { in load_diskconfig()159 (MAX_NUM_PARTS * sizeof(struct part_info))); in load_diskconfig()
684 if (!(dinfo.part_lst = (struct part_info *) malloc(MAX_NUM_PARTS * sizeof(struct part_info)))) { in initializeMbr()689 memset(dinfo.part_lst, 0, MAX_NUM_PARTS * sizeof(struct part_info)); in initializeMbr()