Home
last modified time | relevance | path

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

1234

/DragonOS/kernel/src/libs/
H A Drwlock.rs394 impl<'rwlock, T> RwLockReadGuard<'rwlock, T> {
405 pub unsafe fn leak(this: Self) -> &'rwlock T { in leak()
411 impl<'rwlock, T> RwLockUpgradableGuard<'rwlock, T> {
415 pub fn try_upgrade(mut self) -> Result<RwLockWriteGuard<'rwlock, T>, Self> { in try_upgrade() argument
442 pub fn upgrade(mut self) -> RwLockWriteGuard<'rwlock, T> { in upgrade() argument
456 pub fn downgrade(mut self) -> RwLockReadGuard<'rwlock, T> { in downgrade() argument
483 pub unsafe fn leak(this: Self) -> &'rwlock T { in leak()
490 impl<'rwlock, T> RwLockWriteGuard<'rwlock, T> {
501 pub unsafe fn leak(this: Self) -> &'rwlock T { in leak()
510 pub fn downgrade(mut self) -> RwLockReadGuard<'rwlock, T> { in downgrade() argument
[all …]
H A Dmod.rs18 pub mod rwlock; module
/DragonOS/docs/kernel/locking/
H A Dindex.rst13 rwlock
H A 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/kernel/src/init/
H A Dmod.rs1 use crate::libs::rwlock::RwLock;
/DragonOS/kernel/src/driver/pci/
H A Ddevice.rs17 rwlock::RwLockWriteGuard,
155 ) -> crate::libs::rwlock::RwLockReadGuard<crate::driver::base::kobject::KObjectState> { in kobj_state()
/DragonOS/kernel/src/driver/firmware/efi/
H A Dmod.rs5 libs::rwlock::{RwLock, RwLockReadGuard, RwLockWriteGuard},
/DragonOS/kernel/src/driver/virtio/
H A Dirq.rs14 libs::rwlock::RwLock,
H A Dvirtio.rs14 use crate::libs::rwlock::RwLockWriteGuard;
/DragonOS/kernel/src/driver/video/
H A Dmod.rs9 rwlock::{RwLock, RwLockReadGuard},
94 let mut frame_buffer_info_guard: crate::libs::rwlock::RwLockWriteGuard<ScmBufferInfo> = in init_frame_buffer()
/DragonOS/kernel/src/driver/rtc/
H A Dmod.rs7 libs::rwlock::RwLock,
/DragonOS/kernel/src/bpf/prog/
H A Dverifier.rs8 use crate::libs::rwlock::RwLock;
/DragonOS/kernel/src/namespaces/
H A Duser_namespace.rs5 use crate::libs::rwlock::RwLock;
/DragonOS/kernel/src/net/
H A Dmod.rs8 use crate::{driver::net::NetDevice, libs::rwlock::RwLock};
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A 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/kernel/src/driver/tty/
H A Dtty_driver.rs30 rwlock::RwLock,
420 ) -> crate::libs::rwlock::RwLockReadGuard<crate::driver::base::kobject::KObjectState> { in kobj_state()
426 ) -> crate::libs::rwlock::RwLockWriteGuard<crate::driver::base::kobject::KObjectState> { in kobj_state_mut()
H A Dtty_device.rs33 rwlock::{RwLock, RwLockWriteGuard},
488 ) -> crate::libs::rwlock::RwLockReadGuard<crate::driver::base::kobject::KObjectState> { in kobj_state()
494 ) -> crate::libs::rwlock::RwLockWriteGuard<crate::driver::base::kobject::KObjectState> { in kobj_state_mut()
/DragonOS/kernel/src/driver/disk/ahci/
H A Dmod.rs18 use crate::libs::rwlock::RwLockWriteGuard;
/DragonOS/kernel/src/debug/kprobe/
H A Dmod.rs2 use crate::libs::rwlock::RwLock;
/DragonOS/kernel/src/driver/open_firmware/
H A Ddevice_node.rs7 libs::rwlock::{RwLockReadGuard, RwLockWriteGuard},
H A Dfdt.rs12 libs::rwlock::RwLock,
400 let global_data_guard: crate::libs::rwlock::RwLockReadGuard<'_, FdtGlobalData> = in reserved_mem_reserve_reg()
/DragonOS/kernel/src/driver/pci/test/
H A Dpt_driver.rs21 libs::rwlock::{RwLock, RwLockReadGuard, RwLockWriteGuard},
/DragonOS/kernel/src/driver/input/serio/i8042/
H A Di8042_ports.rs19 rwlock::{RwLockReadGuard, RwLockWriteGuard},
H A Di8042_device.rs18 rwlock::{RwLockReadGuard, RwLockWriteGuard},
H A Di8042_driver.rs17 rwlock::{RwLockReadGuard, RwLockWriteGuard},

1234