Searched refs:totread (Results 1 – 3 of 3) sorted by relevance
/freebsd/stand/libsa/ |
H A D | splitfs.c | 193 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 D | vfs_cluster.c | 90 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 D | fuse_io.c | 178 long totread = uio->uio_resid + on; in fuse_read_biobackend() local 182 totread, seqcount, 0, &bp); in fuse_read_biobackend()
|