Searched refs:atomic_add (Results 1 – 14 of 14) sorted by relevance
/Zephyr-Core-3.4.0/include/zephyr/rtio/ |
D | rtio_spsc.h | 192 atomic_add(&(spsc)->_spsc.in, 1); \ 209 atomic_add(&(spsc)->_spsc.in, acquired); \ 251 atomic_add(&(spsc)->_spsc.out, 1); \ 266 atomic_add(&(spsc)->_spsc.out, consumed); \
|
/Zephyr-Core-3.4.0/include/zephyr/sys/ |
D | atomic_c.h | 26 __syscall atomic_val_t atomic_add(atomic_t *target, atomic_val_t value); 32 return atomic_add(target, 1); in atomic_inc()
|
D | atomic_builtin.h | 86 static inline atomic_val_t atomic_add(atomic_t *target, atomic_val_t value) in atomic_add() function 125 return atomic_add(target, 1); in atomic_inc()
|
D | atomic_arch.h | 20 extern atomic_val_t atomic_add(atomic_t *target, atomic_val_t value);
|
/Zephyr-Core-3.4.0/subsys/pm/ |
D | pm.c | 247 (void)atomic_add(&_cpus_active, 1); in pm_system_suspend() 274 if (atomic_add(&_cpus_active, 1) == 0) { in pm_system_suspend()
|
/Zephyr-Core-3.4.0/tests/kernel/common/src/ |
D | atomic.c | 136 zassert_true((atomic_add(&target, value) == 1), "atomic_add"); in ZTEST_USER() 141 zassert_true((atomic_add(&target, value) == 2), "atomic_add"); in ZTEST_USER()
|
/Zephyr-Core-3.4.0/subsys/shell/ |
D | shell_log_backend.c | 121 atomic_add(&sh->stats->log_lost_cnt, cnt); in dropped() 123 atomic_add(&log_backend->control_block->dropped_cnt, cnt); in dropped()
|
/Zephyr-Core-3.4.0/include/zephyr/arch/xtensa/ |
D | atomic_xtensa.h | 76 atomic_val_t atomic_add(atomic_t *target, atomic_val_t value) in atomic_add() function
|
/Zephyr-Core-3.4.0/modules/hal_nordic/nrfx/ |
D | nrfx_glue.h | 185 #define NRFX_ATOMIC_FETCH_ADD(p_data, value) atomic_add(p_data, value)
|
/Zephyr-Core-3.4.0/samples/subsys/zbus/benchmark/src/ |
D | benchmark.c | 99 atomic_add(&count, CONFIG_BM_MESSAGE_SIZE); \
|
/Zephyr-Core-3.4.0/kernel/ |
D | atomic_c.c | 176 ATOMIC_SYSCALL_HANDLER_TARGET_VALUE(atomic_add);
|
/Zephyr-Core-3.4.0/samples/net/sockets/echo_server/src/ |
D | udp.c | 113 atomic_add(&data->udp.bytes_received, received); in process_udp()
|
D | tcp.c | 148 atomic_add(&data->tcp.bytes_received, received); in handle_data()
|
/Zephyr-Core-3.4.0/subsys/bluetooth/host/ |
D | l2cap.c | 957 atomic_add(&chan->tx.credits, credits); in l2cap_chan_tx_give_credits()
|