Home
last modified time | relevance | path

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

1234

/Zephyr-Core-2.7.6/kernel/
Datomic_c.c87 key = k_spin_lock(&lock); in z_impl_atomic_cas()
116 key = k_spin_lock(&lock); in z_impl_atomic_ptr_cas()
158 key = k_spin_lock(&lock); in z_impl_atomic_add()
188 key = k_spin_lock(&lock); in z_impl_atomic_sub()
239 key = k_spin_lock(&lock); in z_impl_atomic_set()
257 key = k_spin_lock(&lock); in z_impl_atomic_ptr_set()
296 key = k_spin_lock(&lock); in z_impl_atomic_or()
326 key = k_spin_lock(&lock); in z_impl_atomic_xor()
356 key = k_spin_lock(&lock); in z_impl_atomic_and()
386 key = k_spin_lock(&lock); in z_impl_atomic_nand()
Dtimer.c29 k_spinlock_key_t key = k_spin_lock(&lock); in z_timer_expiration_handler()
49 key = k_spin_lock(&lock); in z_timer_expiration_handler()
180 k_spinlock_key_t key = k_spin_lock(&lock); in z_impl_k_timer_status_get()
207 k_spinlock_key_t key = k_spin_lock(&lock); in z_impl_k_timer_status_sync()
226 k_spinlock_key_t key = k_spin_lock(&lock); in z_impl_k_timer_status_sync()
237 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 …]
Dmem_domain.c101 key = k_spin_lock(&z_mem_domain_lock); in k_mem_domain_init()
149 key = k_spin_lock(&z_mem_domain_lock); in k_mem_domain_add_partition()
185 key = k_spin_lock(&z_mem_domain_lock); in k_mem_domain_remove_partition()
243 k_spinlock_key_t key = k_spin_lock(&z_mem_domain_lock); in z_mem_domain_init_thread()
253 k_spinlock_key_t key = k_spin_lock(&z_mem_domain_lock); in z_mem_domain_exit_thread()
262 key = k_spin_lock(&z_mem_domain_lock); in k_mem_domain_add_thread()
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()
Dkheap.c69 k_spinlock_key_t key = k_spin_lock(&h->lock); in k_heap_aligned_alloc()
98 key = k_spin_lock(&h->lock); in k_heap_aligned_alloc()
120 k_spinlock_key_t key = k_spin_lock(&h->lock); in k_heap_free()
/Zephyr-Core-2.7.6/tests/kernel/spinlock/src/
Dspinlock_error_case.c77 key = k_spin_lock(&lock); in test_spinlock_no_recursive()
80 re = k_spin_lock(&lock); in test_spinlock_no_recursive()
96 key = k_spin_lock(&lock); in test_spinlock_unlock_error()
115 key = k_spin_lock(&lock); in test_spinlock_release_error()
Dmain.c48 key = k_spin_lock(&l); in test_spinlock_basic()
67 key = k_spin_lock(&bounce_lock); in bounce_once()
152 key = k_spin_lock(&lock_runtime); in test_spinlock_mutual_exclusion()
/Zephyr-Core-2.7.6/drivers/serial/
Duart_mchp_xec.c250 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_xec_configure()
401 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_xec_poll_in()
430 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_xec_poll_out()
453 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_xec_err_check()
478 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_xec_fifo_fill()
504 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_xec_fifo_read()
526 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_xec_irq_tx_enable()
544 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_xec_irq_tx_disable()
560 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_xec_irq_tx_ready()
580 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_xec_irq_tx_complete()
[all …]
Duart_ns16550.c347 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in uart_ns16550_configure()
530 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_ns16550_poll_in()
558 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_ns16550_poll_out()
578 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_ns16550_err_check()
602 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_ns16550_fifo_fill()
626 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_ns16550_fifo_read()
646 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_ns16550_irq_tx_enable()
662 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_ns16550_irq_tx_disable()
678 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_ns16550_irq_tx_ready()
696 k_spinlock_key_t key = k_spin_lock(&DEV_DATA(dev)->lock); in uart_ns16550_irq_tx_complete()
[all …]
Duart_rcar.c145 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_rcar_poll_in()
170 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_rcar_poll_out()
201 key = k_spin_lock(&data->lock); in uart_rcar_configure()
317 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_rcar_fifo_fill()
343 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_rcar_fifo_read()
367 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_rcar_irq_tx_enable()
382 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_rcar_irq_tx_disable()
404 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_rcar_irq_rx_enable()
419 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_rcar_irq_rx_disable()
441 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_rcar_irq_err_enable()
[all …]
/Zephyr-Core-2.7.6/drivers/timer/
Dapic_timer.c109 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_set_timeout()
125 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_elapsed()
142 k_spinlock_key_t key = k_spin_lock(&lock); in isr()
173 k_spinlock_key_t key = k_spin_lock(&lock); in isr()
206 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_cycle_get_32()
Darm_arch_timer.c25 k_spinlock_key_t key = k_spin_lock(&lock); in arm_arch_timer_compare_isr()
75 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_set_timeout()
104 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_elapsed()
Dxtensa_sys_timer.c40 k_spinlock_key_t key = k_spin_lock(&lock); in ccompare_isr()
77 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_set_timeout()
106 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_elapsed()
Dstm32_lptim_timer.c56 k_spinlock_key_t key = k_spin_lock(&lock); in lptim_irq_handler()
229 k_spinlock_key_t key = k_spin_lock(&lock);
286 k_spinlock_key_t key = k_spin_lock(&lock);
312 k_spinlock_key_t key = k_spin_lock(&lock);
Dmcux_os_timer.c31 k_spinlock_key_t key = k_spin_lock(&lock); in mcux_lpc_ostick_isr()
89 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_set_timeout()
118 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_elapsed()
Driscv_machine_timer.c63 k_spinlock_key_t key = k_spin_lock(&lock); in timer_isr()
111 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_set_timeout()
139 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_elapsed()
Desp32c3_sys_timer.c51 k_spinlock_key_t key = k_spin_lock(&lock); in sys_timer_isr()
98 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_set_timeout()
126 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_elapsed()
Dmchp_xec_rtos_timer.c213 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_set_timeout()
251 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_elapsed()
277 k_spinlock_key_t key = k_spin_lock(&lock); in xec_rtos_timer_isr()
309 k_spinlock_key_t key = k_spin_lock(&lock); in xec_rtos_timer_isr()
346 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_cycle_get_32()
Darcv2_timer0.c234 key = k_spin_lock(&lock); in timer_int_handler()
370 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_set_timeout()
423 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_elapsed()
441 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_cycle_get_32()
/Zephyr-Core-2.7.6/drivers/counter/
Dcounter_esp32.c93 k_spinlock_key_t key = k_spin_lock(&lock); in counter_esp32_init()
116 k_spinlock_key_t key = k_spin_lock(&lock); in counter_esp32_start()
126 k_spinlock_key_t key = k_spin_lock(&lock); in counter_esp32_stop()
136 k_spinlock_key_t key = k_spin_lock(&lock); in counter_esp32_get_value()
151 k_spinlock_key_t key = k_spin_lock(&lock); in counter_esp32_set_alarm()
167 k_spinlock_key_t key = k_spin_lock(&lock); in counter_esp32_cancel_alarm()
/Zephyr-Core-2.7.6/lib/os/
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()
434 k_spinlock_key_t key = k_spin_lock(&mgr->lock); in onoff_request()
483 k_spinlock_key_t key = k_spin_lock(&mgr->lock); in onoff_release()
525 k_spinlock_key_t key = k_spin_lock(&mgr->lock); in onoff_reset()
554 k_spinlock_key_t key = k_spin_lock(&mgr->lock); in onoff_cancel()
578 k_spinlock_key_t key = k_spin_lock(&mgr->lock); in onoff_monitor_register()
597 k_spinlock_key_t key = k_spin_lock(&mgr->lock); in onoff_monitor_unregister()
611 *keyp = k_spin_lock(&srv->lock); in onoff_sync_lock()
Dbitarray.c224 key = k_spin_lock(&bitarray->lock); in sys_bitarray_set_bit()
251 key = k_spin_lock(&bitarray->lock); in sys_bitarray_clear_bit()
278 key = k_spin_lock(&bitarray->lock); in sys_bitarray_test_bit()
314 key = k_spin_lock(&bitarray->lock); in sys_bitarray_test_and_set_bit()
352 key = k_spin_lock(&bitarray->lock); in sys_bitarray_test_and_clear_bit()
394 key = k_spin_lock(&bitarray->lock); in sys_bitarray_alloc()
465 key = k_spin_lock(&bitarray->lock); in sys_bitarray_free()
499 k_spinlock_key_t key = k_spin_lock(&bitarray->lock); in is_region_set_clear()
535 k_spinlock_key_t key = k_spin_lock(&bitarray->lock); in set_clear_region()
Dp4wq.c78 k_spinlock_key_t k = k_spin_lock(&queue->lock); in p4wq_loop()
97 k = k_spin_lock(&queue->lock); in p4wq_loop()
109 k = k_spin_lock(&queue->lock); in p4wq_loop()
219 k_spinlock_key_t k = k_spin_lock(&queue->lock); in k_p4wq_submit()
296 k_spinlock_key_t k = k_spin_lock(&queue->lock); in k_p4wq_cancel()
Dmpsc_pbuf.c198 key = k_spin_lock(&buffer->lock); in mpsc_pbuf_put_word()
244 key = k_spin_lock(&buffer->lock); in mpsc_pbuf_alloc()
263 key = k_spin_lock(&buffer->lock); in mpsc_pbuf_alloc()
299 k_spinlock_key_t key = k_spin_lock(&buffer->lock); in mpsc_pbuf_commit()
323 key = k_spin_lock(&buffer->lock); in mpsc_pbuf_put_word_ext()
369 key = k_spin_lock(&buffer->lock); in mpsc_pbuf_put_data()
410 key = k_spin_lock(&buffer->lock); in mpsc_pbuf_claim()
450 k_spinlock_key_t key = k_spin_lock(&buffer->lock); in mpsc_pbuf_free()

1234