Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/libs/
Dwait_queue.rs45 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep() localVariable
58 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep_with_func() localVariable
83 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep_without_schedule() localVariable
90 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep_uninterruptible() localVariable
100 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep_unlock_spinlock() localVariable
111 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep_unlock_mutex() localVariable
122 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep_uninterruptible_unlock_spinlock() localVariable
133 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in sleep_uninterruptible_unlock_mutex() localVariable
149 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock(); in wakeup() localVariable
171 let mut guard: SpinLockGuard<InnerWaitQueue> = self.0.lock_irqsave(); in wakeup_all() localVariable
/DragonOS-0.1.8/kernel/src/net/
Dnet_core.rs120 let guard: RwLockReadGuard<BTreeMap<usize, Arc<dyn NetDriver>>> = NET_DRIVERS.read(); in poll_ifaces() localVariable
140 let guard: RwLockReadGuard<BTreeMap<usize, Arc<dyn NetDriver>>> = NET_DRIVERS.read(); in poll_ifaces_try_lock() localVariable
/DragonOS-0.1.8/kernel/src/mm/
Dc_adapter.rs96 let mut guard = C_ALLOCATION_MAP.lock(); in do_kmalloc() localVariable
118 let mut guard = C_ALLOCATION_MAP.lock(); in kfree() localVariable
Dkernel_mapper.rs130 let guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in drop() localVariable
Ducontext.rs609 let guard = v.lock(); in contains() localVariable
828 let mut guard = self.lock(); in remap() localVariable
847 let mut guard = self.lock(); in unmap() localVariable
888 let mut guard = self.lock(); in extract() localVariable
/DragonOS-0.1.8/kernel/src/arch/x86_64/
Dfpu.rs83 let guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in fp_state_save() localVariable
121 let guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in fp_state_restore() localVariable
/DragonOS-0.1.8/kernel/src/arch/x86_64/interrupt/
Dmod.rs53 let guard = IrqFlagsGuard::new(flags); in save_and_disable_irq() localVariable
/DragonOS-0.1.8/kernel/src/driver/keyboard/
Dps2_keyboard.rs100 let guard = self.0.read(); in read_at() localVariable
131 let guard = self.0.write(); in open() localVariable
145 let guard = self.0.write(); in close() localVariable
/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dfs.rs1362 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in read_at() localVariable
1390 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in write_at() localVariable
1429 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in create() localVariable
1468 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in resize() localVariable
1507 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in list() localVariable
1550 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in find() localVariable
1564 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in unlink() localVariable
1591 let mut guard: SpinLockGuard<FATInode> = self.0.lock(); in rmdir() localVariable
1628 let guard: SpinLockGuard<FATInode> = self.0.lock(); in get_entry_name() localVariable
/DragonOS-0.1.8/kernel/src/driver/tty/
Dtty_device.rs300 let guard = TTY_DEVICES.upgradeable_read(); in tty_init() localVariable
307 let mut guard = guard.upgrade(); in tty_init() localVariable
/DragonOS-0.1.8/kernel/src/exception/
Dsoftirq.rs228 let guard = unsafe { CurrentIrqArch::save_and_disable_irq() }; in raise_softirq() localVariable
/DragonOS-0.1.8/kernel/src/ipc/
Dpipe.rs66 let mut guard = result.0.lock(); in new() localVariable
/DragonOS-0.1.8/kernel/src/filesystem/devfs/
Dmod.rs249 let guard: SpinLockGuard<DevFSInode> = self.0.lock(); in add_dir() localVariable
363 let guard: SpinLockGuard<DevFSInode> = self.0.lock(); in create_with_data() localVariable
/DragonOS-0.1.8/kernel/src/driver/net/
Dvirtio_net.rs283 let mut guard = self.iface.lock(); in poll() localVariable
/DragonOS-0.1.8/kernel/src/filesystem/sysfs/
Dmod.rs340 let guard: SpinLockGuard<SysFSInode> = self.0.lock(); in add_dir() localVariable
/DragonOS-0.1.8/kernel/src/filesystem/procfs/
Dmod.rs348 let guard: SpinLockGuard<ProcFSInode> = self.0.lock(); in close() localVariable