Lines Matching defs:g_asTestWPut

716 } g_asTestWPut[] =
752 for (i = 0; i < RT_ELEMENTS(g_asTestWPut); ++i)
754 AssertReturnVoid(g_asTestWPut[i].cbDataIn <= g_asTestWPut[i].cbData);
755 AssertReturnVoid(g_asTestWPut[i].cbDataOut <= g_asTestWPut[i].cbData);
757 if (g_asTestWPut[i].fCanTransparent)
759 if (g_asTestWPut[i].fCanTransparent && g_asTestWPut[i].cbDataIn)
761 if (g_asTestWPut[i].fCanTransparent && g_asTestWPut[i].cbDataOut)
789 pIOCBlk->ioc_cmd = g_asTestWPut[i].iIOCCmd;
790 pIOCBlk->ioc_count = g_asTestWPut[i].cbData;
791 AssertReturnVoid(g_asTestWPut[i].cbData <= MSG_DATA_SIZE);
792 memcpy(pMBlkCont->b_rptr, g_asTestWPut[i].pvDataIn,
793 g_asTestWPut[i].cbDataIn);
796 RTTEST_CHECK_MSG(hTest, pIOCBlk->ioc_error == g_asTestWPut[i].rcExp,
799 RTTEST_CHECK_MSG(hTest, pIOCBlk->ioc_count == g_asTestWPut[i].cbDataOut,
802 g_asTestWPut[i].pvDataOut,
803 g_asTestWPut[i].cbDataOut),
806 if (g_asTestWPut[i].cbData > 0)
808 if (!g_asTestWPut[i].rcExp)
811 if (g_asTestWPut[i].pfnExtra)
812 if (!g_asTestWPut[i].pfnExtra(hTest, WR(&aQueues[0]), pMBlk))
834 /* if (g_asTestWPut[i].cbDataIn == 0 && g_asTestWPut[i].cbDataOut != 0)
845 pIOCBlk->ioc_cmd = g_asTestWPut[i].iIOCCmd;
851 RTTEST_CHECK_MSG(hTest, ( ( g_asTestWPut[i].cbDataIn
853 || ( g_asTestWPut[i].cbDataOut
855 || ( (g_asTestWPut[i].rcExp == 0)
863 RTTEST_CHECK_MSG(hTest, pIOCBlk->ioc_error == g_asTestWPut[i].rcExp,
866 if (g_asTestWPut[i].cbData)
871 == g_asTestWPut[i].cbDataIn
872 ? g_asTestWPut[i].cbDataIn
873 : g_asTestWPut[i].cbDataOut,
879 if (g_asTestWPut[i].cbDataIn && g_asTestWPut[i].cbDataOut)
888 if (!g_asTestWPut[i].rcExp)
891 if (g_asTestWPut[i].pfnExtra && !g_asTestWPut[i].cbData)
892 if (!g_asTestWPut[i].pfnExtra(hTest, WR(&aQueues[0]), pMBlk))
918 AssertReturnVoidStmt(g_asTestWPut[i].cbDataIn, freemsg(pMBlk));
926 pCopyResp->cp_cmd = g_asTestWPut[i].iIOCCmd;
927 if (g_asTestWPut[i].cbDataOut)
929 AssertReturnVoid(g_asTestWPut[i].cbData <= MSG_DATA_SIZE);
930 memcpy(pMBlkCont->b_rptr, g_asTestWPut[i].pvDataIn, g_asTestWPut[i].cbDataIn);
934 RTTEST_CHECK_MSG(hTest, ( ( g_asTestWPut[i].cbDataOut
936 || ( (g_asTestWPut[i].rcExp == 0)
941 if (g_asTestWPut[i].cbDataOut)
945 RTTEST_CHECK_MSG(hTest, pCopyReq->cq_size == g_asTestWPut[i].cbData,
948 RTTEST_CHECK_MSG(hTest, !memcmp(pvData, g_asTestWPut[i].pvDataOut,
949 g_asTestWPut[i].cbDataOut),
955 if (!g_asTestWPut[i].rcExp)
958 if (g_asTestWPut[i].pfnExtra && !g_asTestWPut[i].cbDataOut)
959 if (!g_asTestWPut[i].pfnExtra(hTest, WR(&aQueues[0]), pMBlk))
979 AssertReturnVoidStmt(g_asTestWPut[i].cbDataOut, freemsg(pMBlk));
989 pCopyResp->cp_cmd = g_asTestWPut[i].iIOCCmd;
994 if (!g_asTestWPut[i].rcExp)