Home
last modified time | relevance | path

Searched refs:sects (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/lib/libfru/libfruraw/
H A Dfruraw.c256 section_t *sects = NULL; in frt_get_seg_list() local
266 sects = malloc(sizeof (*sects) * (num_section)); in frt_get_seg_list()
267 if (sects == NULL) { in frt_get_seg_list()
271 acc_err = fru_get_sections(cont, sects, num_section, NULL); in frt_get_seg_list()
273 free(sects); in frt_get_seg_list()
280 if ((err = add_segs_for_section(&(sects[i]), &rc_list)) in frt_get_seg_list()
283 free(sects); in frt_get_seg_list()
430 section_t *sects; in frt_for_each_segment() local
444 sects = malloc((num_sect + 1) * sizeof (section_t)); in frt_for_each_segment()
445 if (sects == NULL) { in frt_for_each_segment()
[all …]
/titanic_50/usr/src/uts/sun4u/lw8/io/
H A Dsgfru.c559 frup_info_t sects; in sgfru_getsections() local
564 if (sgfru_copyin_frup(iargp, &sects) != 0) { in sgfru_getsections()
568 max_cnt = sects.fru_cnt; in sgfru_getsections()
578 if ((ret = sgfru_mbox(iargp->cmd, datap, size, &sects.fru_info)) in sgfru_getsections()
589 if ((ret = sgfru_section_pad(datap, max_cnt, &sects.fru_info, sectp)) in sgfru_getsections()
599 if (sgfru_copyout_fru(iargp, &sects.fru_info) != 0) { in sgfru_getsections()
604 if (sgfru_copyout_sections(iargp, &sects, sectp) != 0) { in sgfru_getsections()