Home
last modified time | relevance | path

Searched refs:mapOffset (Results 1 – 1 of 1) sorted by relevance

/system/libfmq/include/fmq/
DMessageQueueBase.h1449 int mapOffset = (grantors[grantorIdx].offset / kPageSize) * kPageSize; in mapGrantorDescr() local
1456 int mapLength = grantors[grantorIdx].offset - mapOffset + grantors[grantorIdx].extent; in mapGrantorDescr()
1459 mapOffset); in mapGrantorDescr()
1465 address = mmap(0, mapLength, PROT_READ, MAP_SHARED, handle->data[fdIndex], mapOffset); in mapGrantorDescr()
1471 return reinterpret_cast<uint8_t*>(address) + (grantors[grantorIdx].offset - mapOffset); in mapGrantorDescr()
1482 int mapOffset = (grantors[grantorIdx].offset / kPageSize) * kPageSize; in unmapGrantorDescr() local
1483 int mapLength = grantors[grantorIdx].offset - mapOffset + grantors[grantorIdx].extent; in unmapGrantorDescr()
1485 reinterpret_cast<uint8_t*>(address) - (grantors[grantorIdx].offset - mapOffset); in unmapGrantorDescr()