Searched refs:numsegments (Results 1 – 1 of 1) sorted by relevance
191 segment_info_t numsegments; in fru_get_num_segments() local197 numsegments.hdl = section; in fru_get_num_segments()198 numsegments.cnt = 0; in fru_get_num_segments()199 if (ioctl(fd, SGFRU_GETNUMSEGMENTS, &numsegments) != 0) { in fru_get_num_segments()202 return (numsegments.cnt); in fru_get_num_segments()