Searched refs:num_seg (Results 1 – 1 of 1) sorted by relevance
303 int num_seg = fru_get_num_segments(sect->handle, NULL); in find_seg_in_sect() local304 if (num_seg == -1) { in find_seg_in_sect()308 segs = malloc(sizeof (*segs) * (num_seg)); in find_seg_in_sect()313 acc_err = fru_get_segments(sect->handle, segs, num_seg, NULL); in find_seg_in_sect()319 for (j = 0; j < num_seg; j++) { in find_seg_in_sect()