Lines Matching refs:cnt
469 u_offset_t cnt;
493 cnt = (u_offset_t)(unsigned)NINDIR(sblock) *
495 if (cnt > *size)
496 cnt = *size;
497 *size -= cnt;
498 lf_blksout(&idblk[0], cnt);
797 bread(da, ba, cnt)
800 size_t cnt;
821 if ((cnt >= DEV_BSIZE) && (mapfd != -1)) {
833 len = (size_t)roundup(cnt + (filoff - mapoff), pagesize);
836 (void) memcpy(ba, maddr + displacement, cnt);
846 BREAD_FAIL(ba, cnt);
850 if (read(fi, ba, (size_t)cnt) == (size_t)cnt)
853 while (cnt != 0) {
859 BREAD_FAIL(ba, cnt);
865 BREAD_FAIL(ba, cnt);
869 if (cnt < DEV_BSIZE) {
874 ba, cnt);
879 len = cnt;
904 cnt -= len;