Searched refs:maplen (Results 1 - 5 of 5) sorted by relevance
/freebsd-10.0-release/usr.bin/tail/ |
H A D | misc.c | 78 (off_t)mip->maplen) { 82 n = (mip->mapoff + mip->maplen) - startoff; 101 if (mip->start != NULL && munmap(mip->start, mip->maplen) != 0) 105 mip->maplen = TAILMAPLEN; 106 if ((off_t)mip->maplen > mip->maxoff - mip->mapoff) 107 mip->maplen = mip->maxoff - mip->mapoff; 108 if (mip->maplen <= 0) 110 if ((mip->start = mmap(NULL, mip->maplen, PROT_READ, MAP_SHARED,
|
H A D | extern.h | 44 size_t maplen; member in struct:mapinfo
|
H A D | reverse.c | 129 curoff >= map.mapoff + (off_t)map.maplen) { 167 if (map.start != NULL && munmap(map.start, map.maplen))
|
H A D | forward.c | 232 if (map.start != NULL && munmap(map.start, map.maplen)) {
|
/freebsd-10.0-release/contrib/bmake/ |
H A D | parse.c | 385 size_t maplen; /* length of mmap area, or 0 */ member in struct:loadedfile 401 lf->maplen = 0; 410 if (lf->maplen > 0) { 412 munmap(lf->buf, lf->maplen); 515 lf->maplen = pagesize * ((lf->len + pagesize - 1)/pagesize); 522 if (lf->maplen == 0) { 523 lf->maplen = pagesize; 530 lf->buf = mmap(NULL, lf->maplen, PROT_READ|PROT_WRITE, 534 if (lf->len == lf->maplen && lf->buf[lf->len - 1] != '\n') { 538 munmap(lf->buf, lf->maplen); [all...] |
Completed in 76 milliseconds