Home
last modified time | relevance | path

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

/system/libfmq/include/fmq/
DMessageQueueBase.h431 void* mapGrantorDescr(uint32_t grantorIdx);
432 void unmapGrantorDescr(void* address, uint32_t grantorIdx);
1255 void* MessageQueueBase<MQDescriptorType, T, flavor>::mapGrantorDescr(uint32_t grantorIdx) { in mapGrantorDescr() argument
1263 if (grantorIdx >= grantors.size()) { in mapGrantorDescr()
1269 int fdIndex = grantors[grantorIdx].fdIndex; in mapGrantorDescr()
1273 int mapOffset = (grantors[grantorIdx].offset / PAGE_SIZE) * PAGE_SIZE; in mapGrantorDescr()
1274 int mapLength = grantors[grantorIdx].offset - mapOffset + grantors[grantorIdx].extent; in mapGrantorDescr()
1282 return reinterpret_cast<uint8_t*>(address) + (grantors[grantorIdx].offset - mapOffset); in mapGrantorDescr()
1287 uint32_t grantorIdx) { in unmapGrantorDescr() argument
1289 if ((address == nullptr) || (grantorIdx >= grantors.size())) { in unmapGrantorDescr()
[all …]