Searched refs:control_block (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/include/zephyr/logging/ |
D | log_output.h | 98 struct log_output_control_block *control_block; member 131 .control_block = &_name##_control_block, \ 217 log_output_write(output->func, output->buf, output->control_block->offset, in log_output_flush() 218 output->control_block->ctx); in log_output_flush() 219 output->control_block->offset = 0; in log_output_flush() 230 output->control_block->ctx = ctx; in log_output_ctx_set() 241 output->control_block->hostname = hostname; in log_output_hostname_set()
|
/Zephyr-latest/subsys/logging/ |
D | log_output_dict.c | 32 (void *)output->control_block->ctx); in log_dict_output_msg_process() 38 log_output_write(output->func, data, len, (void *)output->control_block->ctx); in log_dict_output_msg_process() 43 log_output_write(output->func, data, len, (void *)output->control_block->ctx); in log_dict_output_msg_process() 57 (void *)output->control_block->ctx); in log_dict_output_dropped_process()
|
D | log_output.c | 103 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() 111 idx = atomic_inc(&out_ctx->control_block->offset); in out_func() 114 __ASSERT_NO_MSG(out_ctx->control_block->offset <= out_ctx->size); in out_func() 457 output->control_block->hostname ? in syslog_print() 458 output->control_block->hostname : in syslog_print() 715 log_output_write(outf, (uint8_t *)prefix, sizeof(prefix) - 1, output->control_block->ctx); in log_output_dropped_process() 716 log_output_write(outf, buf, len, output->control_block->ctx); in log_output_dropped_process() 717 log_output_write(outf, (uint8_t *)postfix, sizeof(postfix) - 1, output->control_block->ctx); in log_output_dropped_process()
|
D | log_output_syst.c | 42 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()
|
D | log_cmds.c | 62 (sh->log_backend->control_block->state == SHELL_LOG_BACKEND_UNINIT)) { in shell_state_precheck()
|
/Zephyr-latest/subsys/shell/ |
D | shell_log_backend.c | 45 backend->control_block->dropped_cnt = 0; in z_shell_log_backend_enable() 46 backend->control_block->state = SHELL_LOG_BACKEND_ENABLED; in z_shell_log_backend_enable() 53 backend->control_block->state = SHELL_LOG_BACKEND_DISABLED; in z_shell_log_backend_disable() 64 dropped = atomic_set(&backend->control_block->dropped_cnt, 0); in z_shell_log_backend_process() 95 sh->log_backend->control_block->state = in panic() 123 atomic_add(&log_backend->control_block->dropped_cnt, cnt); in dropped() 236 switch (sh->log_backend->control_block->state) { in process()
|
/Zephyr-latest/include/zephyr/shell/ |
D | shell_log_backend.h | 39 struct shell_log_backend_control_block *control_block; member 88 .control_block = &_name##_control_block, \
|
/Zephyr-latest/subsys/logging/backends/ |
D | log_backend_ws.c | 179 struct log_backend_ws_ctx *ctx = log_output_ws.control_block->ctx; in log_backend_ws_register() 188 struct log_backend_ws_ctx *ctx = log_output_ws.control_block->ctx; in log_backend_ws_unregister()
|
D | log_backend_net.c | 233 struct log_backend_net_ctx *ctx = log_output_net.control_block->ctx; in check_net_init_done()
|