Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/libs/
Dlockref.c46 spin_lock(&lock_ref->lock); in lockref_inc()
66 spin_lock(&lock_ref->lock); in lockref_inc_not_zero()
97 spin_lock(&lock_ref->lock); in lockref_dec()
148 spin_lock(&lock_ref->lock); in lockref_dec_not_zero()
177 spin_lock(&lock_ref->lock); in lockref_dec_or_lock_not_zero()
216 spin_lock(&lock_ref->lock); in lockref_inc_not_dead()
Dspinlock.rs6 use crate::include::bindings::bindings::{spin_lock, spin_unlock, spinlock_t};
13 spin_lock(lock); in spin_lock_irqsave()
44 unsafe{spin_lock(lock);} in spin_lock_irq()
Dmutex.c37 spin_lock(&lock->wait_lock); in mutex_lock()
75 spin_lock(&lock->wait_lock); in mutex_unlock()
108 spin_lock(&lock->wait_lock); in mutex_trylock()
Didr.c845 spin_lock(&ida_p->idr.lock); in ida_preload()
/DragonOS-0.1.2/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.2/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.2/kernel/src/filesystem/VFS/
Ddcache.c63 spin_lock(&dentry->lockref.lock); in vfs_dentry_put()
71 spin_lock(&dentry->dir_inode->lockref.lock); in vfs_dentry_put()
95 spin_lock(&dentry->dir_inode->lockref.lock); in vfs_dentry_put()
DVFS.c301 spin_lock(&parent_dir->lockref.lock); in vfs_mkdir()
315 spin_lock(&parent_dir->dir_inode->lockref.lock); in vfs_mkdir()
333 spin_lock(&prev_dentry->lockref.lock); in vfs_mkdir()
448 spin_lock(&parent_dentry->lockref.lock); in do_open()
449 spin_lock(&parent_dentry->dir_inode->lockref.lock); in do_open()
470 spin_lock(&next_dentry->lockref.lock); in do_open()
486 spin_lock(&dentry->lockref.lock); in do_open()
680 spin_lock(&dentry->lockref.lock); in vfs_rmdir()
747 spin_lock(&target->lockref.lock); in vfs_unlink()
831 spin_lock(&p_inode->lockref.lock); in do_unlink_at()
[all …]
/DragonOS-0.1.2/kernel/src/ipc/
Dpipe.c38 spin_lock(&pipe_ptr->data.lock); in pipe_read()
45 spin_lock(&pipe_ptr->data.lock); in pipe_read()
71 spin_lock(&pipe_ptr->data.lock); in pipe_write()
78 spin_lock(&pipe_ptr->data.lock); in pipe_write()
/DragonOS-0.1.2/kernel/src/time/
Dtimer.c47 spin_lock(&sched_lock); in do_timer_softirq()
167 spin_lock(&sched_lock); in schedule_timeout_ms()
/DragonOS-0.1.2/kernel/src/process/
Dkthread.c66 spin_lock(&__kthread_create_lock); in __kthread_create_on_node()
223 spin_lock(&__kthread_create_lock); in kthreadd()
236 spin_lock(&__kthread_create_lock); in kthreadd()
Dfork.c76 spin_lock(&process_global_pid_write_lock); in do_fork()
/DragonOS-0.1.2/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()
288 spin_lock(&scm_screen_own_lock); in scm_framework_enable()
Dtextui.c39 spin_lock(&__window_id_lock); in __textui_init_window()
216 spin_lock(&window->lock); in textui_putchar_window()
/DragonOS-0.1.2/kernel/src/filesystem/devfs/
Ddevfs.c225 spin_lock(&devfs_global_lock); in devfs_register_device()
269 spin_lock(&devfs_global_lock); in devfs_unregister_device()
306 spin_lock(&target_dentry->lockref.lock); in devfs_unregister_device()
/DragonOS-0.1.2/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.2/kernel/src/driver/video/
Dvideo.c65 spin_lock(&daemon_refresh_lock); in video_refresh_daemon()
/DragonOS-0.1.2/kernel/src/smp/
Dsmp.c79 spin_lock(&multi_core_starting_lock); in smp_init()
/DragonOS-0.1.2/kernel/src/driver/usb/xhci/
Dxhci.c2087 spin_lock(&xhci_controller_init_lock); in xhci_init()