Searched refs:mapoff (Results 1 - 4 of 4) sorted by relevance

/freebsd-9.3-release/usr.bin/tail/
H A Dmisc.c77 if (startoff < mip->mapoff || startoff >= mip->mapoff +
82 n = (mip->mapoff + mip->maplen) - startoff;
85 WR(mip->start + (startoff - mip->mapoff), n);
104 mip->mapoff = offset & ~((off_t)TAILMAPLEN - 1);
106 if ((off_t)mip->maplen > mip->maxoff - mip->mapoff)
107 mip->maplen = mip->maxoff - mip->mapoff;
111 mip->fd, mip->mapoff)) == MAP_FAILED)
H A Dextern.h42 off_t mapoff; member in struct:mapinfo
H A Dreverse.c118 map.mapoff = map.maxoff = size;
128 if (curoff < map.mapoff ||
129 curoff >= map.mapoff + (off_t)map.maplen) {
135 for (i = curoff - map.mapoff; i >= 0; i--) {
142 curoff = map.mapoff + i;
H A Dforward.c201 map.mapoff = map.maxoff = size;
209 if (curoff < map.mapoff && maparound(&map, curoff) != 0) {
213 for (i = curoff - map.mapoff; i >= 0; i--)
217 curoff = map.mapoff + i;

Completed in 67 milliseconds