/DragonOS-0.1.2/kernel/src/libs/ |
D | lockref.c | 46 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()
|
D | spinlock.rs | 6 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()
|
D | mutex.c | 37 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()
|
D | idr.c | 845 spin_lock(&ida_p->idr.lock); in ida_preload()
|
/DragonOS-0.1.2/kernel/src/common/ |
D | spinlock.h | 38 void spin_lock(spinlock_t *lock) in spin_lock() function 104 …spin_lock(lock); … 126 …spin_lock(lock); …
|
D | kfifo.h | 132 spin_lock(lock); in kfifo_in_locked() 149 spin_lock(lock); in kfifo_out_locked()
|
/DragonOS-0.1.2/kernel/src/sched/ |
D | completion.c | 23 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/ |
D | dcache.c | 63 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()
|
D | VFS.c | 301 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/ |
D | pipe.c | 38 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/ |
D | timer.c | 47 spin_lock(&sched_lock); in do_timer_softirq() 167 spin_lock(&sched_lock); in schedule_timeout_ms()
|
/DragonOS-0.1.2/kernel/src/process/ |
D | kthread.c | 66 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()
|
D | fork.c | 76 spin_lock(&process_global_pid_write_lock); in do_fork()
|
/DragonOS-0.1.2/kernel/src/libs/libUI/ |
D | screen_manager.c | 143 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()
|
D | textui.c | 39 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/ |
D | devfs.c | 225 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/ |
D | vma.c | 198 spin_lock(&page->op_lock); in __anon_vma_create_alloc() 237 spin_lock(&anon_vma->page->op_lock); in __anon_vma_free()
|
D | slab.c | 558 spin_lock(&kmalloc_cache_group[index].lock); in kmalloc() 659 spin_lock(&kmalloc_cache_group[i].lock); in kfree()
|
D | mmap.c | 382 spin_lock(&pg->op_lock); in mm_map_vma()
|
/DragonOS-0.1.2/kernel/src/driver/video/ |
D | video.c | 65 spin_lock(&daemon_refresh_lock); in video_refresh_daemon()
|
/DragonOS-0.1.2/kernel/src/smp/ |
D | smp.c | 79 spin_lock(&multi_core_starting_lock); in smp_init()
|
/DragonOS-0.1.2/kernel/src/driver/usb/xhci/ |
D | xhci.c | 2087 spin_lock(&xhci_controller_init_lock); in xhci_init()
|