Home
last modified time | relevance | path

Searched refs:spin_lock (Results 1 – 16 of 16) sorted by relevance

/lk-master/external/platform/pico/common/pico_sync/
A Dmutex.c21 assert(mtx->core.spin_lock); in __time_critical_func()
24 uint32_t save = spin_lock_blocking(mtx->core.spin_lock); in __time_critical_func()
29 spin_unlock(mtx->core.spin_lock, save); in __time_critical_func()
38 uint32_t save = spin_lock_blocking(mtx->core.spin_lock); in __time_critical_func()
46 spin_unlock(mtx->core.spin_lock, save); in __time_critical_func()
55 assert(mtx->core.spin_lock); in __time_critical_func()
58 uint32_t save = spin_lock_blocking(mtx->core.spin_lock); in __time_critical_func()
63 spin_unlock(mtx->core.spin_lock, save); in __time_critical_func()
74 uint32_t save = spin_lock_blocking(mtx->core.spin_lock); in __time_critical_func()
78 spin_unlock(mtx->core.spin_lock, save); in __time_critical_func()
A Dsem.c24 uint32_t save = spin_lock_blocking(sem->core.spin_lock); in __time_critical_func()
30 spin_unlock(sem->core.spin_lock, save); in __time_critical_func()
41 uint32_t save = spin_lock_blocking(sem->core.spin_lock); in __time_critical_func()
47 spin_unlock(sem->core.spin_lock, save); in __time_critical_func()
63 uint32_t save = spin_lock_blocking(sem->core.spin_lock); in __time_critical_func()
72 spin_unlock(sem->core.spin_lock, save); in __time_critical_func()
78 uint32_t save = spin_lock_blocking(sem->core.spin_lock); in __time_critical_func()
81 spin_unlock(sem->core.spin_lock, save); in __time_critical_func()
A Dlock_core.c11 core->spin_lock = spin_lock_instance(lock_num); in lock_init()
A Dcritical_section.c23 spin_lock_unclaim(spin_lock_get_num(critsec->core.spin_lock)); in critical_section_deinit()
/lk-master/kernel/include/kernel/
A Dspinlock.h16 static inline void spin_lock(spin_lock_t *lock) { in spin_lock() function
55 spin_lock(lock); in spin_lock_save()
84 void lock() { spin_lock(&lock_); } in lock()
132 explicit AutoSpinLockNoIrqSave(spin_lock_t *lock) : lock_(lock) { spin_lock(lock_); } in AutoSpinLockNoIrqSave()
/lk-master/external/platform/pico/common/pico_sync/include/pico/
A Dcritical_section.h61 critsec->save = spin_lock_blocking(critsec->core.spin_lock); in critical_section_enter_blocking()
70 spin_unlock(critsec->core.spin_lock, critsec->save); in critical_section_exit()
A Dlock_core.h20 spin_lock_t *spin_lock; member
A Dmutex.h106 return mtx->core.spin_lock != 0; in mutex_is_initialzed()
/lk-master/kernel/
A Dtimer.c209 spin_lock(&timer_lock); in timer_tick()
240 spin_lock(&timer_lock); in timer_tick()
A Dthread.c1028 spin_lock(&thread_lock); in wait_queue_timeout_handler()
/lk-master/arch/arm64/
A Darch.c148 spin_lock(&arm_boot_cpu_lock); in arm64_secondary_entry()
/lk-master/arch/riscv/
A Dmp.c121 spin_lock(&boot_cpu_lock); in riscv_secondary_entry()
/lk-master/dev/virtio/net/
A Dvirtio-net.c321 spin_lock(&ndev->lock); in virtio_net_irq_driver_callback()
/lk-master/platform/zynq/
A Dgem.c203 spin_lock(&lock); in gem_int_handler()
/lk-master/app/tests/
A Dthread_tests.c564 spin_lock(&lock); in spinlock_test()
/lk-master/dev/interrupt/arm_gic/
A Darm_gic.c535 spin_lock(&gicd_lock); /* IRQs and FIQs are already masked */ in update_fiq_targets()

Completed in 20 milliseconds