Home
last modified time | relevance | path

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

/DragonOS-0.1.7/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.rs10 use crate::include::bindings::bindings::{spin_lock, spin_unlock, spinlock_t};
19 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.7/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.7/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.7/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.c78 spin_lock(&process_global_pid_write_lock); in do_fork()
/DragonOS-0.1.7/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()
Dtextui.c39 spin_lock(&__window_id_lock); in __textui_init_window()
/DragonOS-0.1.7/kernel/src/driver/interrupt/apic/
Dapic_timer.c110 spin_lock(&apic_timer_init_lock); in apic_timer_init()
/DragonOS-0.1.7/kernel/src/mm/
Dvma.c198 spin_lock(&page->op_lock); in __anon_vma_create_alloc()
237 spin_lock(&anon_vma->page->op_lock); in __anon_vma_free()
Dslab.c558 spin_lock(&kmalloc_cache_group[index].lock); in kmalloc()
659 spin_lock(&kmalloc_cache_group[i].lock); in kfree()
Dmmap.c382 spin_lock(&pg->op_lock); in mm_map_vma()
/DragonOS-0.1.7/kernel/src/driver/video/
Dvideo.c67 spin_lock(&daemon_refresh_lock); in video_refresh_daemon()
/DragonOS-0.1.7/kernel/src/smp/
Dsmp.c85 spin_lock(&multi_core_starting_lock); in smp_init()
/DragonOS-0.1.7/kernel/src/driver/usb/xhci/
Dxhci.c2089 spin_lock(&xhci_controller_init_lock); in xhci_init()