Searched refs:readsegment (Results 1 – 1 of 1) sorted by relevance
284 segments_t readsegment; in fru_read_segment() local290 readsegment.fru_hdl = segment; in fru_read_segment()291 readsegment.fru_cnt = nbytes; in fru_read_segment()292 readsegment.frus = buffer; in fru_read_segment()293 if (ioctl(fd, SGFRU_READRAWSEGMENT, &readsegment) != 0) { in fru_read_segment()296 return ((ssize_t)readsegment.fru_cnt); in fru_read_segment()