Lines Matching refs:poff
385 off_t poff;
394 poff = soff;
395 while (poff < soff + bytes) {
396 nb = lb - poff / DEV_BSIZE;
399 if (dskread(zbuf, poff / DEV_BSIZE, nb))
401 if ((poff / DEV_BSIZE + nb) * DEV_BSIZE > soff + bytes)
402 len = soff + bytes - poff;
404 len = (poff / DEV_BSIZE + nb) * DEV_BSIZE - poff;
405 memcpy(p, zbuf + poff % DEV_BSIZE, len);
407 poff += len;
409 return (poff - soff);