Home
last modified time | relevance | path

Searched refs:dropped (Results 1 – 25 of 93) sorted by relevance

1234

/Zephyr-latest/tests/subsys/logging/log_blocking/src/
Dmain.c32 uint32_t dropped; member
129 static void dropped(const struct log_backend *const backend, uint32_t cnt) in dropped() function
131 mock_backend.dropped += cnt; in dropped()
138 .dropped = dropped,
155 TC_PRINT("Log backend dropped %u messages\n", mock_backend.dropped); in print_output()
206 zassert_equal(mock_backend.dropped, 0, "dropped %u / %u logs", mock_backend.dropped, in ZTEST()
/Zephyr-latest/tests/subsys/logging/log_stress/src/
Dmain.c27 uint32_t dropped; member
72 static void dropped(const struct log_backend *const backend, uint32_t cnt) in dropped() function
75 mock_backend.dropped += cnt; in dropped()
82 .dropped = IS_ENABLED(CONFIG_LOG_MODE_DEFERRED) ? dropped : NULL,
100 out_cnt += mock_backend.dropped; in validate()
102 zassert_equal(mock_backend.dropped, mock_backend.missing, in validate()
104 mock_backend.dropped, mock_backend.missing); in validate()
/Zephyr-latest/subsys/logging/backends/
Dlog_backend_semihost.c37 static void dropped(const struct log_backend *const backend, uint32_t cnt) in dropped() function
66 .dropped = IS_ENABLED(CONFIG_LOG_MODE_IMMEDIATE) ? NULL : dropped,
Dlog_backend_xtensa_sim.c61 static void dropped(const struct log_backend *const backend, uint32_t cnt) in dropped() function
71 .dropped = IS_ENABLED(CONFIG_LOG_MODE_IMMEDIATE) ? NULL : dropped,
Dlog_backend_adsp.c67 static inline void dropped(const struct log_backend *const backend, in dropped() function
93 .dropped = IS_ENABLED(CONFIG_LOG_MODE_IMMEDIATE) ? NULL : dropped,
Dlog_backend_efi_console.c73 static void dropped(const struct log_backend *const backend, uint32_t cnt) in dropped() function
84 .dropped = IS_ENABLED(CONFIG_LOG_MODE_IMMEDIATE) ? NULL : dropped,
Dlog_backend_native_posix.c66 static void dropped(const struct log_backend *const backend, uint32_t cnt) in dropped() function
92 .dropped = IS_ENABLED(CONFIG_LOG_MODE_IMMEDIATE) ? NULL : dropped,
Dlog_backend_spinel.c60 static void dropped(const struct log_backend *const backend, uint32_t cnt) in dropped() function
108 .dropped = IS_ENABLED(CONFIG_LOG_MODE_IMMEDIATE) ? NULL : dropped,
Dlog_backend_swo.c132 static void dropped(const struct log_backend *const backend, uint32_t cnt) in dropped() function
143 .dropped = IS_ENABLED(CONFIG_LOG_MODE_IMMEDIATE) ? NULL : dropped,
Dlog_multidomain_backend.c222 static void dropped(const struct log_backend *const backend, uint32_t cnt) in dropped() function
230 .dropped = { in dropped()
231 .dropped = cnt in dropped()
243 .dropped = dropped,
Dlog_backend_adsp_mtrace.c174 static void dropped(const struct log_backend *const backend, in dropped() function
211 .dropped = IS_ENABLED(CONFIG_LOG_MODE_IMMEDIATE) ? NULL : dropped,
Dlog_backend_rtt.c280 static void dropped(const struct log_backend *const backend, uint32_t cnt) in dropped() function
307 .dropped = IS_ENABLED(CONFIG_LOG_MODE_IMMEDIATE) ? NULL : dropped,
Dlog_backend_uart.c209 static void dropped(const struct log_backend *const backend, uint32_t cnt) in dropped() function
224 .dropped = IS_ENABLED(CONFIG_LOG_MODE_IMMEDIATE) ? NULL : dropped,
/Zephyr-latest/subsys/shell/
Dshell_log_backend.c60 uint32_t dropped; in z_shell_log_backend_process() local
64 dropped = atomic_set(&backend->control_block->dropped_cnt, 0); in z_shell_log_backend_process()
65 if (dropped) { in z_shell_log_backend_process()
73 log_output_dropped_process(backend->log_output, dropped); in z_shell_log_backend_process()
115 static void dropped(const struct log_backend *const backend, uint32_t cnt) in dropped() function
247 dropped(backend, 1); in process()
267 .dropped = dropped,
DKconfig.template.shell_log_queue_timeout9 dropped if queue is still full after requested time (-1 is forever).
DKconfig.template.shell_log_queue_size10 slow shell transport may lead to situations where logs are dropped
/Zephyr-latest/samples/net/capture/
DREADME.rst60 RX errors 0 dropped 0 overruns 0 frame 0
62 TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
69 RX errors 0 dropped 0 overruns 0 frame 0
71 TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
78 RX errors 0 dropped 0 overruns 0 frame 0
80 TX errors 8 dropped 8 overruns 0 carrier 8 collisions 0
87 RX errors 0 dropped 0 overruns 0 frame 0
89 TX errors 7 dropped 0 overruns 0 carrier 0 collisions 0
96 RX errors 0 dropped 0 overruns 0 frame 0
98 TX errors 7 dropped 7 overruns 0 carrier 0 collisions 0
/Zephyr-latest/subsys/logging/frontends/
Dlog_frontend_dict_uart.c43 struct log_frontend_uart_dropped_pkt *dropped; member
72 static atomic_t dropped; /* Counter storing number of dropped messages to be reported. */ variable
82 if (dropped != 0) { in timeout()
138 pkt = generic_pkt.dropped; in add_drop_msg()
147 pkt->data.num_dropped_messages = atomic_set(&dropped, 0); in add_drop_msg()
283 atomic_inc(&dropped); in log_frontend_msg()
Dlog_frontend_stmesp_demux.c73 uint32_t dropped; member
93 demux.dropped++; in notify_drop()
179 demux.dropped = 0; in log_frontend_stmesp_demux_init()
342 demux.dropped++; in garbage_collector()
508 demux.dropped++; in log_frontend_stmesp_demux_packet_start()
543 demux.dropped++; in log_frontend_stmesp_demux_packet_end()
555 uint32_t rv = demux.dropped; in log_frontend_stmesp_demux_get_dropped()
557 demux.dropped = 0; in log_frontend_stmesp_demux_get_dropped()
594 demux.dropped++; in log_frontend_stmesp_demux_reset()
/Zephyr-latest/include/zephyr/logging/
Dlog_backend.h67 void (*dropped)(const struct log_backend *const backend, uint32_t cnt); member
196 if (backend->api->dropped != NULL) { in log_backend_dropped()
197 backend->api->dropped(backend, cnt); in log_backend_dropped()
Dlog_multidomain_helper.h117 uint32_t dropped; member
129 struct log_multidomain_dropped dropped; member
/Zephyr-latest/doc/kernel/data_structures/
Dmpsc_pbuf.rst23 * **Overwrite** - oldest entries are dropped until requested amount of memory can
24 be allocated. For each dropped packet user callback is called.
72 If overwrite is enabled, oldest packets are dropped until requested amount of
73 space can be allocated. When packets are dropped ``busy`` flag is checked in the
76 are dropped. When busy packet is being freed, such situation is detected and
106 * Drop notification - callback called whenever a packet is dropped due to
/Zephyr-latest/tests/subsys/logging/log_benchmark/src/
Dmain.c59 static void dropped(struct log_backend const *const backend, uint32_t cnt) in dropped() function
69 .dropped = dropped,
/Zephyr-latest/tests/subsys/logging/log_api/src/
Dmock_backend.c211 static void dropped(const struct log_backend *const backend, uint32_t cnt) in dropped() function
235 .dropped = IS_ENABLED(CONFIG_LOG_MODE_IMMEDIATE) ? NULL : dropped,
/Zephyr-latest/drivers/ethernet/
DKconfig.dwmac50 dropped.
66 dropped packets.

1234