Lines Matching refs:pRingBuf
81 # define INTNETRINGBUF_ASSERT_SANITY(pRingBuf) \
84 AssertPtr(pRingBuf); \
86 uint32_t const offWriteCom = (pRingBuf)->offWriteCom; \
87 uint32_t const offRead = (pRingBuf)->offReadX; \
88 uint32_t const offWriteInt = (pRingBuf)->offWriteInt; \
91 AssertMsg(offWriteCom >= (pRingBuf)->offStart, ("%#x %#x\n", offWriteCom, (pRingBuf)->offStart)); \
92 AssertMsg(offWriteCom < (pRingBuf)->offEnd, ("%#x %#x\n", offWriteCom, (pRingBuf)->offEnd)); \
95 AssertMsg(offRead >= (pRingBuf)->offStart, ("%#x %#x\n", offRead, (pRingBuf)->offStart)); \
96 AssertMsg(offRead < (pRingBuf)->offEnd, ("%#x %#x\n", offRead, (pRingBuf)->offEnd)); \
99 AssertMsg(offWriteInt >= (pRingBuf)->offStart, ("%#x %#x\n", offWriteInt, (pRingBuf)->offStart)); \
100 AssertMsg(offWriteInt < (pRingBuf)->offEnd, ("%#x %#x\n", offWriteInt, (pRingBuf)->offEnd)); \
108 # define INTNETRINGBUF_ASSERT_SANITY(pRingBuf) do { } while (0)
255 #define INTNETHDR_ASSERT_SANITY(pHdr, pRingBuf) \
264 uintptr_t const offHdr = (uintptr_t)pHdr - (uintptr_t)pRingBuf; \
267 Assert(offHdr >= (pRingBuf)->offStart); \
268 Assert(offHdr < (pRingBuf)->offEnd); \
271 Assert(offFrame >= (pRingBuf)->offStart); \
272 Assert(offFrame < (pRingBuf)->offEnd); \
276 # define INTNETHDR_ASSERT_SANITY(pHdr, pRingBuf) do { } while (0)