Lines Matching defs:sects
256 section_t *sects = NULL;
266 sects = malloc(sizeof (*sects) * (num_section));
267 if (sects == NULL) {
271 acc_err = fru_get_sections(cont, sects, num_section, NULL);
273 free(sects);
280 if ((err = add_segs_for_section(&(sects[i]), &rc_list))
283 free(sects);
430 section_t *sects;
444 sects = malloc((num_sect + 1) * sizeof (section_t));
445 if (sects == NULL) {
448 num_sect = fru_get_sections(cont, sects, num_sect, NULL);
450 free(sects);
454 num_segment = fru_get_num_segments(sects[cnt].handle, NULL);
462 free(sects);
465 acc_err = fru_get_segments(sects[cnt].handle, segs,
468 free(sects);
486 free(sects);
491 free(sects);
505 section_t *sects;
517 sects = malloc(sizeof (*sects) * (num_sect));
518 if (sects == NULL) {
521 acc_err = fru_get_sections(cont, sects, num_sect, NULL);
523 free(sects);
528 num_segment = fru_get_num_segments(sects[cnt].handle, NULL);
530 free(sects);
538 free(sects);
542 acc_err = fru_get_segments(sects[cnt].handle, segs,
545 free(sects);
554 free(sects);