Lines Matching refs:bufend
59 static char *bufend; /* end or last char in i/o buffer */ variable
112 bufend = buf + wrblksz; in wr_start()
151 bufend = buf + rdblksz; in rd_start()
152 bufpt = bufend; in rd_start()
233 skcnt += bufend - bufpt; in appnd_start()
252 bufend = buf + blksz; in appnd_start()
253 while (bufpt < bufend) { in appnd_start()
261 bufend = buf + blksz; in appnd_start()
266 bufend = buf + blksz; in appnd_start()
332 bufend = buf + res; in rd_sync()
399 res = MIN((bufend - bufpt), skcnt); in rd_skip()
430 cnt = bufend - bufpt; in rd_skip()
457 memset(bufpt, 0, bufend - bufpt); in wr_fin()
458 bufpt = bufend; in wr_fin()
484 cnt = bufend - bufpt; in wr_rdbuf()
521 cnt = bufend - bufpt; in rd_wrbuf()
567 cnt = bufend - bufpt; in wr_skip()
608 cnt = bufend - bufpt; in wr_rdfile()
688 cnt = bufend - bufpt; in rd_wrfile()
842 bufend = buf + cnt; in buf_fill()
905 bufend = buf + blksz; in buf_flush()
931 memcpy(buf, bufend, push); in buf_flush()
970 bufend = buf + blksz; in buf_flush()