Home
last modified time | relevance | path

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

123

/DragonOS-0.1.9/kernel/src/libs/
Drwlock.rs390 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 …]
Dmod.rs19 pub mod rwlock; module
Dnotifier.rs6 libs::{rwlock::RwLock, spinlock::SpinLock},
/DragonOS-0.1.9/docs/kernel/locking/
Dindex.rst13 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.9/kernel/src/driver/virtio/
Dirq.rs6 use crate::{driver::base::device::DeviceId, init::initcall::INITCALL_CORE, libs::rwlock::RwLock};
Dvirtio.rs9 use crate::libs::rwlock::RwLockWriteGuard;
/DragonOS-0.1.9/kernel/src/driver/firmware/efi/
Dmod.rs3 use crate::{libs::rwlock::RwLock, mm::PhysAddr};
/DragonOS-0.1.9/kernel/src/init/
Dmod.rs6 libs::rwlock::RwLock,
/DragonOS-0.1.9/kernel/src/net/
Dmod.rs8 use crate::{driver::net::NetDriver, libs::rwlock::RwLock};
Dnet_core.rs8 libs::rwlock::RwLockReadGuard,
/DragonOS-0.1.9/kernel/src/driver/net/e1000e/
De1000e_driver.rs325 ) -> 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/
Dmod.rs15 libs::rwlock::RwLock,
/DragonOS-0.1.9/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.9/kernel/src/driver/tty/
Dtty_device.rs31 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()
Dtty_driver.rs316 ) -> 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/
Dfdt.rs11 libs::rwlock::RwLock,
360 let global_data_guard: crate::libs::rwlock::RwLockReadGuard<'_, FdtGlobalData> = in reserved_mem_reserve_reg()
Ddevice_node.rs7 libs::rwlock::{RwLockReadGuard, RwLockWriteGuard},
/DragonOS-0.1.9/kernel/src/driver/input/serio/i8042/
Di8042_device.rs16 rwlock::{RwLockReadGuard, RwLockWriteGuard},
Di8042_ports.rs19 rwlock::{RwLockReadGuard, RwLockWriteGuard},
Di8042_driver.rs17 rwlock::{RwLockReadGuard, RwLockWriteGuard},
/DragonOS-0.1.9/kernel/src/driver/net/
Dvirtio_net.rs399 ) -> 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/
Dcpu.rs11 libs::rwlock::{RwLock, RwLockReadGuard, RwLockWriteGuard},
/DragonOS-0.1.9/kernel/src/driver/disk/ahci/
Dmod.rs14 use crate::libs::rwlock::RwLockWriteGuard;
/DragonOS-0.1.9/kernel/src/driver/serial/serial8250/
Dserial8250_pio.rs13 libs::rwlock::RwLock,

123