Home
last modified time | relevance | path

Searched defs:guard (Results 1 – 25 of 32) sorted by relevance

12

/DragonOS-0.1.9/kernel/src/libs/
Dwait_queue.rs35 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock_irqsave(); in sleep() localVariable
50 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep_with_func() localVariable
81 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep_without_schedule() localVariable
93 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep_without_schedule_uninterruptible() localVariable
103 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep_uninterruptible() localVariable
118 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep_unlock_spinlock() localVariable
134 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep_unlock_mutex() localVariable
150 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep_uninterruptible_unlock_spinlock() localVariable
166 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep_uninterruptible_unlock_mutex() localVariable
188 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock_irqsave(); in wakeup() localVariable
[all …]
/DragonOS-0.1.9/kernel/src/sched/
Dcore.rs109 let guard = binding in do_sched() localVariable
116 let mut guard = guard.unwrap(); in do_sched() localVariable
210 let guard = binding.sched_info().inner_lock_try_read_irqsave(10); in sched_update_jiffies() localVariable
214 let guard = guard.unwrap(); in sched_update_jiffies() localVariable
/DragonOS-0.1.9/kernel/src/net/
Dnet_core.rs123 let guard: RwLockReadGuard<BTreeMap<usize, Arc<dyn NetDriver>>> = NET_DRIVERS.read_irqsave(); in poll_ifaces() localVariable
143 let guard: RwLockReadGuard<BTreeMap<usize, Arc<dyn NetDriver>>> = in poll_ifaces_try_lock() localVariable
175 let guard: RwLockReadGuard<BTreeMap<usize, Arc<dyn NetDriver>>> = NET_DRIVERS.read_irqsave(); in poll_ifaces_try_lock_onetime() localVariable
/DragonOS-0.1.9/kernel/src/mm/
Dc_adapter.rs87 let mut guard = C_ALLOCATION_MAP.lock(); in do_kmalloc() localVariable
109 let mut guard = C_ALLOCATION_MAP.lock(); in kfree() localVariable
Dkernel_mapper.rs134 let guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in drop() localVariable
Ducontext.rs697 let guard = v.lock(); in contains() localVariable
917 let mut guard = self.lock(); in remap() localVariable
936 let mut guard = self.lock(); in unmap() localVariable
977 let mut guard = self.lock(); in extract() localVariable
/DragonOS-0.1.9/kernel/src/ipc/
Dsignal.rs181 let guard = target_pcb.sig_struct(); in complete_signal() localVariable
445 let guard = pcb.sig_struct_irqsave(); in set_current_sig_blocked() localVariable
Dpipe.rs135 let mut guard = result.0.lock(); in new() localVariable
248 let mut guard = self.0.lock(); in open() localVariable
281 let mut guard = self.0.lock(); in close() localVariable
/DragonOS-0.1.9/kernel/src/driver/input/ps2_mouse/
Dps_mouse_driver.rs102 let guard = self.inner.lock(); in process_packet() localVariable
135 let mut guard = self.inner.lock(); in add_device() localVariable
145 let mut guard = self.inner.lock(); in delete_device() localVariable
Dps_mouse_device.rs294 let mut guard = self.inner.lock(); in process_packet() localVariable
587 let mut guard = self.inner.lock_irqsave(); in open() localVariable
593 let mut guard = self.inner.lock_irqsave(); in close() localVariable
605 let mut guard = self.inner.lock_irqsave(); in read_at() localVariable
/DragonOS-0.1.9/kernel/src/filesystem/fat/
Dfs.rs1373 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in read_at() localVariable
1401 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in write_at() localVariable
1427 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in create() localVariable
1466 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in resize() localVariable
1505 let guard: SpinLockGuard<FATInode> = self.0.lock(); in truncate() localVariable
1516 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in list() localVariable
1559 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in find() localVariable
1573 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in unlink() localVariable
1608 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in rmdir() localVariable
1645 let guard: SpinLockGuard<FATInode> = self.0.lock(); in get_entry_name() localVariable
/DragonOS-0.1.9/kernel/src/driver/firmware/efi/
Dinit.rs190 let guard = efi_manager().inner.read(); in efi_vaddr_2_paddr() localVariable
/DragonOS-0.1.9/kernel/src/driver/input/serio/i8042/
Di8042_driver.rs111 let mut guard = self.inner.lock(); in add_device() localVariable
121 let mut guard = self.inner.lock(); in delete_device() localVariable
/DragonOS-0.1.9/kernel/src/driver/base/
Dclass.rs86 let guard = subsys.devices(); in find_device() localVariable
/DragonOS-0.1.9/kernel/src/arch/x86_64/interrupt/
Dmod.rs71 let guard = IrqFlagsGuard::new(flags); in save_and_disable_irq() localVariable
/DragonOS-0.1.9/kernel/src/libs/futex/
Dfutex.rs38 let mut guard = FUTEX_DATA.as_ref().unwrap().data.lock(); in try_remove() localVariable
609 let guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in arch_futex_atomic_op_inuser() localVariable
/DragonOS-0.1.9/kernel/src/filesystem/devfs/
Dmod.rs272 let guard: SpinLockGuard<DevFSInode> = self.0.lock(); in add_dir() localVariable
392 let guard: SpinLockGuard<DevFSInode> = self.0.lock(); in create_with_data() localVariable
/DragonOS-0.1.9/kernel/src/exception/
Dsoftirq.rs249 let guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in raise_softirq() localVariable
Dirqdesc.rs148 let mut guard = self.handler.write_irqsave(); in set_handler() localVariable
166 let mut guard = self.handler.write_irqsave(); in set_handler_no_lock_inner() localVariable
172 let guard = self.handler.read_irqsave(); in handler() localVariable
/DragonOS-0.1.9/tools/debugging/logmonitor/src/backend/monitor/
Dmm.rs34 let guard = shared_data.lock().unwrap(); in new() localVariable
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/
Dvesafb.rs684 let mut guard = self.inner.lock(); in add_device() localVariable
694 let mut guard = self.inner.lock(); in delete_device() localVariable
966 let mut guard = FRAME_BUFFER_SET.write(); in vesa_fb_device_init() localVariable
/DragonOS-0.1.9/kernel/src/process/
Dfork.rs361 let guard = current_pcb.arch_info_irqsave(); in copy_process() localVariable
/DragonOS-0.1.9/kernel/src/driver/open_firmware/
Dfdt.rs76 let mut guard = FDT_GLOBAL_DATA.write(); in early_init_scan_root() localVariable
/DragonOS-0.1.9/kernel/src/arch/x86_64/ipc/
Dsignal.rs386 let guard = ProcessManager::current_pcb(); in restore_sigcontext() localVariable
708 let guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in sig_stop() localVariable
/DragonOS-0.1.9/kernel/src/libs/lib_ui/
Dtextui.rs300 guard: Option<SpinLockGuard<'a, Box<[u32]>>>, field
318 let guard: SpinLockGuard<'_, Box<[u32]>> = double_buffer.lock(); in new() localVariable
1062 let mut guard = window.as_ref().map(|w| w.lock_irqsave()); in textui_putstr() localVariable

12