Searched refs:rwlock (Results 1 – 12 of 12) sorted by relevance
/DragonOS-0.1.7/kernel/src/libs/ |
D | rwlock.rs | 260 impl<'rwlock, T> RwLockReadGuard<'rwlock, T> { 264 pub fn leak(this: Self) -> &'rwlock T { in leak() 270 impl<'rwlock, T> RwLockUpgradableGuard<'rwlock, T> { 274 pub fn try_upgrade(self) -> Result<RwLockWriteGuard<'rwlock, T>, Self> { in try_upgrade() argument 300 pub fn upgrade(mut self) -> RwLockWriteGuard<'rwlock, T> { in upgrade() argument 314 pub fn downgrade(self) -> RwLockReadGuard<'rwlock, T> { in downgrade() argument 333 pub fn leak(this: Self) -> &'rwlock T { in leak() 340 impl<'rwlock, T> RwLockWriteGuard<'rwlock, T> { 344 pub fn leak(this: Self) -> &'rwlock T { in leak() 353 pub fn downgrade(self) -> RwLockReadGuard<'rwlock, T> { in downgrade() argument [all …]
|
D | mod.rs | 11 pub mod rwlock; module
|
/DragonOS-0.1.7/docs/kernel/locking/ |
D | index.rst | 14 rwlock
|
D | rwlock.md | 111 pub fn downgrade(self) -> RwLockReadGuard<'rwlock, T> 115 pub fn downgrade_to_upgradeable(self) -> RwLockUpgradableGuard<'rwlock, T> 120 pub fn upgrade(mut self) -> RwLockWriteGuard<'rwlock, T> 124 pub fn downgrade(self) -> RwLockReadGuard<'rwlock, T>
|
/DragonOS-0.1.7/kernel/src/driver/virtio/ |
D | virtio.rs | 8 use crate::libs::rwlock::RwLockWriteGuard;
|
/DragonOS-0.1.7/kernel/src/net/ |
D | net_core.rs | 7 libs::rwlock::RwLockReadGuard,
|
D | mod.rs | 8 use crate::{driver::net::NetDriver, kwarn, libs::rwlock::RwLock, syscall::SystemError};
|
/DragonOS-0.1.7/kernel/src/driver/tty/ |
D | mod.rs | 8 use crate::libs::rwlock::RwLock;
|
D | tty_device.rs | 14 libs::rwlock::RwLock,
|
/DragonOS-0.1.7/kernel/src/driver/keyboard/ |
D | ps2_keyboard.rs | 12 libs::{keyboard_parser::TypeOneFSM, rwlock::RwLock, spinlock::SpinLock},
|
/DragonOS-0.1.7/kernel/src/exception/ |
D | softirq.rs | 22 libs::rwlock::RwLock,
|
/DragonOS-0.1.7/kernel/src/driver/pci/ |
D | pci.rs | 8 use crate::libs::rwlock::{RwLock, RwLockReadGuard, RwLockWriteGuard};
|