Searched refs:mapbase (Results 1 – 1 of 1) sorted by relevance
202 static caddr_t mapbase; /* base of mapped data */ variable225 mapbase = mapend = (caddr_t)0; in mapfile()237 while ((mapbase = mmap((caddr_t)0, mapsize, PROT_READ, in mapfile()247 if (mapbase == (caddr_t)-1) { in mapfile()257 mapbase = (caddr_t)0; in mapfile()261 (void) madvise(mapbase, mapsize, MADV_SEQUENTIAL); in mapfile()262 mapstart = mapbase + (offset - mapoffset); in mapfile()263 mapend = mapbase + (mapsize - 1); in mapfile()295 if (mapbase) { in unmapfile()298 (void) munmap(mapbase, mapsize); in unmapfile()[all …]