Searched defs:cSegments (Results 1 - 10 of 10) sorted by relevance

/vbox/src/libs/kStuff/iprt/
H A DkRdrFile-iprt.cpp79 static int krdrRTFileUnmap(PKRDR pRdr, void *pvBase, KU32 cSegments, PCKLDRSEG paSegments);
80 static int krdrRTFileGenericUnmap(PKRDR pRdr, PKRDRFILEPREP pPrep, KU32 cSegments, PCKLDRSEG paSegments);
81 static int krdrRTFileProtect(PKRDR pRdr, void *pvBase, KU32 cSegments, PCKLDRSEG paSegments, KBOOL fUnprotectOrProtect);
82 static int krdrRTFileGenericProtect(PKRDR pRdr, PKRDRFILEPREP pPrep, KU32 cSegments, PCKLDRSEG paSegments, KBOOL fUnprotectOrProtect);
83 static int krdrRTFileRefresh(PKRDR pRdr, void *pvBase, KU32 cSegments, PCKLDRSEG paSegments);
84 static int krdrRTFileGenericRefresh(PKRDR pRdr, PKRDRFILEPREP pPrep, KU32 cSegments, PCKLDRSEG paSegments);
85 static int krdrRTFileMap(PKRDR pRdr, void **ppvBase, KU32 cSegments, PCKLDRSEG paSegments, KBOOL fFixed);
86 static int krdrRTFileGenericMap(PKRDR pRdr, PKRDRFILEPREP pPrep, KU32 cSegments, PCKLDRSEG paSegments, KBOOL fFixed);
152 static int krdrRTFileUnmap(PKRDR pRdr, void *pvBase, KU32 cSegments, PCKLDRSEG paSegments) argument
160 rc = krdrRTFileGenericUnmap(pRdr, pPrep, cSegments, paSegment
174 krdrRTFileGenericUnmap(PKRDR pRdr, PKRDRFILEPREP pPrep, KU32 cSegments, PCKLDRSEG paSegments) argument
183 krdrRTFileProtect(PKRDR pRdr, void *pvBase, KU32 cSegments, PCKLDRSEG paSegments, KBOOL fUnprotectOrProtect) argument
214 krdrRTFileGenericProtect(PKRDR pRdr, PKRDRFILEPREP pPrep, KU32 cSegments, PCKLDRSEG paSegments, KBOOL fUnprotectOrProtect) argument
273 krdrRTFileRefresh(PKRDR pRdr, void *pvBase, KU32 cSegments, PCKLDRSEG paSegments) argument
284 krdrRTFileGenericRefresh(PKRDR pRdr, PKRDRFILEPREP pPrep, KU32 cSegments, PCKLDRSEG paSegments) argument
337 krdrRTFileMap(PKRDR pRdr, void **ppvBase, KU32 cSegments, PCKLDRSEG paSegments, KBOOL fFixed) argument
383 krdrRTFileGenericMap(PKRDR pRdr, PKRDRFILEPREP pPrep, KU32 cSegments, PCKLDRSEG paSegments, KBOOL fFixed) argument
[all...]
/vbox/src/VBox/VMM/VMMR3/
H A DPDMAsyncCompletionFile.cpp387 PCRTSGSEG paSegments, size_t cSegments,
396 for (size_t i = 0; i < cSegments; i++)
1165 PCRTSGSEG paSegments, size_t cSegments,
1170 LogFlowFunc(("pTask=%#p pEndpoint=%#p off=%RTfoff paSegments=%#p cSegments=%zu cbRead=%zu\n",
1171 pTask, pEndpoint, off, paSegments, cSegments, cbRead));
1178 int rc = pdmacFileEpTaskInitiate(pTask, pEndpoint, off, paSegments, cSegments, cbRead,
1187 PCRTSGSEG paSegments, size_t cSegments,
1199 int rc = pdmacFileEpTaskInitiate(pTask, pEndpoint, off, paSegments, cSegments, cbWrite,
385 pdmacFileEpTaskInitiate(PPDMASYNCCOMPLETIONTASK pTask, PPDMASYNCCOMPLETIONENDPOINT pEndpoint, RTFOFF off, PCRTSGSEG paSegments, size_t cSegments, size_t cbTransfer, PDMACTASKFILETRANSFER enmTransfer) argument
1163 pdmacFileEpRead(PPDMASYNCCOMPLETIONTASK pTask, PPDMASYNCCOMPLETIONENDPOINT pEndpoint, RTFOFF off, PCRTSGSEG paSegments, size_t cSegments, size_t cbRead) argument
1185 pdmacFileEpWrite(PPDMASYNCCOMPLETIONTASK pTask, PPDMASYNCCOMPLETIONENDPOINT pEndpoint, RTFOFF off, PCRTSGSEG paSegments, size_t cSegments, size_t cbWrite) argument
H A DPDMAsyncCompletion.cpp1562 * @param cSegments Number of segments in the list.
1569 PCRTSGSEG paSegments, unsigned cSegments,
1576 AssertReturn(cSegments > 0, VERR_INVALID_PARAMETER);
1587 paSegments, cSegments, cbRead);
1609 * @param cSegments Number of segments in the list.
1616 PCRTSGSEG paSegments, unsigned cSegments,
1623 AssertReturn(cSegments > 0, VERR_INVALID_PARAMETER);
1634 paSegments, cSegments, cbWrite);
1568 PDMR3AsyncCompletionEpRead(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, RTFOFF off, PCRTSGSEG paSegments, unsigned cSegments, size_t cbRead, void *pvUser, PPPDMASYNCCOMPLETIONTASK ppTask) argument
1615 PDMR3AsyncCompletionEpWrite(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, RTFOFF off, PCRTSGSEG paSegments, unsigned cSegments, size_t cbWrite, void *pvUser, PPPDMASYNCCOMPLETIONTASK ppTask) argument
/vbox/src/VBox/VMM/testcase/
H A DtstPDMAsyncCompletionStress.cpp133 unsigned cSegments; member in struct:PDMACTESTFILE
431 pTestFile->cSegments = pTestFile->cbFileMax / pTestFile->cbFileSegment;
432 pTestFile->cSegments += ((pTestFile->cbFileMax % pTestFile->cbFileSegment) > 0) ? 1 : 0;
434 pTestFile->paSegs = (PPDMACTESTFILESEG)RTMemAllocZ(pTestFile->cSegments * sizeof(PDMACTESTFILESEG));
438 for (unsigned i = 0; i < pTestFile->cSegments; i++)
490 RTPrintf(TESTCASE ": Created test file %s cbFileMax=%llu cbFileSegment=%u cSegments=%u cTasksActiveMax=%u\n",
491 szFile, pTestFile->cbFileMax, pTestFile->cbFileSegment, pTestFile->cSegments, pTestFile->cTasksActiveMax);
/vbox/src/VBox/Runtime/common/ldr/
H A DldrkStuff.cpp319 static int rtkldrRdr_Map( PKRDR pRdr, void **ppvBase, KU32 cSegments, PCKLDRSEG paSegments, KBOOL fFixed) argument
322 NOREF(pRdr); NOREF(ppvBase); NOREF(cSegments); NOREF(paSegments); NOREF(fFixed);
329 static int rtkldrRdr_Refresh( PKRDR pRdr, void *pvBase, KU32 cSegments, PCKLDRSEG paSegments) argument
332 NOREF(pRdr); NOREF(pvBase); NOREF(cSegments); NOREF(paSegments);
339 static int rtkldrRdr_Protect( PKRDR pRdr, void *pvBase, KU32 cSegments, PCKLDRSEG paSegments, KBOOL fUnprotectOrProtect) argument
342 NOREF(pRdr); NOREF(pvBase); NOREF(cSegments); NOREF(paSegments); NOREF(fUnprotectOrProtect);
349 static int rtkldrRdr_Unmap( PKRDR pRdr, void *pvBase, KU32 cSegments, PCKLDRSEG paSegments) argument
352 NOREF(pRdr); NOREF(pvBase); NOREF(cSegments); NOREF(paSegments);
675 uint32_t const cSegments = pThis->pMod->cSegments; local
746 uint32_t const cSegments = pThis->pMod->cSegments; local
769 uint32_t const cSegments = pThis->pMod->cSegments; local
813 uint32_t const cSegments = pThis->pMod->cSegments; local
[all...]
/vbox/src/VBox/Devices/Storage/
H A DDrvVD.cpp518 PCRTSGSEG paSegments, size_t cSegments,
525 int rc = PDMR3AsyncCompletionEpRead(pStorageBackend->pEndpoint, uOffset, paSegments, (unsigned)cSegments, cbRead,
534 PCRTSGSEG paSegments, size_t cSegments,
541 int rc = PDMR3AsyncCompletionEpWrite(pStorageBackend->pEndpoint, uOffset, paSegments, (unsigned)cSegments, cbWrite,
517 drvvdAsyncIOReadAsync(void *pvUser, void *pStorage, uint64_t uOffset, PCRTSGSEG paSegments, size_t cSegments, size_t cbRead, void *pvCompletion, void **ppTask) argument
533 drvvdAsyncIOWriteAsync(void *pvUser, void *pStorage, uint64_t uOffset, PCRTSGSEG paSegments, size_t cSegments, size_t cbWrite, void *pvCompletion, void **ppTask) argument
/vbox/src/VBox/Storage/
H A DDMG.cpp115 uint32_t cSegments; /**< 0x03c - The number of segments. (fUDIFSegmentCount) */ member in struct:DMGUDIF
578 pUdif->cSegments = RT_BSWAP_U32(pUdif->cSegments);
660 DMG_VALIDATE(pFtr->cSegments <= 1, ("cSegments=%RU32\n", pFtr->cSegments));
661 DMG_VALIDATE(pFtr->iSegment == 0 || pFtr->iSegment == 1, ("iSegment=%RU32 cSegments=%RU32\n", pFtr->iSegment, pFtr->cSegments));
H A DVD.cpp4035 PCRTSGSEG paSegments, size_t cSegments,
4046 PCRTSGSEG paSegments, size_t cSegments,
4638 unsigned cSegments = 1; local
4646 cbTaskRead = RTSgBufSegArrayCreate(&pIoCtx->Req.Io.SgBuf, &Seg, &cSegments, cbRead);
4648 Assert(cSegments == 1);
4664 unsigned cSegments = VD_IO_TASK_SEGMENTS_MAX; local
4665 size_t cbTaskRead = RTSgBufSegArrayCreate(&pIoCtx->Req.Io.SgBuf, aSeg, &cSegments, cbRead);
4667 Assert(cSegments > 0);
4671 LogFlow(("Reading %u bytes into %u segments\n", cbTaskRead, cSegments));
4674 for (unsigned i = 0; i < cSegments;
4034 vdIOReadAsyncFallback(void *pvUser, void *pStorage, uint64_t uOffset, PCRTSGSEG paSegments, size_t cSegments, size_t cbRead, void *pvCompletion, void **ppTask) argument
4045 vdIOWriteAsyncFallback(void *pvUser, void *pStorage, uint64_t uOffset, PCRTSGSEG paSegments, size_t cSegments, size_t cbWrite, void *pvCompletion, void **ppTask) argument
4736 unsigned cSegments = 1; local
4762 unsigned cSegments = VD_IO_TASK_SEGMENTS_MAX; local
[all...]
H A DVMDK.cpp444 unsigned cSegments; member in struct:VMDKIMAGE
4663 unsigned cSegments = 1; local
4667 &cSegments, VMDK_SECTOR2BYTE(pExtent->cSectorsPerGrain));
4985 unsigned cSegments = 1; local
4988 &cSegments, cbWrite);
/vbox/src/VBox/Storage/testcase/
H A DtstVDIo.cpp2322 PCRTSGSEG paSegments, size_t cSegments,
2331 RTSgBufInit(&SgBuf, paSegments, cSegments);
2344 PCRTSGSEG paSegments, size_t cSegments,
2353 RTSgBufInit(&SgBuf, paSegments, cSegments);
2321 tstVDIoFileReadAsync(void *pvUser, void *pStorage, uint64_t uOffset, PCRTSGSEG paSegments, size_t cSegments, size_t cbRead, void *pvCompletion, void **ppTask) argument
2343 tstVDIoFileWriteAsync(void *pvUser, void *pStorage, uint64_t uOffset, PCRTSGSEG paSegments, size_t cSegments, size_t cbWrite, void *pvCompletion, void **ppTask) argument

Completed in 99 milliseconds