/DragonOS-0.1.9/kernel/src/libs/ |
D | rwlock.rs | 390 impl<'rwlock, T> RwLockReadGuard<'rwlock, T> { 401 pub unsafe fn leak(this: Self) -> &'rwlock T { in leak() 407 impl<'rwlock, T> RwLockUpgradableGuard<'rwlock, T> { 411 pub fn try_upgrade(mut self) -> Result<RwLockWriteGuard<'rwlock, T>, Self> { in try_upgrade() argument 438 pub fn upgrade(mut self) -> RwLockWriteGuard<'rwlock, T> { in upgrade() argument 452 pub fn downgrade(mut self) -> RwLockReadGuard<'rwlock, T> { in downgrade() argument 479 pub unsafe fn leak(this: Self) -> &'rwlock T { in leak() 486 impl<'rwlock, T> RwLockWriteGuard<'rwlock, T> { 497 pub unsafe fn leak(this: Self) -> &'rwlock T { in leak() 506 pub fn downgrade(mut self) -> RwLockReadGuard<'rwlock, T> { in downgrade() argument [all …]
|
D | mod.rs | 19 pub mod rwlock; module
|
D | notifier.rs | 6 libs::{rwlock::RwLock, spinlock::SpinLock},
|
/DragonOS-0.1.9/docs/kernel/locking/ |
D | index.rst | 13 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.9/kernel/src/driver/virtio/ |
D | irq.rs | 6 use crate::{driver::base::device::DeviceId, init::initcall::INITCALL_CORE, libs::rwlock::RwLock};
|
D | virtio.rs | 9 use crate::libs::rwlock::RwLockWriteGuard;
|
/DragonOS-0.1.9/kernel/src/driver/firmware/efi/ |
D | mod.rs | 3 use crate::{libs::rwlock::RwLock, mm::PhysAddr};
|
/DragonOS-0.1.9/kernel/src/init/ |
D | mod.rs | 6 libs::rwlock::RwLock,
|
/DragonOS-0.1.9/kernel/src/net/ |
D | mod.rs | 8 use crate::{driver::net::NetDriver, libs::rwlock::RwLock};
|
D | net_core.rs | 8 libs::rwlock::RwLockReadGuard,
|
/DragonOS-0.1.9/kernel/src/driver/net/e1000e/ |
D | e1000e_driver.rs | 325 ) -> crate::libs::rwlock::RwLockReadGuard<crate::driver::base::kobject::KObjectState> { in kobj_state() 331 ) -> crate::libs::rwlock::RwLockWriteGuard<crate::driver::base::kobject::KObjectState> { in kobj_state_mut()
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/smp/ |
D | mod.rs | 15 libs::rwlock::RwLock,
|
/DragonOS-0.1.9/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.9/kernel/src/driver/tty/ |
D | tty_device.rs | 31 libs::rwlock::RwLock, 401 ) -> crate::libs::rwlock::RwLockReadGuard<crate::driver::base::kobject::KObjectState> { in kobj_state() 407 ) -> crate::libs::rwlock::RwLockWriteGuard<crate::driver::base::kobject::KObjectState> { in kobj_state_mut()
|
D | tty_driver.rs | 316 ) -> crate::libs::rwlock::RwLockReadGuard<crate::driver::base::kobject::KObjectState> { in kobj_state() 322 ) -> crate::libs::rwlock::RwLockWriteGuard<crate::driver::base::kobject::KObjectState> { in kobj_state_mut()
|
/DragonOS-0.1.9/kernel/src/driver/open_firmware/ |
D | fdt.rs | 11 libs::rwlock::RwLock, 360 let global_data_guard: crate::libs::rwlock::RwLockReadGuard<'_, FdtGlobalData> = in reserved_mem_reserve_reg()
|
D | device_node.rs | 7 libs::rwlock::{RwLockReadGuard, RwLockWriteGuard},
|
/DragonOS-0.1.9/kernel/src/driver/input/serio/i8042/ |
D | i8042_device.rs | 16 rwlock::{RwLockReadGuard, RwLockWriteGuard},
|
D | i8042_ports.rs | 19 rwlock::{RwLockReadGuard, RwLockWriteGuard},
|
D | i8042_driver.rs | 17 rwlock::{RwLockReadGuard, RwLockWriteGuard},
|
/DragonOS-0.1.9/kernel/src/driver/net/ |
D | virtio_net.rs | 399 ) -> crate::libs::rwlock::RwLockReadGuard<crate::driver::base::kobject::KObjectState> { in kobj_state() 405 ) -> crate::libs::rwlock::RwLockWriteGuard<crate::driver::base::kobject::KObjectState> { in kobj_state_mut()
|
/DragonOS-0.1.9/kernel/src/driver/base/ |
D | cpu.rs | 11 libs::rwlock::{RwLock, RwLockReadGuard, RwLockWriteGuard},
|
/DragonOS-0.1.9/kernel/src/driver/disk/ahci/ |
D | mod.rs | 14 use crate::libs::rwlock::RwLockWriteGuard;
|
/DragonOS-0.1.9/kernel/src/driver/serial/serial8250/ |
D | serial8250_pio.rs | 13 libs::rwlock::RwLock,
|