Home
last modified time | relevance | path

Searched refs:atomic_inc (Results 1 – 25 of 65) sorted by relevance

123

/Zephyr-latest/subsys/bluetooth/host/
Dmonitor.c73 atomic_inc(&drops.cmd); in drop_add()
76 atomic_inc(&drops.evt); in drop_add()
79 atomic_inc(&drops.acl_tx); in drop_add()
82 atomic_inc(&drops.acl_rx); in drop_add()
86 atomic_inc(&drops.sco_tx); in drop_add()
89 atomic_inc(&drops.sco_rx); in drop_add()
93 atomic_inc(&drops.other); in drop_add()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_clock.c102 if (atomic_inc(&hf_refcnt) > 0) { in lll_hfclock_on()
118 atomic_inc(&hf_refcnt); in lll_hfclock_on_wait()
/Zephyr-latest/include/zephyr/
Dspinlock.h200 atomic_val_t ticket = atomic_inc(&l->tail); in k_spin_lock()
319 (void)atomic_inc(&l->owner); in k_spin_unlock()
367 (void)atomic_inc(&l->owner); in k_spin_release()
/Zephyr-latest/tests/lib/mpsc_pbuf/src/
Dconcurrent.c145 atomic_inc(&data.dropped); in drop()
155 atomic_inc(&data.claim_cnt); in consume()
159 atomic_inc(&data.claim_miss_cnt); in consume()
177 atomic_inc(&data.alloc_fails); in produce()
181 atomic_inc(&data.produce_cnt); in produce()
/Zephyr-latest/subsys/timing/
Dtiming.c34 if (atomic_inc(&started_ref) != 0) { in timing_start()
/Zephyr-latest/tests/kernel/common/src/
Datomic.c157 zassert_true((atomic_inc(&target) == 5), "atomic_inc"); in ZTEST_USER()
299 atomic_inc(&total_atomic); in atomic_handler()
362 atomic_inc(&atomic_var); in ZTEST()
376 atomic_inc(&atomic_var); in ZTEST()
/Zephyr-latest/subsys/net/ip/
Dpromiscuous.c43 atomic_inc(&enabled); in net_promisc_mode_on()
/Zephyr-latest/tests/bsim/bluetooth/host/att/sequential/dut/src/
Dmain.c165 atomic_inc(&nwrites); in written_to()
201 atomic_inc(&notifications); in notified()
203 atomic_inc(&indications); in notified()
/Zephyr-latest/tests/kernel/interrupt/src/
Dinterrupt_offload.c64 atomic_inc(&offload_job_cnt); in entry_offload_job()
82 atomic_inc(&submit_success); in isr_handler()
/Zephyr-latest/include/zephyr/sys/
Datomic_arch.h28 atomic_val_t atomic_inc(atomic_t *target);
Datomic_c.h30 static inline atomic_val_t atomic_inc(atomic_t *target) in atomic_inc() function
Datomic_builtin.h49 static inline atomic_val_t atomic_inc(atomic_t *target) in atomic_inc() function
/Zephyr-latest/tests/lib/newlib/thread_safety/src/
Dstress.c44 val = atomic_inc(&count); in malloc_thread()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/ecred/dut/src/
Ddut.c44 atomic_inc(&disconnected_channels); in l2cap_chan_disconnected_cb()
/Zephyr-latest/tests/drivers/gnss/gnss_api/src/
Dtest_fix_rate.c47 atomic_inc(&callback_count_atom); in gnss_data_cb()
/Zephyr-latest/subsys/pm/policy/
Dpolicy_state_lock.c50 atomic_inc(&substate_lock_t[i].lock); in pm_policy_state_lock_get()
/Zephyr-latest/subsys/logging/frontends/
Dlog_frontend_dict_uart.c150 return atomic_inc(&active_cnt); in add_drop_msg()
283 atomic_inc(&dropped); in log_frontend_msg()
306 if (dev_ready && (atomic_inc(&active_cnt) == 0)) { in log_frontend_msg()
/Zephyr-latest/tests/drivers/uart/uart_async_rx/src/
Dmain.c187 atomic_inc(&test_data->pending_req); in producer_no_chunks()
188 atomic_inc(&test_data->total_pending_req); in producer_no_chunks()
280 atomic_inc(&test_data->pending_req); in producer_in_chunks()
/Zephyr-latest/tests/kernel/mem_slab/mslab_threadsafe/src/
Dtest_mslab_threadsafe.c43 int id = atomic_inc(&slab_id); in tmslab_api()
/Zephyr-latest/drivers/serial/
Duart_async_to_irq.c104 atomic_inc(&data->rx.pending_buf_req); in on_rx_buf_req()
165 atomic_inc(&data->irq_req); in uart_async_to_irq_callback()
246 atomic_inc(&data->irq_req); in dir_enable()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/einprogress/src/
Ddut.c50 atomic_inc(&acl_pool_refs_held[buf_id]); in acl_pool_refs_held_add()
/Zephyr-latest/subsys/tracing/
Dtracing_core.c161 atomic_inc(&tracing_packet_drop_num); in tracing_packet_drop_handle()
/Zephyr-latest/tests/net/offloaded_netdev/src/
Dmain.c72 atomic_inc(&call_count); in offload_impl_enable()
74 atomic_inc(&up_count); in offload_impl_enable()
/Zephyr-latest/tests/net/socket/socketpair/src/
Dblock.c85 atomic_inc(&ctx.m); in ZTEST_F()
/Zephyr-latest/subsys/logging/
Dlog_core.c164 atomic_val_t cnt = atomic_inc(&buffered_cnt); in z_log_msg_post_finalize()
323 if (atomic_inc(&initialized) != 0) { in z_log_init()
617 atomic_inc(&dropped_cnt); in z_log_dropped()
765 atomic_inc(&unordered_cnt); in z_log_msg_claim_oldest()

123