Home
last modified time | relevance | path

Searched refs:rwlock (Results 1 – 17 of 17) sorted by relevance

/DragonOS-0.1.8/kernel/src/libs/
Drwlock.rs294 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 …]
Dmod.rs17 pub mod rwlock; module
Dnotifier.rs4 libs::{rwlock::RwLock, spinlock::SpinLock},
Delf.rs32 use super::rwlock::RwLockWriteGuard;
/DragonOS-0.1.8/docs/kernel/locking/
Dindex.rst14 rwlock
Drwlock.md111 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/
Dvirtio.rs8 use crate::libs::rwlock::RwLockWriteGuard;
/DragonOS-0.1.8/docs/community/ChangeLog/V0.1.x/
DV0.1.8.md73 - 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/
Dnet_core.rs7 libs::rwlock::RwLockReadGuard,
Dmod.rs8 use crate::{driver::net::NetDriver, kwarn, libs::rwlock::RwLock, syscall::SystemError};
/DragonOS-0.1.8/kernel/src/driver/keyboard/
Dps2_keyboard.rs12 libs::{keyboard_parser::TypeOneFSM, rwlock::RwLock, spinlock::SpinLock},
/DragonOS-0.1.8/kernel/src/driver/tty/
Dmod.rs10 use crate::libs::rwlock::RwLock;
Dtty_device.rs14 libs::rwlock::RwLock,
/DragonOS-0.1.8/kernel/src/exception/
Dsoftirq.rs21 libs::rwlock::RwLock,
/DragonOS-0.1.8/kernel/src/time/
Dtimekeeping.rs9 libs::rwlock::RwLock,
/DragonOS-0.1.8/kernel/src/mm/
Ducontext.rs23 rwlock::{RwLock, RwLockWriteGuard},
/DragonOS-0.1.8/kernel/src/driver/pci/
Dpci.rs7 use crate::libs::rwlock::{RwLock, RwLockReadGuard, RwLockWriteGuard};