Lines Matching defs:alignOff
251 memType realBase, alignOff;
258 alignOff = base - realBase;
263 printf("base: %lx, realBase: %lx, alignOff: %lx \n",
264 base, realBase, alignOff);
272 memBase = mmap((caddr_t)0, realSize + alignOff, prot, mapflags, fdd,
280 return ((char *)memBase + alignOff);
286 memType alignOff = (memType)base - ((memType)base & ~(getpagesize() - 1));
288 printf("alignment offset: %lx\n",alignOff);
289 munmap((caddr_t)((memType)base - alignOff), (size + alignOff));