Searched refs:writesegment (Results 1 – 1 of 1) sorted by relevance
304 segments_t writesegment; in fru_write_segment() local310 writesegment.fru_hdl = segment; in fru_write_segment()311 writesegment.fru_cnt = nbytes; in fru_write_segment()312 writesegment.frus = (void *)buffer; in fru_write_segment()313 if (ioctl(fd, SGFRU_WRITERAWSEGMENT, &writesegment) != 0) { in fru_write_segment()317 *newsegment = writesegment.fru_hdl; in fru_write_segment()318 return ((ssize_t)writesegment.fru_cnt); in fru_write_segment()