Home
last modified time | relevance | path

Searched refs:readcnt (Results 1 – 4 of 4) sorted by relevance

/dragonfly/usr.bin/fetch/
H A Dfetch.c442 size_t size, readcnt, wr; in fetch() local
782 readcnt = fread(buf, 1, size, f); in fetch()
788 if (readcnt < size) { in fetch()
791 else if (readcnt == 0) in fetch()
795 stat_update(&xs, count += readcnt); in fetch()
796 for (ptr = buf; readcnt > 0; ptr += wr, readcnt -= wr) { in fetch()
797 if ((wr = fwrite(ptr, 1, readcnt, of)) < readcnt) { in fetch()
804 if (readcnt != 0) in fetch()
/dragonfly/sbin/quotacheck/
H A Dquotacheck.c508 long readcnt, readpercg, fullcnt, inobufsize, partialcnt, partialsize; variable
524 readcnt++; in getnextinode()
526 if (readcnt % readpercg == 0) { in getnextinode()
548 readcnt = 0; in resetinodebuf()
/dragonfly/sbin/fsck/
H A Dinode.c295 long readcnt, readpercg, fullcnt, inobufsize, partialcnt, partialsize; variable
308 readcnt++; in getnextinode()
310 if (readcnt % readpercg == 0) { in getnextinode()
336 readcnt = 0; in setinodebuf()
/dragonfly/sys/vfs/ext2fs/
H A Dext2_lookup.c153 size_t readcnt, skipcnt; in ext2_readdir() local
189 readcnt = ip->i_size - bp->b_loffset; in ext2_readdir()
191 readcnt = bp->b_bcount; in ext2_readdir()
196 edp = (struct ext2fs_direct_2 *)&bp->b_data[readcnt]; in ext2_readdir()