Home
last modified time | relevance | path

Searched refs:totread (Results 1 – 3 of 3) sorted by relevance

/freebsd/stand/libsa/
H A Dsplitfs.c193 size_t totread; in splitfs_read() local
197 totread = 0; in splitfs_read()
199 nread = read(sf->curfd, buf, size - totread); in splitfs_read()
207 totread += nread; in splitfs_read()
210 if (totread < size) { /* EOF */ in splitfs_read()
223 } while (totread < size); in splitfs_read()
226 *resid = size - totread; in splitfs_read()
/freebsd/sys/kern/
H A Dvfs_cluster.c90 struct ucred *cred, long totread, int seqcount, int gbflags, in cluster_read() argument
190 if (minread > totread) in cluster_read()
191 totread = minread; in cluster_read()
197 if (firstread + totread > filesize) in cluster_read()
198 totread = filesize - firstread; in cluster_read()
199 nblks = howmany(totread, size); in cluster_read()
/freebsd/sys/fs/fuse/
H A Dfuse_io.c178 long totread = uio->uio_resid + on; in fuse_read_biobackend() local
182 totread, seqcount, 0, &bp); in fuse_read_biobackend()