Searched refs:rwlock (Results 1 – 17 of 17) sorted by relevance
/DragonOS-0.1.8/kernel/src/libs/ |
D | rwlock.rs | 294 impl<'rwlock, T> RwLockReadGuard<'rwlock, T> { 305 pub unsafe fn leak(this: Self) -> &'rwlock T { in leak() 311 impl<'rwlock, T> RwLockUpgradableGuard<'rwlock, T> { 315 pub fn try_upgrade(self) -> Result<RwLockWriteGuard<'rwlock, T>, Self> { in try_upgrade() argument 341 pub fn upgrade(mut self) -> RwLockWriteGuard<'rwlock, T> { in upgrade() argument 355 pub fn downgrade(self) -> RwLockReadGuard<'rwlock, T> { in downgrade() argument 381 pub unsafe fn leak(this: Self) -> &'rwlock T { in leak() 388 impl<'rwlock, T> RwLockWriteGuard<'rwlock, T> { 399 pub unsafe fn leak(this: Self) -> &'rwlock T { in leak() 408 pub fn downgrade(self) -> RwLockReadGuard<'rwlock, T> { in downgrade() argument [all …]
|
D | mod.rs | 17 pub mod rwlock; module
|
D | notifier.rs | 4 libs::{rwlock::RwLock, spinlock::SpinLock},
|
D | elf.rs | 32 use super::rwlock::RwLockWriteGuard;
|
/DragonOS-0.1.8/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.8/kernel/src/driver/virtio/ |
D | virtio.rs | 8 use crate::libs::rwlock::RwLockWriteGuard;
|
/DragonOS-0.1.8/docs/community/ChangeLog/V0.1.x/ |
D | V0.1.8.md | 73 - bugfix: 修正rwlock有的地方由于未使用ManuallyDrop导致的use after free问题 (#329) 177 … 修正rwlock有的地方由于未使用ManuallyDrop导致的use after free && spinlock守卫新增leak,spinlock新增force unlock功能.(#329) 179 1.修正rwlock有的地方由于未使用ManuallyDrop导致的use after free
|
/DragonOS-0.1.8/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.8/kernel/src/driver/keyboard/ |
D | ps2_keyboard.rs | 12 libs::{keyboard_parser::TypeOneFSM, rwlock::RwLock, spinlock::SpinLock},
|
/DragonOS-0.1.8/kernel/src/driver/tty/ |
D | mod.rs | 10 use crate::libs::rwlock::RwLock;
|
D | tty_device.rs | 14 libs::rwlock::RwLock,
|
/DragonOS-0.1.8/kernel/src/exception/ |
D | softirq.rs | 21 libs::rwlock::RwLock,
|
/DragonOS-0.1.8/kernel/src/time/ |
D | timekeeping.rs | 9 libs::rwlock::RwLock,
|
/DragonOS-0.1.8/kernel/src/mm/ |
D | ucontext.rs | 23 rwlock::{RwLock, RwLockWriteGuard},
|
/DragonOS-0.1.8/kernel/src/driver/pci/ |
D | pci.rs | 7 use crate::libs::rwlock::{RwLock, RwLockReadGuard, RwLockWriteGuard};
|