Lines Matching refs:ctxs
1302 MpiEncMultiCtxInfo *ctxs = NULL; in enc_test_multi() local
1307 ctxs = mpp_calloc(MpiEncMultiCtxInfo, cmd->nthreads); in enc_test_multi()
1308 if (NULL == ctxs) { in enc_test_multi()
1314 ctxs[i].cmd = cmd; in enc_test_multi()
1315 ctxs[i].name = name; in enc_test_multi()
1316 ctxs[i].chn = i; in enc_test_multi()
1318 ret = pthread_create(&ctxs[i].thd, NULL, enc_test, &ctxs[i]); in enc_test_multi()
1333 ctxs[i].ctx.loop_end = 1; in enc_test_multi()
1337 pthread_join(ctxs[i].thd, NULL); in enc_test_multi()
1340 MpiEncMultiCtxRet *enc_ret = &ctxs[i].ret; in enc_test_multi()
1349 MPP_FREE(ctxs); in enc_test_multi()