Lines Matching refs:alcs_ctx
228 ALCSContext *alcs_ctx = (ALCSContext *)coap_malloc(sizeof(ALCSContext)); in alcs_context_create() local
229 alcs_ctx->ctx = CoAPContext_create(param); in alcs_context_create()
230 COAP_INFO("CoAPContext_create return :%p", alcs_ctx->ctx); in alcs_context_create()
231 alcs_ctx->loop = 0; in alcs_context_create()
232 alcs_ctx->inited = 0; in alcs_context_create()
234 list_add_tail(&alcs_ctx->lst, &context_head); in alcs_context_create()
235 return alcs_ctx->ctx; in alcs_context_create()
240 ALCSContext *alcs_ctx = get_context(ctx); in alcs_context_free() local
241 if (alcs_ctx) { in alcs_context_free()
242 CoAPContext_free(alcs_ctx->ctx); in alcs_context_free()
243 coap_free(alcs_ctx); in alcs_context_free()
318 ALCSContext *alcs_ctx = get_context(ctx); in alcs_start_loop() local
319 if (alcs_ctx && !alcs_ctx->loop) { in alcs_start_loop()
322 alcs_ctx, NULL, &stack_used)) { in alcs_start_loop()
323 thread_routine(alcs_ctx); in alcs_start_loop()
338 ALCSContext *alcs_ctx = get_context(ctx); in alcs_stop_loop() local
339 if (alcs_ctx) { in alcs_stop_loop()
340 alcs_ctx->loop = 0; in alcs_stop_loop()