Home
last modified time | relevance | path

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

1234

/DragonOS/kernel/src/libs/
H A Drwlock.rs393 impl<'rwlock, T> RwLockReadGuard<'rwlock, T> {
404 pub unsafe fn leak(this: Self) -> &'rwlock T { in leak()
410 impl<'rwlock, T> RwLockUpgradableGuard<'rwlock, T> {
414 pub fn try_upgrade(mut self) -> Result<RwLockWriteGuard<'rwlock, T>, Self> { in try_upgrade() argument
441 pub fn upgrade(mut self) -> RwLockWriteGuard<'rwlock, T> { in upgrade() argument
455 pub fn downgrade(mut self) -> RwLockReadGuard<'rwlock, T> { in downgrade() argument
482 pub unsafe fn leak(this: Self) -> &'rwlock T { in leak()
489 impl<'rwlock, T> RwLockWriteGuard<'rwlock, T> {
500 pub unsafe fn leak(this: Self) -> &'rwlock T { in leak()
509 pub fn downgrade(mut self) -> RwLockReadGuard<'rwlock, T> { in downgrade() argument
[all …]
H A Dmod.rs18 pub mod rwlock; module
H A Dnotifier.rs4 use crate::libs::{rwlock::RwLock, spinlock::SpinLock};
/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::{RwLock, RwLockWriteGuard},
162 ) -> 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,
/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/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,
401 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},
H A Dpt_device.rs26 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