Searched refs:out_ctx (Results 1 – 2 of 2) sorted by relevance
95 const struct log_output *out_ctx = (const struct log_output *)ctx; in out_func() local103 out_ctx->func((uint8_t *)&x, 1, out_ctx->control_block->ctx); in out_func()107 if (out_ctx->control_block->offset == out_ctx->size) { in out_func()108 log_output_flush(out_ctx); in out_func()111 idx = atomic_inc(&out_ctx->control_block->offset); in out_func()112 out_ctx->buf[idx] = (uint8_t)c; in out_func()114 __ASSERT_NO_MSG(out_ctx->control_block->offset <= out_ctx->size); in out_func()
40 const struct log_output *out_ctx = (const struct log_output *)ctx; in out_func() local42 out_ctx->buf[out_ctx->control_block->offset] = (uint8_t)c; in out_func()43 out_ctx->control_block->offset++; in out_func()45 __ASSERT_NO_MSG(out_ctx->control_block->offset <= out_ctx->size); in out_func()47 if (out_ctx->control_block->offset == out_ctx->size) { in out_func()48 log_output_flush(out_ctx); in out_func()