Searched refs:cur_wrlen (Results 1 – 1 of 1) sorted by relevance
60 static int cur_wrlen, max_wrlen; variable202 cur_wrlen = 0; in init_buf()544 if (cur_wrlen) { in flush_writebuf()548 ssize_t wrlen = write(netfd[i], writebuf, cur_wrlen); in flush_writebuf()549 if (wrlen != (ssize_t)cur_wrlen) in flush_writebuf()553 cur_wrlen = 0; in flush_writebuf()563 if (cur_wrlen + len >= max_wrlen) in get_writebuf()565 buf = writebuf + cur_wrlen; in get_writebuf()566 cur_wrlen += len; in get_writebuf()