Home
last modified time | relevance | path

Searched defs:KObjectState (Results 1 – 25 of 30) sorted by relevance

12

/DragonOS/kernel/src/driver/base/
H A Dkobject.rs54 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 Dkset.rs170 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 Dcpu.rs249 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 Ddevice_node.rs147 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 Dpt_driver.rs160 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 Dpt_device.rs214 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 Di8042_driver.rs179 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 Di8042_ports.rs162 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 Di8042_device.rs165 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 Drtc_cmos.rs194 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 Dsysfs.rs232 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 Dmod.rs346 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 Draw_device.rs220 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 Ddevice.rs162 ) -> 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 Dps_mouse_driver.rs202 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 Drtc.rs221 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 Dvirtio_net.rs179 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 Dloopback.rs364 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 Dvirtio_blk.rs460 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 Dplatform_device.rs246 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 Dahcidisk.rs435 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 Dvesafb.rs262 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 De1000e_driver.rs420 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 Dfbmem.rs319 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 Dtty_device.rs488 ) -> 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()

12