Searched defs:paSegs (Results 1 - 12 of 12) sorted by relevance

/vbox/src/VBox/Debugger/
H A DDBGPlugInCommonELF.cpp56 * @param paSegs Array of segment indexes and load addresses.
59 static int dbgDiggerCommonLinkElfSegs(RTDBGAS hAs, RTDBGMOD hMod, PDBGDIGGERELFSEG paSegs, uint32_t cSegs) argument
62 if (paSegs[i].iSeg != NIL_RTDBGSEGIDX)
64 int rc = RTDbgAsModuleLinkSeg(hAs, hMod, paSegs[i].iSeg, paSegs[i].uLoadAddr, RTDBGASLINK_FLAGS_REPLACE);
H A DDBGPlugInCommonELFTmpl.cpp.h192 PDBGDIGGERELFSEG paSegs = (PDBGDIGGERELFSEG)alloca(sizeof(paSegs[0]) * cSegs); local
195 paSegs[i].uLoadAddr = RTGCPTR_MAX;
196 paSegs[i].uLastAddr = 0;
197 paSegs[i].iSeg = NIL_RTDBGSEGIDX;
229 if (Address < paSegs[iSh].uLoadAddr)
230 paSegs[iSh].uLoadAddr = Address;
231 if (AddressLast > paSegs[iSh].uLastAddr)
232 paSegs[iSh].uLastAddr = AddressLast;
239 if (paSegs[
[all...]
/vbox/src/VBox/NetworkServices/NetLib/
H A DVBoxNetIntIf.cpp57 * @param paSegs The segments.
59 static void vboxnetIntIfCopySG(void *pvFrame, size_t cSegs, PCINTNETSEG paSegs) argument
64 memcpy(pbDst, paSegs[iSeg].pv, paSegs[iSeg].cb);
65 pbDst += paSegs[iSeg].cb;
77 * @param paSegs The segments.
79 int VBoxNetIntIfRingWriteFrame(PINTNETBUF pBuf, PINTNETRINGBUF pRingBuf, size_t cSegs, PCINTNETSEG paSegs) argument
86 AssertPtr(paSegs);
94 cbFrame += paSegs[iSeg].cb;
105 vboxnetIntIfCopySG(pvFrame, cSegs, paSegs);
125 VBoxNetIntIfSend(PSUPDRVSESSION pSession, INTNETIFHANDLE hIf, PINTNETBUF pBuf, size_t cSegs, PCINTNETSEG paSegs, bool fFlush) argument
[all...]
/vbox/include/iprt/
H A Dsg.h58 PCRTSGSEG paSegs; member in struct:RTSGBUF
80 * @param paSegs Pointer to the start of the segment array.
83 RTDECL(void) RTSgBufInit(PRTSGBUF pSgBuf, PCRTSGSEG paSegs, size_t cSegs);
278 (paMapped)[i].pvBufField = (TypeBufPtr)(pSgBuf)->paSegs[(pSgBuf)->idxSeg + i].pvSeg; \
279 (paMapped)[i].cbBufField = (TypeBufSize)(pSgBuf)->paSegs[(pSgBuf)->idxSeg + i].cbSeg; \
/vbox/src/VBox/Devices/Samples/
H A DDrvStorageFilter.cpp92 PCRTSGSEG paSegs, unsigned cSegs, size_t cbRead, void *pvUser)
95 int rc = pThis->pIMediaAsyncBelow->pfnStartRead(pThis->pIMediaAsyncBelow, off, paSegs, cSegs, cbRead, pvUser);
101 PCRTSGSEG paSegs, unsigned cSegs, size_t cbWrite, void *pvUser)
104 int rc = pThis->pIMediaAsyncBelow->pfnStartWrite(pThis->pIMediaAsyncBelow, off, paSegs, cSegs, cbWrite, pvUser);
91 drvStorageFltIMediaAsync_StartRead(PPDMIMEDIAASYNC pInterface, uint64_t off, PCRTSGSEG paSegs, unsigned cSegs, size_t cbRead, void *pvUser) argument
100 drvStorageFltIMediaAsync_StartWrite(PPDMIMEDIAASYNC pInterface, uint64_t off, PCRTSGSEG paSegs, unsigned cSegs, size_t cbWrite, void *pvUser) argument
/vbox/src/VBox/Runtime/common/dbg/
H A Ddbgmod.cpp1331 uint32_t cSegs, PCRTDBGSEGMENT paSegs, PCRTUUID pUuid, RTDBGCFG hDbgCfg)
1366 RTLDRARCH enmArch, uint32_t cbImage, uint32_t cSegs, PCRTDBGSEGMENT paSegs,
1382 AssertPtrReturn(paSegs, VERR_INVALID_POINTER);
1427 rc = rtDbgModFromMachOImageWorker(pDbgMod, enmArch, cbImage, cSegs, paSegs, pUuid, hDbgCfg);
1443 memcpy(&pDeferred->u.MachO.aSegs, paSegs, cSegs * sizeof(paSegs[0]));
1330 rtDbgModFromMachOImageWorker(PRTDBGMODINT pDbgMod, RTLDRARCH enmArch, uint32_t cbImage, uint32_t cSegs, PCRTDBGSEGMENT paSegs, PCRTUUID pUuid, RTDBGCFG hDbgCfg) argument
1365 RTDbgModCreateFromMachOImage(PRTDBGMOD phDbgMod, const char *pszFilename, const char *pszName, RTLDRARCH enmArch, uint32_t cbImage, uint32_t cSegs, PCRTDBGSEGMENT paSegs, PCRTUUID pUuid, RTDBGCFG hDbgCfg, uint32_t fFlags) argument
H A Ddbgmodcontainer.cpp132 PRTDBGMODCTNSEGMENT paSegs; member in struct:RTDBGMODCTN
186 AssertMsgReturn(off < pThis->paSegs[iSeg].cb,
187 ("off=%RTptr cbSeg=%RTptr\n", off, pThis->paSegs[iSeg].cb),
193 PAVLUINTPTRNODECORE pAvlCore = RTAvlUIntPtrGetBestFit(&pThis->paSegs[iSeg].LineAddrTree, off, false /*fAbove*/);
257 AssertMsgReturn(off < pThis->paSegs[iSeg].cb, ("off=%RTptr cbSeg=%RTptr\n", off, pThis->paSegs[iSeg].cb),
278 if (RTAvlUIntPtrInsert(&pThis->paSegs[iSeg].LineAddrTree, &pLine->AddrCore))
289 RTAvlUIntPtrRemove(&pThis->paSegs[iSeg].LineAddrTree, pLine->AddrCore.Key);
321 || off <= pThis->paSegs[iSeg].cb,
322 ("off=%RTptr cbSeg=%RTptr\n", off, pThis->paSegs[iSe
[all...]
H A Ddbgmodcodeview.cpp922 PCRTCVMODSEGINFO32 paSegs = (PCRTCVMODSEGINFO32)uCursor.pv; local
924 Log2((" #%02u: %04x:%08x LB %08x\n", iSeg, paSegs[iSeg].iSeg, paSegs[iSeg].off, paSegs[iSeg].cb));
H A Ddbgmoddwarf.cpp480 /** The number of segments in paSegs.
484 PRTDBGDWARFSEG paSegs; member in struct:RTDBGMODDWARF
1284 PRTDBGDWARFSEG paSegs = pThis->paSegs; local
1286 && paSegs[iSeg].uSegment == uSeg)
1287 return &paSegs[iSeg];
1290 if (uSeg == paSegs[iSeg].uSegment)
1293 return &paSegs[iSeg];
1314 PRTDBGDWARFSEG paSegs = pThis->paSegs; local
1362 PRTDBGDWARFSEG paSegs = pThis->paSegs; local
[all...]
/vbox/src/VBox/Runtime/common/misc/
H A Dsg.cpp52 && (uintptr_t)pSgBuf->pvSegCur >= (uintptr_t)pSgBuf->paSegs[pSgBuf->idxSeg].pvSeg
53 && (uintptr_t)pSgBuf->pvSegCur + pSgBuf->cbSegLeft <= (uintptr_t)pSgBuf->paSegs[pSgBuf->idxSeg].pvSeg + pSgBuf->paSegs[pSgBuf->idxSeg].cbSeg,
54 ("pSgBuf->idxSeg=%d pSgBuf->cSegs=%d pSgBuf->pvSegCur=%p pSgBuf->cbSegLeft=%zd pSgBuf->paSegs[%d].pvSeg=%p pSgBuf->paSegs[%d].cbSeg=%zd\n",
56 pSgBuf->idxSeg, pSgBuf->paSegs[pSgBuf->idxSeg].pvSeg, pSgBuf->idxSeg, pSgBuf->paSegs[pSgBuf->idxSeg].cbSeg));
70 pSgBuf->pvSegCur = pSgBuf->paSegs[pSgBuf->idxSeg].pvSeg;
71 pSgBuf->cbSegLeft = pSgBuf->paSegs[pSgBuf->idxSeg].cbSeg;
83 RTDECL(void) RTSgBufInit(PRTSGBUF pSgBuf, PCRTSGSEG paSegs, size_ argument
[all...]
/vbox/src/VBox/VMM/testcase/
H A DtstPDMAsyncCompletionStress.cpp138 PPDMACTESTFILESEG paSegs; member in struct:PDMACTESTFILE
170 PPDMACTESTFILESEG pSeg = &pTestFile->paSegs[iSeg];
210 PPDMACTESTFILESEG pSeg = &pTestFile->paSegs[iSeg];
434 pTestFile->paSegs = (PPDMACTESTFILESEG)RTMemAllocZ(pTestFile->cSegments * sizeof(PDMACTESTFILESEG));
435 if (pTestFile->paSegs)
440 PPDMACTESTFILESEG pSeg = &pTestFile->paSegs[i];
509 RTMemFree(pTestFile->paSegs);
542 RTMemFree(pTestFile->paSegs);
/vbox/src/VBox/Runtime/r3/
H A Dsocket.cpp1101 paMsg[i].buf = (char *)pSgBuf->paSegs[i].pvSeg;
1102 paMsg[i].len = (u_long)pSgBuf->paSegs[i].cbSeg;
1127 paMsg[i].iov_base = pSgBuf->paSegs[i].pvSeg;
1128 paMsg[i].iov_len = pSgBuf->paSegs[i].cbSeg;
1168 PRTSGSEG paSegs = (PRTSGSEG)alloca(cSegs * sizeof(RTSGSEG)); local
1169 AssertReturn(paSegs, VERR_NO_TMP_MEMORY);
1172 paSegs[i].pvSeg = va_arg(va, void *);
1173 paSegs[i].cbSeg = va_arg(va, size_t);
1177 RTSgBufInit(&SgBuf, paSegs, cSegs);
1371 PRTSGSEG paSegs local
[all...]

Completed in 68 milliseconds