Lines Matching defs:pMdlBuf
33 PMDL pMdlBuf;
1032 PMDL pMdlBuf = pContext->pMdlBuf;
1036 if (!pUrb || !pMdlBuf || !pUrbInfo | !pDevExt)
1180 MmUnlockPages(pMdlBuf);
1181 IoFreeMdl(pMdlBuf);
1197 PMDL pMdlBuf = NULL;
1232 pMdlBuf = IoAllocateMdl(pUrbInfo->buf, (ULONG)pUrbInfo->len, FALSE, FALSE, NULL);
1233 if (!pMdlBuf)
1242 MmProbeAndLockPages(pMdlBuf, KernelMode, IoModifyAccess);
1247 IoFreeMdl(pMdlBuf);
1248 pMdlBuf = NULL;
1256 PVOID pBuffer = MmGetSystemAddressForMdlSafe(pMdlBuf, NormalPagePriority);
1300 pUrb->UrbControlTransfer.TransferBufferMDL = pMdlBuf;
1385 pContext->pMdlBuf = pMdlBuf;
1406 if (pMdlBuf)
1408 MmUnlockPages(pMdlBuf);
1409 IoFreeMdl(pMdlBuf);