Home
last modified time | relevance | path

Searched refs:k_spin_lock (Results 1 – 25 of 126) sorted by relevance

123456

/Zephyr-Core-3.4.0/tests/kernel/spinlock/src/
Dspinlock_error_case.c101 key = k_spin_lock(&lock); in ZTEST()
104 re = k_spin_lock(&lock); in ZTEST()
120 key = k_spin_lock(&lock); in ZTEST()
139 key = k_spin_lock(&lock); in ZTEST()
174 key = k_spin_lock(&timeout_lock); in ZTEST()
Dmain.c47 key = k_spin_lock(&l); in ZTEST()
66 key = k_spin_lock(&bounce_lock); in bounce_once()
151 key = k_spin_lock(&lock_runtime); in ZTEST()
/Zephyr-Core-3.4.0/kernel/
Datomic_c.c95 key = k_spin_lock(&lock); in z_impl_atomic_cas()
124 key = k_spin_lock(&lock); in z_impl_atomic_ptr_cas()
166 key = k_spin_lock(&lock); in z_impl_atomic_add()
196 key = k_spin_lock(&lock); in z_impl_atomic_sub()
247 key = k_spin_lock(&lock); in z_impl_atomic_set()
265 key = k_spin_lock(&lock); in z_impl_atomic_ptr_set()
304 key = k_spin_lock(&lock); in z_impl_atomic_or()
334 key = k_spin_lock(&lock); in z_impl_atomic_xor()
364 key = k_spin_lock(&lock); in z_impl_atomic_and()
394 key = k_spin_lock(&lock); in z_impl_atomic_nand()
Dusage.c79 key = k_spin_lock(&usage_lock); in z_sched_usage_start()
101 k_spinlock_key_t k = k_spin_lock(&usage_lock); in z_sched_usage_stop()
127 key = k_spin_lock(&usage_lock); in z_sched_cpu_usage()
179 key = k_spin_lock(&usage_lock); in z_sched_thread_usage()
237 key = k_spin_lock(&usage_lock); in k_thread_runtime_stats_enable()
258 key = k_spin_lock(&usage_lock); in k_thread_runtime_stats_disable()
283 key = k_spin_lock(&usage_lock); in k_sys_runtime_stats_enable()
317 key = k_spin_lock(&usage_lock); in k_sys_runtime_stats_disable()
Dtimer.c27 k_spinlock_key_t key = k_spin_lock(&lock); in z_timer_expiration_handler()
84 key = k_spin_lock(&lock); in z_timer_expiration_handler()
211 k_spinlock_key_t key = k_spin_lock(&lock); in z_impl_k_timer_status_get()
238 k_spinlock_key_t key = k_spin_lock(&lock); in z_impl_k_timer_status_sync()
257 k_spinlock_key_t key = k_spin_lock(&lock); in z_impl_k_timer_status_sync()
268 key = k_spin_lock(&lock); in z_impl_k_timer_status_sync()
Dwork.c152 k_spinlock_key_t key = k_spin_lock(&lock); in k_work_busy_get()
374 k_spinlock_key_t key = k_spin_lock(&lock); in z_work_submit_to_queue()
462 k_spinlock_key_t key = k_spin_lock(&lock); in k_work_flush()
550 k_spinlock_key_t key = k_spin_lock(&lock); in k_work_cancel()
574 k_spinlock_key_t key = k_spin_lock(&lock); in k_work_cancel_sync()
607 k_spinlock_key_t key = k_spin_lock(&lock); in work_queue_main()
675 key = k_spin_lock(&lock); in work_queue_main()
755 k_spinlock_key_t key = k_spin_lock(&lock); in k_work_queue_drain()
785 k_spinlock_key_t key = k_spin_lock(&lock); in k_work_queue_unplug()
811 k_spinlock_key_t key = k_spin_lock(&lock); in work_timeout()
[all …]
Dcondvar.c37 k_spinlock_key_t key = k_spin_lock(&lock); in z_impl_k_condvar_signal()
73 key = k_spin_lock(&lock); in z_impl_k_condvar_broadcast()
108 key = k_spin_lock(&lock); in z_impl_k_condvar_wait()
Dmem_slab.c106 k_spinlock_key_t key = k_spin_lock(&slab->lock); in k_mem_slab_alloc()
150 k_spinlock_key_t key = k_spin_lock(&slab->lock); in k_mem_slab_free()
180 k_spinlock_key_t key = k_spin_lock(&slab->lock); in k_mem_slab_runtime_stats_get()
202 k_spinlock_key_t key = k_spin_lock(&slab->lock); in k_mem_slab_runtime_stats_reset_max()
/Zephyr-Core-3.4.0/lib/os/
Dheap_listener.c15 k_spinlock_key_t key = k_spin_lock(&heap_listener_lock); in heap_listener_register()
24 k_spinlock_key_t key = k_spin_lock(&heap_listener_lock); in heap_listener_unregister()
34 k_spinlock_key_t key = k_spin_lock(&heap_listener_lock); in heap_listener_notify_alloc()
50 k_spinlock_key_t key = k_spin_lock(&heap_listener_lock); in heap_listener_notify_free()
66 k_spinlock_key_t key = k_spin_lock(&heap_listener_lock); in heap_listener_notify_resize()
Donoff.c204 k_spinlock_key_t key = k_spin_lock(&mgr->lock); in transition_complete()
397 key = k_spin_lock(&mgr->lock); in process_event()
433 k_spinlock_key_t key = k_spin_lock(&mgr->lock); in onoff_request()
482 k_spinlock_key_t key = k_spin_lock(&mgr->lock); in onoff_release()
524 k_spinlock_key_t key = k_spin_lock(&mgr->lock); in onoff_reset()
553 k_spinlock_key_t key = k_spin_lock(&mgr->lock); in onoff_cancel()
577 k_spinlock_key_t key = k_spin_lock(&mgr->lock); in onoff_monitor_register()
596 k_spinlock_key_t key = k_spin_lock(&mgr->lock); in onoff_monitor_unregister()
610 *keyp = k_spin_lock(&srv->lock); in onoff_sync_lock()
/Zephyr-Core-3.4.0/drivers/serial/
Duart_altera_jtag.c92 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_jtag_poll_in()
130 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_jtag_poll_out()
213 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_jtag_fifo_fill()
257 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_jtag_fifo_read()
287 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_jtag_irq_tx_enable()
306 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_jtag_irq_tx_disable()
330 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_jtag_irq_tx_ready()
361 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_jtag_irq_tx_complete()
385 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_jtag_irq_rx_enable()
404 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_jtag_irq_rx_disable()
[all …]
Duart_altera.c157 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_poll_in()
187 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_poll_out()
255 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_err_check()
412 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_fifo_fill()
462 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_fifo_read()
500 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_irq_tx_enable()
524 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_irq_tx_disable()
551 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_irq_tx_ready()
591 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_irq_tx_complete()
612 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_irq_rx_enable()
[all …]
Duart_emul.c42 key = k_spin_lock(&drv_data->rx_lock); in uart_emul_poll_in()
61 key = k_spin_lock(&drv_data->tx_lock); in uart_emul_poll_out()
123 key = k_spin_lock(&drv_data->rx_lock); in uart_emul_put_rx_data()
135 key = k_spin_lock(&drv_data->tx_lock); in uart_emul_get_tx_data()
147 key = k_spin_lock(&drv_data->rx_lock); in uart_emul_flush_rx_data()
160 key = k_spin_lock(&drv_data->tx_lock); in uart_emul_flush_tx_data()
Duart_mchp_xec.c335 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_configure()
564 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_poll_in()
594 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_poll_out()
618 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_err_check()
644 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_fifo_fill()
674 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_fifo_read()
695 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_irq_tx_enable()
712 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_irq_tx_disable()
729 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_irq_tx_ready()
750 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_irq_tx_complete()
[all …]
Duart_ns16550.c398 k_spinlock_key_t key = k_spin_lock(&dev_data->lock);
622 k_spinlock_key_t key = k_spin_lock(&data->lock);
652 k_spinlock_key_t key = k_spin_lock(&data->lock);
674 k_spinlock_key_t key = k_spin_lock(&data->lock);
700 k_spinlock_key_t key = k_spin_lock(&data->lock);
726 k_spinlock_key_t key = k_spin_lock(&data->lock);
746 k_spinlock_key_t key = k_spin_lock(&data->lock);
782 k_spinlock_key_t key = k_spin_lock(&data->lock);
820 k_spinlock_key_t key = k_spin_lock(&data->lock);
840 k_spinlock_key_t key = k_spin_lock(&data->lock);
[all …]
Duart_smartbond.c96 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_smartbond_poll_in()
114 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_smartbond_poll_out()
164 key = k_spin_lock(&data->lock); in uart_smartbond_configure()
286 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_smartbond_fifo_fill()
308 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_smartbond_fifo_read()
327 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_smartbond_irq_tx_enable()
338 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_smartbond_irq_tx_disable()
356 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_smartbond_irq_rx_enable()
367 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_smartbond_irq_rx_disable()
/Zephyr-Core-3.4.0/drivers/timer/
Dapic_timer.c114 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_set_timeout()
130 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_elapsed()
147 k_spinlock_key_t key = k_spin_lock(&lock); in isr()
178 k_spinlock_key_t key = k_spin_lock(&lock); in isr()
211 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_cycle_get_32()
Dmips_cp0_timer.c45 k_spinlock_key_t key = k_spin_lock(&lock); in timer_isr()
75 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_set_timeout()
103 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_elapsed()
Dxtensa_sys_timer.c47 k_spinlock_key_t key = k_spin_lock(&lock); in ccompare_isr()
74 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_set_timeout()
103 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_elapsed()
Dmcux_os_timer.c35 k_spinlock_key_t key = k_spin_lock(&lock); in mcux_lpc_ostick_isr()
69 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_set_timeout()
98 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_elapsed()
/Zephyr-Core-3.4.0/subsys/pm/
Dpolicy.c244 k_spinlock_key_t key = k_spin_lock(&latency_lock); in pm_policy_latency_request_add()
255 k_spinlock_key_t key = k_spin_lock(&latency_lock); in pm_policy_latency_request_update()
265 k_spinlock_key_t key = k_spin_lock(&latency_lock); in pm_policy_latency_request_remove()
276 k_spinlock_key_t key = k_spin_lock(&latency_lock); in pm_policy_latency_changed_subscribe()
286 k_spinlock_key_t key = k_spin_lock(&latency_lock); in pm_policy_latency_changed_unsubscribe()
295 k_spinlock_key_t key = k_spin_lock(&events_lock); in pm_policy_event_register()
307 k_spinlock_key_t key = k_spin_lock(&events_lock); in pm_policy_event_update()
318 k_spinlock_key_t key = k_spin_lock(&events_lock); in pm_policy_event_unregister()
Dpm.c149 pm_notifier_key = k_spin_lock(&pm_notifier_lock); in pm_state_notify()
195 key = k_spin_lock(&pm_forced_state_lock); in pm_state_force()
209 key = k_spin_lock(&pm_forced_state_lock); in pm_system_suspend()
289 k_spinlock_key_t pm_notifier_key = k_spin_lock(&pm_notifier_lock); in pm_notifier_register()
300 pm_notifier_key = k_spin_lock(&pm_notifier_lock); in pm_notifier_unregister()
/Zephyr-Core-3.4.0/subsys/net/pkt_filter/
Dbase.c80 k_spinlock_key_t key = k_spin_lock(&rules->lock); in lock_evaluate()
107 k_spinlock_key_t key = k_spin_lock(&rules->lock); in npf_insert_rule()
120 k_spinlock_key_t key = k_spin_lock(&rules->lock); in npf_append_rule()
130 k_spinlock_key_t key = k_spin_lock(&rules->lock); in npf_remove_rule()
140 k_spinlock_key_t key = k_spin_lock(&rules->lock); in npf_remove_all_rules()
/Zephyr-Core-3.4.0/drivers/counter/
Dcounter_esp32_tmr.c79 k_spinlock_key_t key = k_spin_lock(&lock); in counter_esp32_init()
107 k_spinlock_key_t key = k_spin_lock(&lock); in counter_esp32_start()
118 k_spinlock_key_t key = k_spin_lock(&lock); in counter_esp32_stop()
129 k_spinlock_key_t key = k_spin_lock(&lock); in counter_esp32_get_value()
146 k_spinlock_key_t key = k_spin_lock(&lock); in counter_esp32_set_alarm()
168 k_spinlock_key_t key = k_spin_lock(&lock); in counter_esp32_cancel_alarm()
/Zephyr-Core-3.4.0/drivers/watchdog/
Dwdt_tco.c97 key = k_spin_lock(&data->lock); in tco_setup()
130 key = k_spin_lock(&data->lock); in tco_disable()
197 key = k_spin_lock(&data->lock); in tco_install_timeout()
223 key = k_spin_lock(&data->lock); in tco_feed()
250 key = k_spin_lock(&data->lock); in wdt_init()

123456