Searched refs:atomic_sub (Results 1 – 12 of 12) sorted by relevance
/Zephyr-Core-3.6.0/include/zephyr/sys/ |
D | atomic_c.h | 28 __syscall atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value); 38 return atomic_sub(target, 1); in atomic_dec()
|
D | atomic_builtin.h | 43 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()
|
D | atomic_arch.h | 26 atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value);
|
D | atomic.h | 300 atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value);
|
/Zephyr-Core-3.6.0/tests/kernel/mem_protect/futex/src/ |
D | main.c | 84 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/ |
D | atomic.c | 147 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/ |
D | atomic_xtensa.h | 105 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/ |
D | nrfx_glue.h | 220 #define NRFX_ATOMIC_FETCH_SUB(p_data, value) atomic_sub(p_data, value)
|
/Zephyr-Core-3.6.0/drivers/serial/ |
D | uart_async_rx.c | 111 atomic_sub(&rx_data->pending_bytes, length); in uart_async_rx_data_consume()
|
/Zephyr-Core-3.6.0/kernel/ |
D | atomic_c.c | 206 ATOMIC_SYSCALL_HANDLER_TARGET_VALUE(atomic_sub);
|
/Zephyr-Core-3.6.0/subsys/pm/ |
D | pm.c | 198 if (atomic_sub(&_cpus_active, 1) == 1) { in pm_system_suspend()
|
/Zephyr-Core-3.6.0/subsys/modem/backends/ |
D | modem_backend_uart_isr.c | 71 atomic_sub(&backend->isr.transmit_buf_len, (uint32_t)ret); in modem_backend_uart_isr_irq_handler_transmit_ready()
|