Lines Matching defs:sect
296 find_seg_in_sect(section_t *sect, const char *seg_name, int *prot_flg,
303 int num_seg = fru_get_num_segments(sect->handle, NULL);
313 acc_err = fru_get_segments(sect->handle, segs, num_seg, NULL);
326 *prot_flg = (sect->protection ? 1 : 0);
343 section_t *sect = NULL;
354 sect = malloc(sizeof (*sect) * (num_sect));
355 if (sect == NULL) {
359 acc_err = fru_get_sections(cont, sect, num_sect, NULL);
361 free(sect);
366 if (find_seg_in_sect(&(sect[i]), seg_name, prot_flg, segment)
368 free(sect);
373 free(sect);