Home
last modified time | relevance | path

Searched refs:atomic_add (Results 1 – 14 of 14) sorted by relevance

/Zephyr-Core-3.4.0/include/zephyr/rtio/
Drtio_spsc.h192 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/
Datomic_c.h26 __syscall atomic_val_t atomic_add(atomic_t *target, atomic_val_t value);
32 return atomic_add(target, 1); in atomic_inc()
Datomic_builtin.h86 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()
Datomic_arch.h20 extern atomic_val_t atomic_add(atomic_t *target, atomic_val_t value);
/Zephyr-Core-3.4.0/subsys/pm/
Dpm.c247 (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/
Datomic.c136 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/
Dshell_log_backend.c121 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/
Datomic_xtensa.h76 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/
Dnrfx_glue.h185 #define NRFX_ATOMIC_FETCH_ADD(p_data, value) atomic_add(p_data, value)
/Zephyr-Core-3.4.0/samples/subsys/zbus/benchmark/src/
Dbenchmark.c99 atomic_add(&count, CONFIG_BM_MESSAGE_SIZE); \
/Zephyr-Core-3.4.0/kernel/
Datomic_c.c176 ATOMIC_SYSCALL_HANDLER_TARGET_VALUE(atomic_add);
/Zephyr-Core-3.4.0/samples/net/sockets/echo_server/src/
Dudp.c113 atomic_add(&data->udp.bytes_received, received); in process_udp()
Dtcp.c148 atomic_add(&data->tcp.bytes_received, received); in handle_data()
/Zephyr-Core-3.4.0/subsys/bluetooth/host/
Dl2cap.c957 atomic_add(&chan->tx.credits, credits); in l2cap_chan_tx_give_credits()