Home
last modified time | relevance | path

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

/freebsd-12.1/gnu/usr.bin/grep/
H A Dgrep.c322 bufoffset = 0; in reset()
325 bufoffset = lseek (fd, 0, SEEK_CUR); in reset()
326 if (bufoffset < 0) in reset()
333 initial_bufoffset = bufoffset; in reset()
423 mmapsize = stats->stat.st_size - bufoffset; in fillbuf()
430 bufdesc, bufoffset) in fillbuf()
446 if (bufoffset != initial_bufoffset in fillbuf()
447 && lseek (bufdesc, bufoffset, SEEK_SET) < 0) in fillbuf()
495 bufoffset += fillsize; in fillbuf()
737 after_last_match = bufoffset - (buflim - p); in prtext()
[all …]
H A DChangeLog1366 * src/grep.c (bufoffset): Needed even if !defined HAVE_MMAP.
/freebsd-12.1/sys/fs/unionfs/
H A Dunion_subr.c985 int bufoffset; in unionfs_copyfile_core() local
1014 bufoffset = 0; in unionfs_copyfile_core()
1015 while (bufoffset < count) { in unionfs_copyfile_core()
1018 iov.iov_base = buf + bufoffset; in unionfs_copyfile_core()
1019 iov.iov_len = count - bufoffset; in unionfs_copyfile_core()
1020 uio.uio_offset = offset + bufoffset; in unionfs_copyfile_core()
1027 bufoffset += (count - bufoffset) - uio.uio_resid; in unionfs_copyfile_core()
1030 uio.uio_offset = offset + bufoffset; in unionfs_copyfile_core()