Lines Matching refs:wbsize
151 shf->wbsize = sflags & SHF_UNBUF ? 0 : bsize; in shf_fdopen()
178 shf->wbsize = sflags & SHF_UNBUF ? 0 : bsize; in shf_reopen()
218 shf->wbsize = bsize; in shf_sopen()
352 nbuf = aresize2(shf->buf, 2, shf->wbsize, shf->areap); in shf_emptybuf()
355 shf->rbsize += shf->wbsize; in shf_emptybuf()
356 shf->wnleft += shf->wbsize; in shf_emptybuf()
357 shf->wbsize <<= 1; in shf_emptybuf()
395 shf->wnleft = shf->wbsize; in shf_emptybuf()
664 if (nbytes > shf->wbsize) { in shf_write()
666 if (shf->wbsize) in shf_write()
667 ncopy -= nbytes % shf->wbsize; in shf_write()