/DragonOS/kernel/src/libs/ |
H A D | wait_queue.rs | 37 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock_irqsave(); in prepare_to_wait_event() localVariable 54 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock_irqsave(); in finish_wait() localVariable 67 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock_irqsave(); in sleep() localVariable 82 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock_irqsave(); in sleep_with_func() localVariable 113 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep_without_schedule() localVariable 125 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep_without_schedule_uninterruptible() localVariable 135 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep_uninterruptible() localVariable 150 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep_unlock_spinlock() localVariable 166 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep_unlock_mutex() localVariable 182 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep_uninterruptible_unlock_spinlock() localVariable [all …]
|
/DragonOS/user/apps/user-manage/src/executor/ |
H A D | executor.rs | 103 let mut guard = GLOBAL_FILE.lock().unwrap(); in write_group_file() localVariable 145 let mut guard = GLOBAL_FILE.lock().unwrap(); in write_gshadow_file() localVariable 198 let mut guard = GLOBAL_FILE.lock().unwrap(); in update_passwd_file() localVariable 218 let mut guard = GLOBAL_FILE.lock().unwrap(); in update_group_file() localVariable 248 let mut guard = GLOBAL_FILE.lock().unwrap(); in update_shadow_file() localVariable 265 let mut guard = GLOBAL_FILE.lock().unwrap(); in update_gshadow_file() localVariable 329 let mut guard = GLOBAL_FILE.lock().unwrap(); in update_passwd_file() localVariable 371 let mut guard = GLOBAL_FILE.lock().unwrap(); in update_group_file() localVariable 415 let mut guard = GLOBAL_FILE.lock().unwrap(); in update_shadow_file() localVariable 441 let mut guard = GLOBAL_FILE.lock().unwrap(); in update_gshadow_file() localVariable [all …]
|
/DragonOS/kernel/src/exception/ |
H A D | ebreak.rs | 17 let guard = KPROBE_MANAGER.lock(); in kprobe_handler() localVariable 21 let guard = kprobe.read(); in kprobe_handler() localVariable
|
H A D | debug.rs | 20 let guard = kprobe.read(); in post_kprobe_handler() localVariable
|
/DragonOS/kernel/src/net/ |
H A D | net_core.rs | 139 let guard: RwLockReadGuard<BTreeMap<usize, Arc<dyn NetDevice>>> = NET_DEVICES.read_irqsave(); in poll_ifaces() localVariable 159 let guard: RwLockReadGuard<BTreeMap<usize, Arc<dyn NetDevice>>> = in poll_ifaces_try_lock() localVariable 190 let guard: RwLockReadGuard<BTreeMap<usize, Arc<dyn NetDevice>>> = NET_DEVICES.read_irqsave(); in poll_ifaces_try_lock_onetime() localVariable
|
/DragonOS/kernel/src/mm/ |
H A D | c_adapter.rs | 39 let mut guard = C_ALLOCATION_MAP.lock(); in do_kmalloc() localVariable 61 let mut guard = C_ALLOCATION_MAP.lock(); in kfree() localVariable
|
H A D | fault.rs | 73 let guard = vma.lock_irqsave(); in new() localVariable 129 let mut guard = current_pcb.sched_info().inner_lock_write_irqsave(); in handle_mm_fault() localVariable 141 let guard = vma.lock_irqsave(); in handle_mm_fault() localVariable 242 let guard = vma.lock_irqsave(); in do_anonymous_page() localVariable
|
H A D | kernel_mapper.rs | 134 let guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in drop() localVariable
|
H A D | ucontext.rs | 874 let guard = v.lock_irqsave(); in contains() localVariable 894 let guard = v.lock_irqsave(); in find_nearest() localVariable 1138 let mut guard = self.lock_irqsave(); in remap() localVariable 1156 let mut guard = self.lock_irqsave(); in unmap() localVariable 1211 let mut guard = self.lock_irqsave(); in extract() localVariable 1290 let guard = self.lock_irqsave(); in is_foreign() localVariable 1304 let guard = self.lock_irqsave(); in is_accessible() localVariable 1311 let guard = self.lock_irqsave(); in is_anonymous() localVariable
|
/DragonOS/kernel/src/process/ |
H A D | syscall.rs | 375 let mut guard = pcb.cred.lock(); in setuid() localVariable 392 let mut guard = pcb.cred.lock(); in setgid() localVariable 411 let mut guard = pcb.cred.lock(); in seteuid() localVariable 429 let mut guard = pcb.cred.lock(); in setegid() localVariable 449 let mut guard = pcb.cred.lock(); in setfsuid() localVariable 463 let mut guard = pcb.cred.lock(); in setfsgid() localVariable
|
/DragonOS/kernel/src/ipc/ |
H A D | signal.rs | 37 let guard = pcb.sig_info_irqsave(); in fatal_signal_pending() localVariable 211 let guard = target_pcb.sig_struct(); in complete_signal() localVariable 464 let guard = pcb.sig_struct_irqsave(); in set_current_sig_blocked() localVariable
|
H A D | pipe.rs | 161 let mut guard = result.inner.lock(); in new() localVariable 281 let mut guard = self.inner.lock(); in open() localVariable 314 let mut guard = self.inner.lock(); in close() localVariable
|
/DragonOS/kernel/src/filesystem/devpts/ |
H A D | mod.rs | 227 let mut guard = self.inner.lock(); in create_with_data() localVariable 259 let guard = self.inner.lock(); in find() localVariable 269 let mut guard = self.inner.lock(); in unlink() localVariable
|
/DragonOS/kernel/src/filesystem/fat/ |
H A D | fs.rs | 1396 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in read_at() localVariable 1424 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in write_at() localVariable 1450 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in create() localVariable 1499 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in resize() localVariable 1542 let guard: SpinLockGuard<FATInode> = self.0.lock(); in truncate() localVariable 1553 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in list() localVariable 1596 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in find() localVariable 1614 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in unlink() localVariable 1649 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in rmdir() localVariable 1695 let mut guard = self.0.lock(); in move_to() localVariable [all …]
|
/DragonOS/kernel/src/arch/x86_64/mm/ |
H A D | pkru.rs | 19 let guard = vma.lock_irqsave(); in vma_pkey() localVariable
|
H A D | fault.rs | 252 let guard = vma.lock_irqsave(); in do_user_addr_fault() localVariable
|
/DragonOS/kernel/src/driver/input/ps2_mouse/ |
H A D | ps_mouse_driver.rs | 103 let guard = self.inner.lock(); in process_packet() localVariable 136 let mut guard = self.inner.lock(); in add_device() localVariable 146 let mut guard = self.inner.lock(); in delete_device() localVariable
|
H A D | ps_mouse_device.rs | 290 let mut guard = self.inner.lock(); in process_packet() localVariable 473 let mut guard = self.inner(); in class() localVariable 597 let mut guard = self.inner.lock_irqsave(); in open() localVariable 603 let mut guard = self.inner.lock_irqsave(); in close() localVariable 615 let mut guard = self.inner.lock_irqsave(); in read_at() localVariable
|
/DragonOS/kernel/src/driver/pci/test/ |
H A D | pt_driver.rs | 92 let mut guard = self.driver_data.write(); in add_device() localVariable 102 let mut guard = self.driver_data.write(); in delete_device() localVariable
|
/DragonOS/kernel/src/driver/clocksource/ |
H A D | timer_riscv.rs | 78 let mut guard = SBI_TIMER_INIT_BMP.lock(); in riscv_sbi_timer_init_local() localVariable
|
/DragonOS/kernel/src/driver/firmware/efi/ |
H A D | init.rs | 225 let guard = efi_manager().inner_read(); in efi_vaddr_2_paddr() localVariable
|
/DragonOS/kernel/src/driver/input/serio/i8042/ |
H A D | i8042_driver.rs | 111 let mut guard = self.inner.lock(); in add_device() localVariable 121 let mut guard = self.inner.lock(); in delete_device() localVariable
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | file.rs | 169 let mut guard = self.xarray.lock(); in add_page() localVariable 175 let mut guard = self.xarray.lock(); in get_page() localVariable 182 let mut guard = self.xarray.lock(); in remove_page() localVariable
|
/DragonOS/kernel/src/driver/base/ |
H A D | class.rs | 86 let guard = subsys.devices(); in find_device() localVariable
|
/DragonOS/kernel/src/driver/video/fbdev/ |
H A D | vesafb.rs | 175 let mut guard = self.inner(); in class() localVariable 778 let mut guard = self.inner.lock(); in add_device() localVariable 788 let mut guard = self.inner.lock(); in delete_device() localVariable 1010 let mut guard = FRAME_BUFFER_SET.write(); in vesa_fb_device_init() localVariable
|