Searched refs:num_segment (Results 1 – 2 of 2) sorted by relevance
207 int num_segment = fru_get_num_segments(section->handle, NULL); in add_segs_for_section() local208 if (num_segment == -1) { in add_segs_for_section()210 } else if (num_segment == 0) { in add_segs_for_section()214 segs = malloc(sizeof (*segs) * (num_segment)); in add_segs_for_section()219 acc_err = fru_get_segments(section->handle, segs, num_segment, NULL); in add_segs_for_section()226 * (list->num + num_segment)); in add_segs_for_section()228 for (i = 0; i < num_segment; i++) { in add_segs_for_section()426 int num_segment; in frt_for_each_segment() local454 num_segment = fru_get_num_segments(sects[cnt].handle, NULL); in frt_for_each_segment()455 if (num_segment == -1) { in frt_for_each_segment()[all …]
982 uint_t num_segment = 0; in xdr_encode_wlist() local994 num_segment++; in xdr_encode_wlist()997 if (!xdr_uint32(xdrs, &num_segment)) in xdr_encode_wlist()999 for (i = 0; i < num_segment; i++) { in xdr_encode_wlist()