| /vbox/src/VBox/Devices/Storage/VSCSI/ |
| H A D | VSCSIIoReq.cpp | 90 PRTRANGE paRanges, unsigned cRanges) 95 LogFlowFunc(("pVScsiLun=%#p pVScsiReq=%#p paRanges=%#p cRanges=%u\n", 96 pVScsiLun, pVScsiReq, paRanges, cRanges)); 105 pVScsiIoReq->u.Unmap.paRanges = paRanges; 162 RTMemFree(pVScsiIoReq->u.Unmap.paRanges); 212 *ppaRanges = pVScsiIoReq->u.Unmap.paRanges; 89 vscsiIoReqUnmapEnqueue(PVSCSILUNINT pVScsiLun, PVSCSIREQINT pVScsiReq, PRTRANGE paRanges, unsigned cRanges) argument
|
| H A D | VSCSILunSbc.cpp | 499 PRTRANGE paRanges = (PRTRANGE)RTMemAllocZ(cBlkDesc * sizeof(RTRANGE)); local 500 if (paRanges) 513 paRanges[i].offStart = vscsiBE2HU64(&abBlkDesc[0]) * 512; 514 paRanges[i].cbRange = vscsiBE2HU32(&abBlkDesc[8]) * 512; 518 rc = vscsiIoReqUnmapEnqueue(pVScsiLun, pVScsiReq, paRanges, cBlkDesc); 521 RTMemFree(paRanges);
|
| H A D | VSCSIInternal.h | 155 PRTRANGE paRanges; member in struct:VSCSIIOREQINT::__anon15957::__anon15959 351 * @param paRanges The array of ranges to unmap. 355 PRTRANGE paRanges, unsigned cRanges);
|
| /vbox/src/VBox/Devices/Samples/ |
| H A D | DrvStorageFilter.cpp | 118 static DECLCALLBACK(int) drvStorageFltIMediaAsync_StartDiscard(PPDMIMEDIAASYNC pInterface, PCRTRANGE paRanges, argument 122 int rc = pThis->pIMediaAsyncBelow->pfnStartDiscard(pThis->pIMediaAsyncBelow, paRanges, cRanges, pvUser); 238 static DECLCALLBACK(int) drvStorageFltIMedia_Discard(PPDMIMEDIA pInterface, PCRTRANGE paRanges, unsigned cRanges) argument 241 int rc = pThis->pIMediaBelow->pfnDiscard(pThis->pIMediaBelow, paRanges, cRanges);
|
| /vbox/src/VBox/VMM/VMMR3/ |
| H A D | CPUMR3Db.cpp | 531 * @param paRanges Array of MSRs to fudge. 534 static int cpumR3MsrApplyFudgeTable(PVM pVM, PCCPUMMSRRANGE paRanges, size_t cRanges) argument 537 if (!cpumLookupMsrRange(pVM, paRanges[i].uFirst)) 539 LogRel(("CPUM: MSR fudge: %#010x %s\n", paRanges[i].uFirst, paRanges[i].szName)); 541 &paRanges[i]); 830 PCPUMMSRRANGE paRanges = pVM->cpum.s.GuestInfo.paMsrRangesR3; local 837 if (paRanges[i].uFirst == paRanges[i].uLast) 839 paRanges[ [all...] |
| H A D | PDMBlkCache.cpp | 2403 VMMR3DECL(int) PDMR3BlkCacheDiscard(PPDMBLKCACHE pBlkCache, PCRTRANGE paRanges, argument 2411 LogFlowFunc((": pBlkCache=%#p{%s} paRanges=%#p cRanges=%u pvUser=%#p\n", 2412 pBlkCache, pBlkCache->pszId, paRanges, cRanges, pvUser)); 2427 uint64_t offCur = paRanges[i].offStart; 2428 size_t cbLeft = paRanges[i].cbRange;
|
| /vbox/src/VBox/Devices/Storage/ |
| H A D | DrvBlock.cpp | 324 static DECLCALLBACK(int) drvblockDiscard(PPDMIBLOCK pInterface, PCRTRANGE paRanges, unsigned cRanges) argument 328 return pThis->pDrvMedia->pfnDiscard(pThis->pDrvMedia, paRanges, cRanges); 417 static DECLCALLBACK(int) drvblockStartDiscard(PPDMIBLOCKASYNC pInterface, PCRTRANGE paRanges, unsigned cRanges, void *pvUser) argument 430 return pThis->pDrvMediaAsync->pfnStartDiscard(pThis->pDrvMediaAsync, paRanges, cRanges, pvUser);
|
| H A D | DrvSCSI.cpp | 211 PCRTRANGE paRanges; local 214 rc = VSCSIIoReqUnmapParamsGet(hVScsiIoReq, &paRanges, &cRanges); 218 rc = pThis->pDrvBlock->pfnDiscard(pThis->pDrvBlock, paRanges, cRanges); 356 PCRTRANGE paRanges; local 359 rc = VSCSIIoReqUnmapParamsGet(hVScsiIoReq, &paRanges, &cRanges); 363 rc = pThis->pDrvBlockAsync->pfnStartDiscard(pThis->pDrvBlockAsync, paRanges, cRanges, hVScsiIoReq);
|
| H A D | DrvDiskIntegrity.cpp | 86 PCRTRANGE paRanges; member in struct:DRVDISKAIOREQ 509 * @param paRanges Array of ranges to discard. 512 static int drvdiskintDiscardRecords(PDRVDISKINTEGRITY pThis, PCRTRANGE paRanges, unsigned cRanges) argument 516 LogFlowFunc(("pThis=%#p paRanges=%#p cRanges=%u\n", pThis, paRanges, cRanges)); 520 uint64_t offStart = paRanges[i].offStart; 521 size_t cbLeft = paRanges[i].cbRange; 1009 static DECLCALLBACK(int) drvdiskintStartDiscard(PPDMIMEDIAASYNC pInterface, PCRTRANGE paRanges, unsigned cRanges, void *pvUser) argument 1017 pIoReq->paRanges = paRanges; 1130 drvdiskintDiscard(PPDMIMEDIA pInterface, PCRTRANGE paRanges, unsigned cRanges) argument [all...] |
| H A D | DrvVD.cpp | 1953 static DECLCALLBACK(int) drvvdDiscard(PPDMIMEDIA pInterface, PCRTRANGE paRanges, unsigned cRanges) argument 1958 int rc = VDDiscardRanges(pThis->pDisk, paRanges, cRanges); 2115 static DECLCALLBACK(int) drvvdStartDiscard(PPDMIMEDIAASYNC pInterface, PCRTRANGE paRanges, argument 2121 LogFlowFunc(("paRanges=%#p cRanges=%u pvUser=%#p\n", 2122 paRanges, cRanges, pvUser)); 2125 rc = VDAsyncDiscardRanges(pThis->pDisk, paRanges, cRanges, drvvdAsyncReqComplete, 2129 rc = PDMR3BlkCacheDiscard(pThis->pBlkCache, paRanges, cRanges, pvUser); 2187 static int drvvdBlkCacheXferEnqueueDiscard(PPDMDRVINS pDrvIns, PCRTRANGE paRanges, argument 2193 rc = VDAsyncDiscardRanges(pThis->pDisk, paRanges, cRanges,
|
| H A D | DevAHCI.cpp | 350 PRTRANGE paRanges; member in struct:AHCIREQ::__anon15815::__anon15817 5868 pAhciReq->u.Trim.paRanges = (PRTRANGE)RTMemAllocZ(sizeof(RTRANGE) * cRanges); 5869 if (pAhciReq->u.Trim.paRanges) 5900 pAhciReq->u.Trim.paRanges[idxRange].offStart = (aRanges[idxRangeSrc] & AHCI_RANGE_LBA_MASK) * pAhciPort->cbSector; 5901 pAhciReq->u.Trim.paRanges[idxRange].cbRange = AHCI_RANGE_LENGTH_GET(aRanges[idxRangeSrc]) * pAhciPort->cbSector; 5929 RTMemFree(pAhciReq->u.Trim.paRanges); 6785 rc = pAhciPort->pDrvBlockAsync->pfnStartDiscard(pAhciPort->pDrvBlockAsync, pAhciReq->u.Trim.paRanges, 6820 rc = pAhciPort->pDrvBlock->pfnDiscard(pAhciPort->pDrvBlock, pAhciReq->u.Trim.paRanges,
|
| /vbox/src/VBox/Storage/Debug/ |
| H A D | VDDbgIoLog.cpp | 452 VBOXDDU_DECL(int) VDDbgIoLogStartDiscard(VDIOLOGGER hIoLogger, bool fAsync, PCRTRANGE paRanges, unsigned cRanges, argument 488 DiscardRange.u64Off = RT_H2LE_U64(paRanges[i].offStart); 489 DiscardRange.u32Discard = RT_H2LE_U32((uint32_t)paRanges[i].cbRange); 719 PRTRANGE paRanges = NULL; local 727 paRanges = (PRTRANGE)RTMemAllocZ(*pcRanges * sizeof(RTRANGE)); 728 if (paRanges) 737 paRanges[i].offStart = RT_LE2H_U64(DiscardRange.u64Off); 738 paRanges[i].cbRange = RT_LE2H_U32(DiscardRange.u32Discard); 744 *ppaRanges = paRanges;
|
| /vbox/src/VBox/Storage/testcase/ |
| H A D | tstVDIo.cpp | 1098 PRTRANGE paRanges = NULL; local 1119 paRanges = (PRTRANGE)RTMemAllocZ(cRanges * sizeof(RTRANGE)); 1120 if (!paRanges) 1229 paRanges[i].offStart = off; 1230 paRanges[i].cbRange = cb; 1237 rc = VDDiscardRanges(pDisk->pVD, paRanges, cRanges); 1250 rc = VDAsyncDiscardRanges(pDisk->pVD, paRanges, cRanges, tstVDIoTestReqComplete, &IoReq, EventSem); 1268 void *pv = RTMemAllocZ(paRanges[i].cbRange); 1275 SgSeg.cbSeg = paRanges[i].cbRange; 1277 rc = VDMemDiskWrite(pDisk->pMemDiskVerify, paRanges[ 1509 PRTRANGE paRanges = NULL; local [all...] |
| /vbox/src/VBox/Storage/ |
| H A D | VD.cpp | 402 PCRTRANGE paRanges; member in struct:VDIOCTX::__anon16785::__anon16787 1406 DECLINLINE(void) vdIoCtxDiscardInit(PVDIOCTX pIoCtx, PVBOXHDD pDisk, PCRTRANGE paRanges, argument 1422 pIoCtx->Req.Discard.paRanges = paRanges; 1435 DECLINLINE(PVDIOCTX) vdIoCtxDiscardAlloc(PVBOXHDD pDisk, PCRTRANGE paRanges, argument 1448 vdIoCtxDiscardInit(pIoCtx, pDisk, paRanges, cRanges, pfnComplete, pvUser1, 3390 PCRTRANGE paRanges = pIoCtx->Req.Discard.paRanges; local 3428 offStart = paRanges[pIoCtx->Req.Discard.idxRange].offStart; 3429 cbDiscardLeft = paRanges[pIoCt 10672 VDDiscardRanges(PVBOXHDD pDisk, PCRTRANGE paRanges, unsigned cRanges) argument 10691 ("paRanges=%#p\\n", paRanges), local 10930 VDAsyncDiscardRanges(PVBOXHDD pDisk, PCRTRANGE paRanges, unsigned cRanges, PFNVDASYNCTRANSFERCOMPLETE pfnComplete, void *pvUser1, void *pvUser2) argument [all...] |