Lines Matching refs:alignmentBytes
234 size_t alignmentBytes = offset % PAGE_SIZE; in map() local
235 size_t mapOffset = offset - alignmentBytes; in map()
236 size_t mapSize = size + alignmentBytes; in map()
237 Mapping map = { nullptr, alignmentBytes, mapSize }; in map()
239 … c2_status_t err = mapInternal(mapSize, mapOffset, alignmentBytes, prot, flags, &(map.addr), addr); in map()
252 if (addr != (uint8_t *)it->addr + it->alignmentBytes || in unmap()
253 size + it->alignmentBytes != it->size) { in unmap()
311 virtual c2_status_t mapInternal(size_t mapSize, size_t mapOffset, size_t alignmentBytes, in mapInternal() argument
325 *addr = (uint8_t *)*base + alignmentBytes; in mapInternal()
336 *addr = (uint8_t *)*base + alignmentBytes; in mapInternal()
350 size_t alignmentBytes; member
381 virtual c2_status_t mapInternal(size_t mapSize, size_t mapOffset, size_t alignmentBytes, in mapInternal() argument
392 *addr = (uint8_t *)*base + alignmentBytes; in mapInternal()