/vbox/src/VBox/Runtime/testcase/ |
H A D | tstRTReqPool.cpp | 73 PRTREQ hReq; local 74 RTTESTI_CHECK_RC_RETV(RTReqPoolAlloc(hPool, RTREQTYPE_INTERNAL, &hReq), VINF_SUCCESS); 75 RTTESTI_CHECK(RTReqRetain(hReq) == 2); 76 RTTESTI_CHECK(RTReqRelease(hReq) == 1); 77 RTTESTI_CHECK_RC(RTReqGetStatus(hReq), VERR_RT_REQUEST_STATUS_STILL_PENDING); 78 RTTESTI_CHECK(RTReqRelease(hReq) == 0);
|
/vbox/src/VBox/Runtime/common/misc/ |
H A D | req.cpp | 148 RTDECL(uint32_t) RTReqRetain(PRTREQ hReq) argument 150 PRTREQINT pReq = hReq; 178 RTDECL(uint32_t) RTReqRelease(PRTREQ hReq) argument 183 if (!hReq) 185 PRTREQINT pReq = hReq; 229 RTDECL(int) RTReqSubmit(PRTREQ hReq, RTMSINTERVAL cMillies) argument 231 LogFlow(("RTReqSubmit: hReq=%p cMillies=%d\n", hReq, cMillies)); 236 PRTREQINT pReq = hReq; 276 RTDECL(int) RTReqWait(PRTREQ hReq, RTMSINTERVA argument 325 RTReqGetStatus(PRTREQ hReq) argument [all...] |
H A D | aiomgr.cpp | 401 static void rtAioMgrReqComplete(PRTAIOMGRINT pThis, RTFILEAIOREQ hReq) argument 404 int rcReq = RTFileAioReqGetRC(hReq, &cbTransfered); 405 PRTAIOMGRREQ pReq = (PRTAIOMGRREQ)RTFileAioReqGetUser(hReq);
|
/vbox/include/iprt/ |
H A D | req.h | 532 * @param hReq The request handle. 534 RTDECL(uint32_t) RTReqRetain(PRTREQ hReq); variable 542 * @param hReq Package to release. 544 RTDECL(uint32_t) RTReqRelease(PRTREQ hReq); variable
|
H A D | file.h | 1261 * @param hReq The request handle. 1263 RTDECL(int) RTFileAioReqDestroy(RTFILEAIOREQ hReq); variable 1271 * @param hReq The request handle. 1279 RTDECL(int) RTFileAioReqPrepareRead(RTFILEAIOREQ hReq, RTFILE hFile, RTFOFF off, 1288 * @param hReq The request handle. 1296 RTDECL(int) RTFileAioReqPrepareWrite(RTFILEAIOREQ hReq, RTFILE hFile, RTFOFF off, 1305 * @param hReq The request handle. 1312 RTDECL(int) RTFileAioReqPrepareFlush(RTFILEAIOREQ hReq, RTFILE hFile, void *pvUser); 1320 * @param hReq The request handle. 1322 RTDECL(void *) RTFileAioReqGetUser(RTFILEAIOREQ hReq); variable 1335 RTDECL(int) RTFileAioReqCancel(RTFILEAIOREQ hReq); variable [all...] |
/vbox/src/VBox/Runtime/r3/freebsd/ |
H A D | fileaio-freebsd.cpp | 163 RTDECL(int) RTFileAioReqDestroy(RTFILEAIOREQ hReq) argument 168 if (hReq == NIL_RTFILEAIOREQ) 170 PRTFILEAIOREQINTERNAL pReqInt = hReq; 185 DECLINLINE(int) rtFileAioReqPrepareTransfer(RTFILEAIOREQ hReq, RTFILE hFile, argument 193 PRTFILEAIOREQINTERNAL pReqInt = hReq; 217 RTDECL(int) RTFileAioReqPrepareRead(RTFILEAIOREQ hReq, RTFILE hFile, RTFOFF off, argument 220 return rtFileAioReqPrepareTransfer(hReq, hFile, LIO_READ, 224 RTDECL(int) RTFileAioReqPrepareWrite(RTFILEAIOREQ hReq, RTFILE hFile, RTFOFF off, argument 227 return rtFileAioReqPrepareTransfer(hReq, hFile, LIO_WRITE, 231 RTDECL(int) RTFileAioReqPrepareFlush(RTFILEAIOREQ hReq, RTFIL argument 250 RTFileAioReqGetUser(RTFILEAIOREQ hReq) argument 258 RTFileAioReqCancel(RTFILEAIOREQ hReq) argument 289 RTFileAioReqGetRC(RTFILEAIOREQ hReq, size_t *pcbTransfered) argument [all...] |
/vbox/src/VBox/Runtime/r3/solaris/ |
H A D | fileaio-solaris.cpp | 132 RTDECL(int) RTFileAioReqDestroy(RTFILEAIOREQ hReq) argument 137 if (hReq == NIL_RTFILEAIOREQ) 139 PRTFILEAIOREQINTERNAL pReqInt = hReq; 154 DECLINLINE(int) rtFileAioReqPrepareTransfer(RTFILEAIOREQ hReq, RTFILE hFile, argument 162 PRTFILEAIOREQINTERNAL pReqInt = hReq; 183 RTDECL(int) RTFileAioReqPrepareRead(RTFILEAIOREQ hReq, RTFILE hFile, RTFOFF off, argument 186 return rtFileAioReqPrepareTransfer(hReq, hFile, LIO_READ, 190 RTDECL(int) RTFileAioReqPrepareWrite(RTFILEAIOREQ hReq, RTFILE hFile, RTFOFF off, argument 193 return rtFileAioReqPrepareTransfer(hReq, hFile, LIO_WRITE, 197 RTDECL(int) RTFileAioReqPrepareFlush(RTFILEAIOREQ hReq, RTFIL argument 216 RTFileAioReqGetUser(RTFILEAIOREQ hReq) argument 224 RTFileAioReqCancel(RTFILEAIOREQ hReq) argument 253 RTFileAioReqGetRC(RTFILEAIOREQ hReq, size_t *pcbTransfered) argument [all...] |
/vbox/src/VBox/Runtime/r3/win/ |
H A D | fileaio-win.cpp | 154 RTDECL(int) RTFileAioReqDestroy(RTFILEAIOREQ hReq) argument 159 if (hReq == NIL_RTFILEAIOREQ) 161 PRTFILEAIOREQINTERNAL pReqInt = hReq; 176 DECLINLINE(int) rtFileAioReqPrepareTransfer(RTFILEAIOREQ hReq, RTFILE hFile, argument 184 PRTFILEAIOREQINTERNAL pReqInt = hReq; 204 RTDECL(int) RTFileAioReqPrepareRead(RTFILEAIOREQ hReq, RTFILE hFile, RTFOFF off, argument 207 return rtFileAioReqPrepareTransfer(hReq, hFile, TRANSFERDIRECTION_READ, 211 RTDECL(int) RTFileAioReqPrepareWrite(RTFILEAIOREQ hReq, RTFILE hFile, RTFOFF off, argument 214 return rtFileAioReqPrepareTransfer(hReq, hFile, TRANSFERDIRECTION_WRITE, 218 RTDECL(int) RTFileAioReqPrepareFlush(RTFILEAIOREQ hReq, RTFIL argument 228 RTFileAioReqGetUser(RTFILEAIOREQ hReq) argument 236 RTFileAioReqCancel(RTFILEAIOREQ hReq) argument 256 RTFileAioReqGetRC(RTFILEAIOREQ hReq, size_t *pcbTransfered) argument [all...] |
/vbox/src/VBox/VMM/VMMR3/ |
H A D | PDMAsyncCompletionFileNormal.cpp | 49 static void pdmacFileAioMgrNormalReqCompleteRc(PPDMACEPFILEMGR pAioMgr, RTFILEAIOREQ hReq, 509 RTFILEAIOREQ hReq; local 513 hReq = pAioMgr->pahReqsFree[pAioMgr->iFreeEntry]; 515 Assert(hReq != NIL_RTFILEAIOREQ); 519 int rc = RTFileAioReqCreate(&hReq); 523 return hReq; 531 * @param hReq The I/O request handle to free. 533 static void pdmacFileAioMgrNormalRequestFree(PPDMACEPFILEMGR pAioMgr, RTFILEAIOREQ hReq) argument 538 pAioMgr->pahReqsFree[pAioMgr->iFreeEntry] = hReq; 571 Assert(pTask->hReq 796 RTFILEAIOREQ hReq = pdmacFileAioMgrNormalRequestAlloc(pAioMgr); local 882 RTFILEAIOREQ hReq = pdmacFileAioMgrNormalRequestAlloc(pAioMgr); local 1011 RTFILEAIOREQ hReq = pdmacFileAioMgrNormalRequestAlloc(pAioMgr); local 1049 RTFILEAIOREQ hReq = NIL_RTFILEAIOREQ; local 1332 pdmacFileAioMgrNormalReqComplete(PPDMACEPFILEMGR pAioMgr, RTFILEAIOREQ hReq) argument 1340 pdmacFileAioMgrNormalReqCompleteRc(PPDMACEPFILEMGR pAioMgr, RTFILEAIOREQ hReq, int rcReq, size_t cbTransfered) argument [all...] |
/vbox/src/VBox/Runtime/r3/linux/ |
H A D | fileaio-linux.cpp | 341 RTDECL(int) RTFileAioReqDestroy(RTFILEAIOREQ hReq) argument 346 if (hReq == NIL_RTFILEAIOREQ) 348 PRTFILEAIOREQINTERNAL pReqInt = hReq; 364 DECLINLINE(int) rtFileAioReqPrepareTransfer(RTFILEAIOREQ hReq, RTFILE hFile, argument 372 PRTFILEAIOREQINTERNAL pReqInt = hReq; 401 RTDECL(int) RTFileAioReqPrepareRead(RTFILEAIOREQ hReq, RTFILE hFile, RTFOFF off, argument 404 return rtFileAioReqPrepareTransfer(hReq, hFile, LNXKAIO_IOCB_CMD_READ, 409 RTDECL(int) RTFileAioReqPrepareWrite(RTFILEAIOREQ hReq, RTFILE hFile, RTFOFF off, argument 412 return rtFileAioReqPrepareTransfer(hReq, hFile, LNXKAIO_IOCB_CMD_WRITE, 417 RTDECL(int) RTFileAioReqPrepareFlush(RTFILEAIOREQ hReq, RTFIL argument 429 RTFileAioReqGetUser(RTFILEAIOREQ hReq) argument 438 RTFileAioReqCancel(RTFILEAIOREQ hReq) argument 466 RTFileAioReqGetRC(RTFILEAIOREQ hReq, size_t *pcbTransfered) argument [all...] |
/vbox/src/VBox/Runtime/r3/posix/ |
H A D | fileaio-posix.cpp | 370 RTDECL(int) RTFileAioReqDestroy(RTFILEAIOREQ hReq) argument 375 if (hReq == NIL_RTFILEAIOREQ) 377 PRTFILEAIOREQINTERNAL pReqInt = hReq; 392 DECLINLINE(int) rtFileAioReqPrepareTransfer(RTFILEAIOREQ hReq, RTFILE hFile, argument 400 PRTFILEAIOREQINTERNAL pReqInt = hReq; 424 RTDECL(int) RTFileAioReqPrepareRead(RTFILEAIOREQ hReq, RTFILE hFile, RTFOFF off, argument 427 return rtFileAioReqPrepareTransfer(hReq, hFile, LIO_READ, 432 RTDECL(int) RTFileAioReqPrepareWrite(RTFILEAIOREQ hReq, RTFILE hFile, RTFOFF off, argument 435 return rtFileAioReqPrepareTransfer(hReq, hFile, LIO_WRITE, 440 RTDECL(int) RTFileAioReqPrepareFlush(RTFILEAIOREQ hReq, RTFIL argument 461 RTFileAioReqGetUser(RTFILEAIOREQ hReq) argument 470 RTFileAioReqCancel(RTFILEAIOREQ hReq) argument 511 RTFileAioReqGetRC(RTFILEAIOREQ hReq, size_t *pcbTransfered) argument [all...] |
/vbox/src/VBox/Devices/USB/ |
H A D | VUSBDevice.cpp | 1631 PRTREQ hReq = NULL; local 1641 rc = RTReqQueueCallV(pDev->hReqQueueSync, &hReq, 0 /* cMillies */, fReqFlags, pfnFunction, cArgs, Args); 1648 rc = RTReqWait(hReq, RT_INDEFINITE_WAIT); 1651 RTReqRelease(hReq);
|
/vbox/src/VBox/VMM/include/ |
H A D | PDMAsyncCompletionFileInternal.h | 501 RTFILEAIOREQ hReq; member in struct:PDMACTASKFILE
|