Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/libs/
Dlockref.c46 spin_lock(&lock_ref->lock); in lockref_inc()
70 spin_lock(&lock_ref->lock); in lockref_inc_not_zero()
104 spin_lock(&lock_ref->lock); in lockref_dec()
161 spin_lock(&lock_ref->lock); in lockref_dec_not_zero()
193 spin_lock(&lock_ref->lock); in lockref_dec_or_lock_not_zero()
235 spin_lock(&lock_ref->lock); in lockref_inc_not_dead()
Dmutex.c38 spin_lock(&lock->wait_lock); in mutex_lock()
76 spin_lock(&lock->wait_lock); in mutex_unlock()
109 spin_lock(&lock->wait_lock); in mutex_trylock()
Dspinlock.rs11 use crate::include::bindings::bindings::{spin_lock, spin_unlock, spinlock_t};
20 spin_lock(lock); in spin_lock_irqsave()
51 spin_lock(lock); in spin_lock_irq()
Didr.c845 spin_lock(&ida_p->idr.lock); in ida_preload()
/DragonOS-0.1.8/kernel/src/common/
Dspinlock.h38 void spin_lock(spinlock_t *lock) in spin_lock() function
104spin_lock(lock); …
126spin_lock(lock); …
Dkfifo.h132 spin_lock(lock); in kfifo_in_locked()
149 spin_lock(lock); in kfifo_out_locked()
/DragonOS-0.1.8/kernel/src/sched/
Dcompletion.c23 spin_lock(&x->wait_queue.lock); in complete()
39 spin_lock(&x->wait_queue.lock); in complete_all()
73 spin_lock(&x->wait_queue.lock); in __wait_for_common()
94 spin_lock(&x->wait_queue.lock); in wait_for_completion()
109 spin_lock(&x->wait_queue.lock); in wait_for_completion_timeout()
122 spin_lock(&x->wait_queue.lock); in wait_for_completion_interruptible()
138 spin_lock(&x->wait_queue.lock); in wait_for_completion_interruptible_timeout()
157 spin_lock(&x->wait_queue.lock); in try_wait_for_completion()
182 spin_lock(&x->wait_queue.lock); in completion_done()
/DragonOS-0.1.8/kernel/src/libs/libUI/
Dscreen_manager.c143 spin_lock(&scm_register_lock); in scm_register_alloc()
179 spin_lock(&scm_register_lock); in scm_register()
287 spin_lock(&scm_screen_own_lock); in scm_framework_enable()
313 spin_lock(&scm_screen_own_lock); in scm_framework_disable()
Dtextui.c42 spin_lock(&__window_id_lock); in __textui_init_window()
/DragonOS-0.1.8/kernel/src/process/
Dkthread.c66 spin_lock(&__kthread_create_lock); in __kthread_create_on_node()
230 spin_lock(&__kthread_create_lock); in kthreadd()
244 spin_lock(&__kthread_create_lock); in kthreadd()
Dfork.c79 spin_lock(&process_global_pid_write_lock); in do_fork()
/DragonOS-0.1.8/kernel/src/driver/interrupt/apic/
Dapic_timer.c110 spin_lock(&apic_timer_init_lock); in apic_timer_init()
/DragonOS-0.1.8/kernel/src/driver/video/
Dvideo.c61 spin_lock(&daemon_refresh_lock); in video_refresh_daemon()
/DragonOS-0.1.8/kernel/src/smp/
Dsmp.c96 spin_lock(&multi_core_starting_lock); in smp_init()