Home
last modified time | relevance | path

Searched refs:active_cnt (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/subsys/logging/frontends/
Dlog_frontend_dict_uart.c71 static atomic_t active_cnt; /* Counts number of buffered messages. */ variable
116 atomic_dec(&active_cnt); in tx()
150 return atomic_inc(&active_cnt); in add_drop_msg()
167 atomic_val_t rem_pkts = atomic_dec(&active_cnt); in uart_callback()
216 active_cnt--; in uart_isr_callback()
217 if (active_cnt == 0) { in uart_isr_callback()
306 if (dev_ready && (atomic_inc(&active_cnt) == 0)) { in log_frontend_msg()
316 while (atomic_get(&active_cnt) > 0) { in log_frontend_panic()
/Zephyr-latest/subsys/testsuite/ztest/src/
Dztress.c36 static atomic_t active_cnt; variable
191 atomic_dec(&active_cnt); in cont_check()
196 atomic_dec(&active_cnt); in cont_check()
200 return active_cnt > 0; in cont_check()
316 active_cnt++; in active_cnt_init()
401 atomic_set(&active_cnt, 0); in ztress_abort()