Home
last modified time | relevance | path

Searched refs:atomic_sub (Results 1 – 12 of 12) sorted by relevance

/Zephyr-Core-3.6.0/include/zephyr/sys/
Datomic_c.h28 __syscall atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value);
38 return atomic_sub(target, 1); in atomic_dec()
Datomic_builtin.h43 static inline atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value) in atomic_sub() function
55 return atomic_sub(target, 1); in atomic_dec()
Datomic_arch.h26 atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value);
Datomic.h300 atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value);
/Zephyr-Core-3.6.0/tests/kernel/mem_protect/futex/src/
Dmain.c84 atomic_sub(&simple_futex.val, 1); in futex_wait_task()
89 atomic_sub(&simple_futex.val, 1); in futex_wait_task()
130 atomic_sub(&simple_futex.val, 1); in futex_wait_wake_task()
160 atomic_sub(&(multiple_futex[idx].val), 1); in futex_multiple_wait_wake_task()
487 atomic_sub(&simple_futex.val, 1); in futex_wake()
/Zephyr-Core-3.6.0/tests/kernel/common/src/
Datomic.c147 zassert_true((atomic_sub(&target, value) == 10), "atomic_sub"); in ZTEST_USER()
152 zassert_true((atomic_sub(&target, value) == 5), "atomic_sub"); in ZTEST_USER()
/Zephyr-Core-3.6.0/include/zephyr/arch/xtensa/
Datomic_xtensa.h105 atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value) in atomic_sub() function
/Zephyr-Core-3.6.0/modules/hal_nordic/nrfx/
Dnrfx_glue.h220 #define NRFX_ATOMIC_FETCH_SUB(p_data, value) atomic_sub(p_data, value)
/Zephyr-Core-3.6.0/drivers/serial/
Duart_async_rx.c111 atomic_sub(&rx_data->pending_bytes, length); in uart_async_rx_data_consume()
/Zephyr-Core-3.6.0/kernel/
Datomic_c.c206 ATOMIC_SYSCALL_HANDLER_TARGET_VALUE(atomic_sub);
/Zephyr-Core-3.6.0/subsys/pm/
Dpm.c198 if (atomic_sub(&_cpus_active, 1) == 1) { in pm_system_suspend()
/Zephyr-Core-3.6.0/subsys/modem/backends/
Dmodem_backend_uart_isr.c71 atomic_sub(&backend->isr.transmit_buf_len, (uint32_t)ret); in modem_backend_uart_isr_irq_handler_transmit_ready()