Lines Matching refs:offWriteCom
281 uint32_t const offWriteCom = ASMAtomicUoReadU32(&pRingBuf->offWriteCom);
282 return offRead != offWriteCom;
295 uint32_t const offWriteCom = ASMAtomicUoReadU32(&pRingBuf->offWriteCom);
296 if (offRead == offWriteCom)
311 uint32_t const offWriteCom = ASMAtomicUoReadU32(&pRingBuf->offWriteCom);
312 return offRead <= offWriteCom
313 ? offWriteCom - offRead
314 : pRingBuf->offEnd - offRead + offWriteCom - pRingBuf->offStart;
548 Assert(pRingBuf->offWriteCom == ((uintptr_t)pHdr - (uintptr_t)pRingBuf));
551 * Figure out the offWriteCom for this packet and update the ring.
555 uint32_t offWriteCom = (uint32_t)((uintptr_t)pHdr - (uintptr_t)pRingBuf)
558 if (offWriteCom >= pRingBuf->offEnd)
560 Assert(offWriteCom == pRingBuf->offEnd);
561 offWriteCom = pRingBuf->offStart;
563 Log2(("IntNetRingCommitFrame: offWriteCom: %#x -> %#x (R=%#x T=%#x S=%#x)\n", pRingBuf->offWriteCom, offWriteCom, pRingBuf->offReadX, pHdr->u8Type, cbFrame));
564 ASMAtomicWriteU32(&pRingBuf->offWriteCom, offWriteCom);
589 Assert(pRingBuf->offWriteCom == ((uintptr_t)pHdr - (uintptr_t)pRingBuf));
599 uint32_t offWriteCom = (uint32_t)((uintptr_t)pHdr - (uintptr_t)pRingBuf)
602 if (offWriteCom >= pRingBuf->offEnd)
604 Assert(offWriteCom == pRingBuf->offEnd);
605 offWriteCom = pRingBuf->offStart;
622 Log2(("IntNetRingCommitFrameEx: offWriteCom: %#x -> %#x (R=%#x T=%#x S=%#x P=%#x)\n", pRingBuf->offWriteCom, offWriteCom, pRingBuf->offReadX, pHdr->u8Type, pHdr->cbFrame, cbAlignedFrame - cbAlignedUsed));
623 ASMAtomicWriteU32(&pRingBuf->offWriteCom, offWriteCom);
674 Log2(("IntNetRingWriteFrame: offWriteCom: %#x -> %#x (1)\n", pRingBuf->offWriteCom, offNew));
675 ASMAtomicWriteU32(&pRingBuf->offWriteCom, offNew);
699 Log2(("IntNetRingWriteFrame: offWriteCom: %#x -> %#x (2)\n", pRingBuf->offWriteCom, offNew));
700 ASMAtomicWriteU32(&pRingBuf->offWriteCom, offNew);
723 Log2(("IntNetRingWriteFrame: offWriteCom: %#x -> %#x (3)\n", pRingBuf->offWriteCom, offNew));
724 ASMAtomicWriteU32(&pRingBuf->offWriteCom, offNew);
751 uint32_t const offWriteCom = ASMAtomicUoReadU32(&pRingBuf->offWriteCom);
752 if (offRead == offWriteCom)
807 pIntBuf->Recv.offWriteCom = offBuf;
814 pIntBuf->Send.offWriteCom = offBuf;