Searched refs:num_section (Results 1 – 1 of 1) sorted by relevance
255 int num_section = 0; in frt_get_seg_list() local261 num_section = fru_get_num_sections(cont, NULL); in frt_get_seg_list()262 if (num_section == -1) { in frt_get_seg_list()266 sects = malloc(sizeof (*sects) * (num_section)); in frt_get_seg_list()271 acc_err = fru_get_sections(cont, sects, num_section, NULL); in frt_get_seg_list()279 for (i = 0; i < num_section; i++) { in frt_get_seg_list()