Lines Matching refs:g_logctx
64 struct log_thread_context *g_logctx[MAX_CPUS] = {0}; variable
1217 mtcp->sp_fd = g_logctx[ctx->cpu]->pair_sp_fd; in InitializeMTCPManager()
1218 mtcp->logger = g_logctx[ctx->cpu]; in InitializeMTCPManager()
1382 if (g_logctx[cpu] != NULL) { in mtcp_create_context()
1409 g_logctx[cpu] = (struct log_thread_context *) in mtcp_create_context()
1411 if (!g_logctx[cpu]) { in mtcp_create_context()
1416 InitLogThreadContext(g_logctx[cpu], cpu); in mtcp_create_context()
1418 NULL, ThreadLogMain, (void *)g_logctx[cpu])) { in mtcp_create_context()
1614 if (g_logctx[mctx->cpu]) { in mtcp_free_context()
1615 free(g_logctx[mctx->cpu]); in mtcp_free_context()
1616 g_logctx[mctx->cpu] = NULL; in mtcp_free_context()