Searched refs:bufoffset (Results 1 - 2 of 2) sorted by relevance

/freebsd-10-stable/gnu/usr.bin/grep/
H A Dgrep.c239 static off_t bufoffset; /* Read offset; defined on regular files. */ variable
246 static off_t initial_bufoffset; /* Initial value of bufoffset. */
322 bufoffset = 0;
325 bufoffset = lseek (fd, 0, SEEK_CUR);
326 if (bufoffset < 0)
333 initial_bufoffset = bufoffset;
334 bufmapped = mmap_option && bufoffset % pagesize == 0;
386 off_t to_be_read = stats->stat.st_size - bufoffset;
421 if (stats->stat.st_size - bufoffset < mmapsize)
423 mmapsize = stats->stat.st_size - bufoffset;
[all...]
/freebsd-10-stable/sys/fs/unionfs/
H A Dunion_subr.c974 int bufoffset; local
1003 bufoffset = 0;
1004 while (bufoffset < count) {
1007 iov.iov_base = buf + bufoffset;
1008 iov.iov_len = count - bufoffset;
1009 uio.uio_offset = offset + bufoffset;
1016 bufoffset += (count - bufoffset) - uio.uio_resid;
1019 uio.uio_offset = offset + bufoffset;

Completed in 162 milliseconds