/DragonOS/kernel/src/driver/base/ |
H A D | kobject.rs | 54 fn kobj_state(&self) -> RwLockReadGuard<KObjectState>; in kobj_state() 56 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState>; in kobj_state_mut() 58 fn set_kobj_state(&self, state: KObjectState); in set_kobj_state() 63 pub fn update_kobj_state(&self, insert: Option<KObjectState>, remove: Option<KObjectState>) { in update_kobj_state()
|
H A D | kset.rs | 170 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() 174 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 202 fn set_kobj_state(&self, state: KObjectState) { in set_kobj_state()
|
H A D | cpu.rs | 249 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() 253 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 257 fn set_kobj_state(&self, state: KObjectState) { in set_kobj_state()
|
/DragonOS/kernel/src/driver/open_firmware/ |
H A D | device_node.rs | 147 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() 151 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 155 fn set_kobj_state(&self, _state: KObjectState) { in set_kobj_state()
|
/DragonOS/kernel/src/driver/pci/test/ |
H A D | pt_driver.rs | 160 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() 164 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 168 fn set_kobj_state(&self, state: KObjectState) { in set_kobj_state()
|
H A D | pt_device.rs | 214 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() 218 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 222 fn set_kobj_state(&self, state: KObjectState) { in set_kobj_state()
|
/DragonOS/kernel/src/driver/input/serio/i8042/ |
H A D | i8042_driver.rs | 179 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() 183 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 187 fn set_kobj_state(&self, state: KObjectState) { in set_kobj_state()
|
H A D | i8042_ports.rs | 162 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() 166 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 170 fn set_kobj_state(&self, state: KObjectState) { in set_kobj_state()
|
H A D | i8042_device.rs | 165 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() 169 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 173 fn set_kobj_state(&self, state: KObjectState) { in set_kobj_state()
|
/DragonOS/kernel/src/driver/rtc/ |
H A D | rtc_cmos.rs | 194 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() 198 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 202 fn set_kobj_state(&self, state: KObjectState) { in set_kobj_state()
|
H A D | sysfs.rs | 232 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() 236 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 240 fn set_kobj_state(&self, state: KObjectState) { in set_kobj_state()
|
/DragonOS/kernel/src/driver/serial/serial8250/ |
H A D | mod.rs | 346 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() 350 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 354 fn set_kobj_state(&self, state: KObjectState) { in set_kobj_state() 545 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() 549 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 553 fn set_kobj_state(&self, state: KObjectState) { in set_kobj_state()
|
/DragonOS/kernel/src/driver/pci/ |
H A D | raw_device.rs | 220 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() 224 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 228 fn set_kobj_state(&self, state: KObjectState) { in set_kobj_state()
|
H A D | device.rs | 162 ) -> crate::libs::rwlock::RwLockReadGuard<crate::driver::base::kobject::KObjectState> { in kobj_state() 166 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 170 fn set_kobj_state(&self, state: KObjectState) { in set_kobj_state()
|
/DragonOS/kernel/src/driver/input/ps2_mouse/ |
H A D | ps_mouse_driver.rs | 202 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() 206 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 210 fn set_kobj_state(&self, state: KObjectState) { in set_kobj_state()
|
/DragonOS/kernel/src/arch/x86_64/driver/ |
H A D | rtc.rs | 221 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() 225 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 229 fn set_kobj_state(&self, state: KObjectState) { in set_kobj_state()
|
/DragonOS/kernel/src/driver/net/ |
H A D | virtio_net.rs | 179 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() 183 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 187 fn set_kobj_state(&self, state: KObjectState) { in set_kobj_state() 761 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() 765 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 769 fn set_kobj_state(&self, state: KObjectState) { in set_kobj_state() 970 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() 974 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 978 fn set_kobj_state(&self, state: KObjectState) { in set_kobj_state()
|
H A D | loopback.rs | 364 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() 368 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 372 fn set_kobj_state(&self, state: KObjectState) { in set_kobj_state()
|
/DragonOS/kernel/src/driver/block/ |
H A D | virtio_blk.rs | 460 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() 464 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 468 fn set_kobj_state(&self, state: KObjectState) { in set_kobj_state() 651 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() 655 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 659 fn set_kobj_state(&self, state: KObjectState) { in set_kobj_state()
|
/DragonOS/kernel/src/driver/base/platform/ |
H A D | platform_device.rs | 246 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() 250 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 254 fn set_kobj_state(&self, state: KObjectState) { in set_kobj_state()
|
/DragonOS/kernel/src/driver/disk/ahci/ |
H A D | ahcidisk.rs | 435 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() 439 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 443 fn set_kobj_state(&self, _state: KObjectState) { in set_kobj_state()
|
/DragonOS/kernel/src/driver/video/fbdev/ |
H A D | vesafb.rs | 262 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() 266 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 270 fn set_kobj_state(&self, state: KObjectState) { in set_kobj_state() 850 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() 854 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 858 fn set_kobj_state(&self, state: KObjectState) { in set_kobj_state()
|
/DragonOS/kernel/src/driver/net/e1000e/ |
H A D | e1000e_driver.rs | 420 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() 424 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 428 fn set_kobj_state(&self, state: KObjectState) { in set_kobj_state()
|
/DragonOS/kernel/src/driver/video/fbdev/base/ |
H A D | fbmem.rs | 319 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() 323 fn kobj_state_mut(&self) -> RwLockWriteGuard<KObjectState> { in kobj_state_mut() 327 fn set_kobj_state(&self, state: KObjectState) { in set_kobj_state()
|
/DragonOS/kernel/src/driver/tty/ |
H A D | tty_device.rs | 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() 498 fn set_kobj_state(&self, state: crate::driver::base::kobject::KObjectState) { in set_kobj_state()
|