Lines Matching defs:offBuffer
106 uint32_t HGSMIChecksum(HGSMIOFFSET offBuffer,
112 u32Checksum = hgsmiHashProcess(u32Checksum, &offBuffer, sizeof(offBuffer));
182 HGSMIOFFSET offBuffer = HGSMIPointerToOffset(pArea, pHeader);
192 pTail->u32Checksum = HGSMIChecksum(offBuffer, pHeader, pTail);
194 return offBuffer;
237 HGSMIOFFSET offBuffer = HGSMIBufferInitializeSingle(HGSMIHeapArea(pHeap), pHeader,
239 if (offBuffer == HGSMIOFFSET_VOID)
279 /** Verify that the given offBuffer points to a valid buffer, which is within the area.
283 * @param offBuffer The buffer location in the area.
287 HGSMIOFFSET offBuffer,
291 // offBuffer, pArea->pu8Base, pArea->cbArea, pArea->offBase, pArea->offLast));
295 if ( offBuffer < pArea->offBase
296 || offBuffer > pArea->offLast)
299 // offBuffer, pArea->offBase, pArea->offLast));
305 void *pvBuffer = HGSMIOffsetToPointer(pArea, offBuffer);
311 // LogFlowFunc(("datasize check: header.u32DataSize = 0x%x pArea->offLast - offBuffer = 0x%x\n",
312 // header.u32DataSize, pArea->offLast - offBuffer));
314 if (header.u32DataSize <= pArea->offLast - offBuffer)
319 uint32_t u32Checksum = HGSMIChecksum(offBuffer, &header, &tail);
340 // header.u32DataSize, pArea->offLast - offBuffer));
374 * @param offBuffer The buffer location in the area.
378 HGSMIOFFSET offBuffer)
380 // LogFlowFunc(("pArea %p, offBuffer 0x%x\n", pArea, offBuffer));
385 /* Guest has prepared a command description at 'offBuffer'. */
387 int rc = hgsmiVerifyBuffer(pArea, offBuffer, &bufferContext);
402 HGSMI_STRICT_ASSERT(RT_SUCCESS(hgsmiVerifyBuffer(pArea, offBuffer, &bufferContext)));