Searched refs:numsegments (Results 1 – 1 of 1) sorted by relevance
189 segment_info_t numsegments; in fru_get_num_segments() local195 numsegments.hdl = section; in fru_get_num_segments()196 numsegments.cnt = 0; in fru_get_num_segments()197 if (ioctl(fd, SGFRU_GETNUMSEGMENTS, &numsegments) != 0) { in fru_get_num_segments()200 return (numsegments.cnt); in fru_get_num_segments()