Lines Matching defs:pSgBuf
252 PDMBOTHCBDECL(int) drvDedicatedNicUp_FreeBuf(PPDMINETWORKUP pInterface, PPDMSCATTERGATHER pSgBuf)
255 Assert(pSgBuf->fFlags == (PDMSCATTERGATHER_FLAGS_MAGIC | PDMSCATTERGATHER_FLAGS_OWNER_1));
256 Assert(pSgBuf->cbUsed <= pSgBuf->cbAvailable);
259 if (pSgBuf)
264 Assert(pSgBuf == &pThis->XmitSg);
265 Assert((pSgBuf->fFlags & PDMSCATTERGATHER_FLAGS_MAGIC_MASK) == PDMSCATTERGATHER_FLAGS_MAGIC);
266 pSgBuf->fFlags = 0;
277 PDMBOTHCBDECL(int) drvDedicatedNicUp_SendBuf(PPDMINETWORKUP pInterface, PPDMSCATTERGATHER pSgBuf, bool fOnWorkerThread)
282 AssertPtr(pSgBuf);
283 Assert(pSgBuf->fFlags == (PDMSCATTERGATHER_FLAGS_MAGIC | PDMSCATTERGATHER_FLAGS_OWNER_1));
284 Assert(pSgBuf->cbUsed <= pSgBuf->cbAvailable);
286 Assert(pSgBuf == &pThis->XmitSg);
301 int rc = PDMDrvHlpCallR0(pThis->pDrvInsR3, DRVDEDICATEDNICR0OP_SEND, pSgBuf->cbUsed);
304 pSgBuf->fFlags = 0;