Searched defs:pDr (Results 1 - 5 of 5) sorted by relevance
/vbox/src/VBox/HostDrivers/VBoxUSB/win/cmn/ |
H A D | VBoxUsbTool.cpp | 127 VBOXUSBTOOL_DECL(VOID) VBoxUsbToolStringDescriptorToUnicodeString(PUSB_STRING_DESCRIPTOR pDr, PUNICODE_STRING pUnicode) argument 133 pUnicode->Buffer = pDr->bString; 134 pUnicode->Length = pUnicode->MaximumLength = pDr->bLength - RT_OFFSETOF(USB_STRING_DESCRIPTOR, bString); 142 PUSB_STRING_DESCRIPTOR pDr = (PUSB_STRING_DESCRIPTOR)&aBuf; local 147 memset(pDr, 0, cbBuf); 148 pDr->bLength = cbBuf; 149 pDr->bDescriptorType = USB_STRING_DESCRIPTOR_TYPE; 151 NTSTATUS Status = VBoxUsbToolGetDescriptor(pDevObj, pDr, cbBuf, USB_STRING_DESCRIPTOR_TYPE, iIndex, LangId, dwTimeoutMs); 154 if (pDr->bLength >= sizeof (USB_STRING_DESCRIPTOR)) 161 VBoxUsbToolStringDescriptorToUnicodeString(pDr, 188 PUSB_STRING_DESCRIPTOR pDr = (PUSB_STRING_DESCRIPTOR)&aBuf; local [all...] |
/vbox/src/VBox/HostDrivers/VBoxUSB/win/dev/ |
H A D | VBoxUsbRt.cpp | 307 PUSB_CONFIGURATION_DESCRIPTOR pDr = (PUSB_CONFIGURATION_DESCRIPTOR)vboxUsbMemAlloc(sizeof (USB_CONFIGURATION_DESCRIPTOR)); local 308 Assert(pDr); 309 if (pDr) 314 Status = VBoxUsbToolGetDescriptor(pDevExt->pLowerDO, pDr, sizeof (USB_CONFIGURATION_DESCRIPTOR), USB_CONFIGURATION_DESCRIPTOR_TYPE, i, 0, RT_INDEFINITE_WAIT); 320 USHORT uTotalLength = pDr->wTotalLength; 335 vboxUsbMemFree(pDr); 427 PUSB_DEVICE_DESCRIPTOR pDr = (PUSB_DEVICE_DESCRIPTOR)vboxUsbMemAllocZ(sizeof (USB_DEVICE_DESCRIPTOR)); local 428 if (pDr) 430 Status = VBoxUsbToolGetDescriptor(pDevExt->pLowerDO, pDr, sizeof(*pDr), USB_DEVICE_DESCRIPTOR_TYP [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/ |
H A D | VBoxMPCr.cpp | 80 static int vboxMpCrShgsmiBufCacheBufReinit(PVBOXMP_CRSHGSMITRANSPORT pCon, PVBOXMP_CRSHGSMICON_BUFDR_CACHE pCache, PVBOXMP_CRSHGSMICON_BUFDR pDr, uint32_t cbRequested) argument 82 if (pDr->cbBuf >= cbRequested) 85 if (pDr->pvBuf) 86 VBoxMpCrShgsmiTransportBufFree(pCon, pDr->pvBuf); 88 pDr->pvBuf = VBoxMpCrShgsmiTransportBufAlloc(pCon, cbRequested); 89 if (!pDr->pvBuf) 92 pDr->cbBuf = 0; 96 pDr->cbBuf = cbRequested; 100 static void vboxMpCrShgsmiBufCacheFree(PVBOXMP_CRSHGSMITRANSPORT pCon, PVBOXMP_CRSHGSMICON_BUFDR_CACHE pCache, PVBOXMP_CRSHGSMICON_BUFDR pDr) argument 102 if (ASMAtomicCmpXchgPtr(&pCache->pBufDr, pDr, NUL 243 vboxMpCrShgsmiTransportCmdSubmitDr(PVBOXMP_CRSHGSMITRANSPORT pCon, PVBOXVDMACBUF_DR pDr, PFNVBOXVDMADDICMDCOMPLETE_DPC pfnComplete) argument 263 PVBOXVDMACBUF_DR pDr = VBOXVDMACBUF_DR_FROM_TAIL(pHdr); local 269 PVBOXVDMACBUF_DR pDr = VBOXVDMACBUF_DR_FROM_TAIL(pHdr); local 284 PVBOXVDMACBUF_DR pDr = VBOXVDMACBUF_DR_FROM_DDI_CMD(pDdiCmd); local 329 vboxMpCrShgsmiTransportCmdCreateReadAsync(PVBOXMP_CRSHGSMITRANSPORT pCon, uint32_t u32ClientID, PVBOXVDMACBUF_DR pDr, uint32_t cbDrData, PVBOXMP_CRSHGSMICON_BUFDR pWbDr, PFNVBOXMP_CRSHGSMITRANSPORT_SENDREADASYNC_COMPLETION pfnCompletion, uint32_t cbContextData) argument 406 PVBOXVDMACBUF_DR pDr = VBOXVDMACBUF_DR_FROM_DDI_CMD(pDdiCmd); local 484 PVBOXVDMACBUF_DR pDr = VBOXVDMACBUF_DR_FROM_DDI_CMD(pDdiCmd); local 544 PVBOXVDMACBUF_DR pDr = vboxVdmaCBufDrCreate(&pDevExt->u.primary.Vdma, cbCmd); local 644 PVBOXVDMACBUF_DR pDr = vboxVdmaCBufDrCreate(&pDevExt->u.primary.Vdma, cbCmd); local [all...] |
H A D | VBoxMPVdma.cpp | 1715 void vboxVdmaCBufDrFree (PVBOXVDMAINFO pInfo, PVBOXVDMACBUF_DR pDr) argument 1717 VBoxSHGSMICommandFree (&pInfo->CmdHeap, pDr); 1723 PVBOXVDMACBUF_DR pDr = (PVBOXVDMACBUF_DR)VBoxSHGSMICommandAlloc (&pInfo->CmdHeap, cbDr, HGSMI_CH_VBVA, VBVA_VDMA_CMD); local 1724 Assert(pDr); 1725 if (pDr) 1726 memset (pDr, 0, cbDr); 1730 return pDr; 1745 PVBOXVDMACBUF_DR pDr = (PVBOXVDMACBUF_DR)pvCmd; local 1749 if (RT_SUCCESS(pDr->rc)) 1753 else if (pDr 1774 vboxVdmaCBufDrSubmit(PVBOXMP_DEVEXT pDevExt, PVBOXVDMAINFO pInfo, PVBOXVDMACBUF_DR pDr) argument 1807 vboxVdmaCBufDrSubmitSynch(PVBOXMP_DEVEXT pDevExt, PVBOXVDMAINFO pInfo, PVBOXVDMACBUF_DR pDr) argument [all...] |
/vbox/src/VBox/HostDrivers/VBoxUSB/win/lib/ |
H A D | VBoxUsbLib-win.cpp | 539 PUSB_CONFIGURATION_DESCRIPTOR pDr = (PUSB_CONFIGURATION_DESCRIPTOR)(pRq + 1); local 561 if (pDr->wTotalLength != cbRq - sizeof (USB_DESCRIPTOR_REQUEST)) 567 *ppDr = pDr; 575 static void usbLibDevCfgDrFree(PUSB_CONFIGURATION_DESCRIPTOR pDr) argument 577 Assert(pDr); 578 PUSB_DESCRIPTOR_REQUEST pRq = ((PUSB_DESCRIPTOR_REQUEST)pDr)-1; 588 PUSB_STRING_DESCRIPTOR pDr = (PUSB_STRING_DESCRIPTOR)(szBuf + sizeof (*pRq)); local 589 RT_BZERO(pDr, sizeof(USB_STRING_DESCRIPTOR)); 607 if (pDr->bDescriptorType != USB_STRING_DESCRIPTOR_TYPE) 611 if ( (cbReturned < sizeof (*pDr) 636 usbLibDevStrDrEntryFree(PVBOXUSB_STRING_DR_ENTRY pDr) argument 641 usbLibDevStrDrEntryFreeList(PVBOXUSB_STRING_DR_ENTRY pDr) argument [all...] |
Completed in 1853 milliseconds