Lines Matching refs:log_backend
83 static void panic(const struct log_backend *const backend) in panic()
95 sh->log_backend->control_block->state = in panic()
111 z_shell_log_backend_disable(sh->log_backend); in panic()
115 static void dropped(const struct log_backend *const backend, uint32_t cnt) in dropped()
118 const struct shell_log_backend *log_backend = sh->log_backend; in dropped() local
123 atomic_add(&log_backend->control_block->dropped_cnt, cnt); in dropped()
206 const struct shell_log_backend *log_backend = sh->log_backend; in process_msg_from_buffer() local
207 struct mpsc_pbuf_buffer *mpsc_buffer = log_backend->mpsc_buffer; in process_msg_from_buffer()
208 const struct log_output *log_output = log_backend->log_output; in process_msg_from_buffer()
225 static void process(const struct log_backend *const backend, in process()
229 const struct shell_log_backend *log_backend = sh->log_backend; in process() local
230 struct mpsc_pbuf_buffer *mpsc_buffer = log_backend->mpsc_buffer; in process()
231 const struct log_output *log_output = log_backend->log_output; in process()
236 switch (sh->log_backend->control_block->state) { in process()
241 if (copy_to_pbuffer(mpsc_buffer, msg, log_backend->timeout)) { in process()