Searched refs:mapOffset (Results 1 – 1 of 1) sorted by relevance
1449 int mapOffset = (grantors[grantorIdx].offset / kPageSize) * kPageSize; in mapGrantorDescr() local1456 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() local1483 int mapLength = grantors[grantorIdx].offset - mapOffset + grantors[grantorIdx].extent; in unmapGrantorDescr()1485 reinterpret_cast<uint8_t*>(address) - (grantors[grantorIdx].offset - mapOffset); in unmapGrantorDescr()