Lines Matching defs:pGlob

530 static int tstVDIoTestInit(PVDIOTEST pIoTest, PVDTESTGLOB pGlob, bool fRandomAcc, uint64_t cbIo,
539 static PVDDISK tstVDIoGetDiskByName(PVDTESTGLOB pGlob, const char *pcszDisk);
540 static PVDPATTERN tstVDIoGetPatternByName(PVDTESTGLOB pGlob, const char *pcszName);
547 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
586 pDisk = tstVDIoGetDiskByName(pGlob, pcszDisk);
604 NULL, fOpenFlags, pGlob->pInterfacesImages, NULL);
607 fOpenFlags, pGlob->pInterfacesImages, NULL);
619 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
643 pDisk = tstVDIoGetDiskByName(pGlob, pcszDisk);
661 rc = VDOpen(pDisk->pVD, pcszBackend, pcszImage, fOpenFlags, pGlob->pInterfacesImages);
673 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
715 pDisk = tstVDIoGetDiskByName(pGlob, pcszDisk);
737 pPattern = tstVDIoGetPatternByName(pGlob, pcszPattern);
746 RTTestSub(pGlob->hTest, "Basic I/O");
747 rc = tstVDIoTestInit(&IoTest, pGlob, fRandomAcc, cbIo, cbBlkSize, offStart, offEnd, uWriteChance, pPattern);
805 RTTestFailed(pGlob->hTest, "Corrupted disk at offset %llu!\n", paIoReq[idx].off);
884 RTTestFailed(pGlob->hTest, "Corrupted disk at offset %llu!\n", paIoReq[idx].off);
958 RTTestValue(pGlob->hTest, "Throughput", SpeedKBs, RTTESTUNIT_KILOBYTES_PER_SEC);
974 RTTestSubDone(pGlob->hTest);
983 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
993 pDisk = tstVDIoGetDiskByName(pGlob, pcszDisk);
1030 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
1040 pDisk = tstVDIoGetDiskByName(pGlob, pcszDisk);
1057 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
1065 pDisk = tstVDIoGetDiskByName(pGlob, pcszDisk);
1082 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
1092 pDisk = tstVDIoGetDiskByName(pGlob, pcszDisk);
1299 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
1322 pDiskFrom = tstVDIoGetDiskByName(pGlob, pcszDiskFrom);
1323 pDiskTo = tstVDIoGetDiskByName(pGlob, pcszDiskTo);
1334 NULL, pGlob->pInterfacesImages, NULL);
1343 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
1370 pDisk = tstVDIoGetDiskByName(pGlob, pcszDisk);
1388 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
1396 pDisk = tstVDIoGetDiskByName(pGlob, pcszDisk);
1410 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
1418 pDisk = tstVDIoGetDiskByName(pGlob, pcszDisk);
1563 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
1572 if (pGlob->pIoRnd)
1597 rc = VDIoRndCreate(&pGlob->pIoRnd, cbPattern, uSeed);
1605 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
1607 if (pGlob->pIoRnd)
1609 VDIoRndDestroy(pGlob->pIoRnd);
1610 pGlob->pIoRnd = NULL;
1621 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
1630 PVDPATTERN pPattern = tstVDIoGetPatternByName(pGlob, pcszName);
1647 RTListAppend(&pGlob->ListPatterns, &pPattern->ListNode);
1661 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
1668 PVDPATTERN pPattern = tstVDIoGetPatternByName(pGlob, pcszName);
1685 RTListAppend(&pGlob->ListPatterns, &pPattern->ListNode);
1708 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
1713 PVDPATTERN pPattern = tstVDIoGetPatternByName(pGlob, pcszName);
1739 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
1749 RTListForEach(&pGlob->ListFiles, pIt, VDFILE, Node)
1773 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
1781 pDisk = tstVDIoGetDiskByName(pGlob, pcszDisk);
1789 pDisk->pTestGlob = pGlob;
1808 rc = VDCreate(pGlob->pInterfacesDisk, VDTYPE_HDD, &pDisk->pVD);
1811 RTListAppend(&pGlob->ListDisks, &pDisk->ListNode);
1838 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
1844 pDisk = tstVDIoGetDiskByName(pGlob, pcszDisk);
1866 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
1875 pDisk1 = tstVDIoGetDiskByName(pGlob, pcszDisk1);
1876 pDisk2 = tstVDIoGetDiskByName(pGlob, pcszDisk2);
1890 RTTestSub(pGlob->hTest, "Comparing two disks for equal content");
1892 RTTestFailed(pGlob->hTest, "Disks differ in size %llu vs %llu\n", cbDisk1, cbDisk2);
1907 RTTestFailed(pGlob->hTest, "Disks differ at offset %llu\n", uOffCur);
1914 RTTestFailed(pGlob->hTest, "Reading one disk at offset %llu failed\n", uOffCur);
1943 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
1949 pDisk = tstVDIoGetDiskByName(pGlob, pcszDisk);
1968 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
1974 RTListForEach(&pGlob->ListFiles, pIt, VDFILE, Node)
2001 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
2007 RTListForEach(&pGlob->ListFiles, pIt, VDFILE, Node)
2035 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
2040 pDisk = tstVDIoGetDiskByName(pGlob, pcszDisk);
2054 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
2057 RTStrFree(pGlob->pszIoBackend);
2058 pGlob->pszIoBackend = RTStrDup(pcszBackend);
2059 if (!pGlob->pszIoBackend)
2071 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
2086 RTListForEach(&pGlob->ListFiles, pIt, VDFILE, Node)
2110 rc = VDIoBackendStorageCreate(pGlob->pIoBackend, pGlob->pszIoBackend,
2123 RTListAppend(&pGlob->ListFiles, &pIt->Node);
2163 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
2178 RTListForEach(&pGlob->ListFiles, pIt, VDFILE, Node)
2203 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
2208 RTListForEach(&pGlob->ListFiles, pIt, VDFILE, Node)
2327 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
2349 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
2369 PVDTESTGLOB pGlob = (PVDTESTGLOB)pvUser;
2383 static int tstVDIoTestInit(PVDIOTEST pIoTest, PVDTESTGLOB pGlob, bool fRandomAcc, uint64_t cbIo,
2396 pIoTest->pIoRnd = pGlob->pIoRnd;
2592 * @param pGlob Global test state.
2595 static PVDDISK tstVDIoGetDiskByName(PVDTESTGLOB pGlob, const char *pcszDisk)
2600 LogFlowFunc(("pGlob=%#p pcszDisk=%s\n", pGlob, pcszDisk));
2602 RTListForEach(&pGlob->ListDisks, pIt, VDDISK, ListNode)
2620 * @param pGlob Global test state.
2623 static PVDPATTERN tstVDIoGetPatternByName(PVDTESTGLOB pGlob, const char *pcszName)
2628 LogFlowFunc(("pGlob=%#p pcszName=%s\n", pGlob, pcszName));
2630 RTListForEach(&pGlob->ListPatterns, pIt, VDPATTERN, ListNode)