Lines Matching refs:ctxs
1000 MpiEncMultiCtxInfo *ctxs = NULL; in enc_test_multi() local
1005 ctxs = mpp_calloc(MpiEncMultiCtxInfo, cmd->nthreads); in enc_test_multi()
1006 if (NULL == ctxs) { in enc_test_multi()
1012 ctxs[i].cmd = cmd; in enc_test_multi()
1013 ctxs[i].name = name; in enc_test_multi()
1014 ctxs[i].chn = i; in enc_test_multi()
1016 ret = pthread_create(&ctxs[i].thd, NULL, enc_test, &ctxs[i]); in enc_test_multi()
1031 ctxs[i].ctx.loop_end = 1; in enc_test_multi()
1035 pthread_join(ctxs[i].thd, NULL); in enc_test_multi()
1038 MpiEncMultiCtxRet *enc_ret = &ctxs[i].ret; in enc_test_multi()
1047 MPP_FREE(ctxs); in enc_test_multi()