Home
last modified time | relevance | path

Searched refs:kobj_state (Results 1 – 25 of 30) sorted by relevance

12

/DragonOS/kernel/src/driver/pci/test/
H A Dpt_driver.rs28 kobj_state: LockedKObjectState, field
40 kobj_state: LockedKObjectState::new(None), in new()
160 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
161 self.kobj_state.read() in kobj_state()
165 self.kobj_state.write() in kobj_state_mut()
169 *self.kobj_state.write() = state; in set_kobj_state()
H A Dpt_device.rs38 kobj_state: LockedKObjectState, field
49 kobj_state: LockedKObjectState::new(None), in new()
214 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
215 self.kobj_state.read() in kobj_state()
219 self.kobj_state.write() in kobj_state_mut()
223 *self.kobj_state.write() = state; in set_kobj_state()
/DragonOS/kernel/src/driver/input/serio/i8042/
H A Di8042_ports.rs30 kobj_state: LockedKObjectState, field
47 kobj_state: LockedKObjectState::new(None), in new()
162 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
163 self.kobj_state.read() in kobj_state()
167 self.kobj_state.write() in kobj_state_mut()
171 *self.kobj_state.write() = state; in set_kobj_state()
H A Di8042_device.rs28 kobj_state: LockedKObjectState, field
42 kobj_state: LockedKObjectState::new(None), in new()
165 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
166 self.kobj_state.read() in kobj_state()
170 self.kobj_state.write() in kobj_state_mut()
174 *self.kobj_state.write() = state; in set_kobj_state()
H A Di8042_driver.rs28 kobj_state: LockedKObjectState, field
44 kobj_state: LockedKObjectState::new(None), in new()
179 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
180 self.kobj_state.read() in kobj_state()
184 self.kobj_state.write() in kobj_state_mut()
188 *self.kobj_state.write() = state; in set_kobj_state()
/DragonOS/kernel/src/driver/pci/
H A Draw_device.rs28 kobj_state: LockedKObjectState, field
44 let kobj_state = LockedKObjectState::new(None); in from() localVariable
54 kobj_state, in from()
220 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
221 self.kobj_state.read() in kobj_state()
225 self.kobj_state.write() in kobj_state_mut()
229 *self.kobj_state.write() = state; in set_kobj_state()
H A Ddevice.rs102 kobj_state: LockedKObjectState, field
113 kobj_state: LockedKObjectState::new(None), in new()
160 fn kobj_state( in kobj_state() method
163 self.kobj_state.read() in kobj_state()
167 self.kobj_state.write() in kobj_state_mut()
171 *self.kobj_state.write() = state; in set_kobj_state()
/DragonOS/kernel/src/driver/serial/serial8250/
H A Dmod.rs202 kobj_state: LockedKObjectState, field
212 kobj_state: LockedKObjectState::new(None), in new()
346 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
347 self.kobj_state.read() in kobj_state()
351 self.kobj_state.write() in kobj_state_mut()
355 *self.kobj_state.write() = state; in set_kobj_state()
414 kobj_state: LockedKObjectState, field
423 kobj_state: LockedKObjectState::new(None), in new()
545 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
546 self.kobj_state.read() in kobj_state()
[all …]
/DragonOS/kernel/src/driver/base/
H A Dkset.rs25 kobj_state: LockedKObjectState, field
51 kobj_state: LockedKObjectState::new(None), in new()
170 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
171 self.kobj_state.read() in kobj_state()
175 self.kobj_state.write() in kobj_state_mut()
203 *self.kobj_state.write() = state; in set_kobj_state()
H A Dcpu.rs117 kobj_state: LockedKObjectState, field
124 kobj_state: LockedKObjectState::new(None), in new()
249 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
250 self.kobj_state.read() in kobj_state()
254 self.kobj_state.write() in kobj_state_mut()
H A Dkobject.rs54 fn kobj_state(&self) -> RwLockReadGuard<KObjectState>; in kobj_state() method
/DragonOS/kernel/src/driver/base/platform/
H A Dplatform_device.rs132 kobj_state: LockedKObjectState, field
145 kobj_state: LockedKObjectState::new(None), in new()
246 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
247 self.kobj_state.read() in kobj_state()
251 self.kobj_state.write() in kobj_state_mut()
255 *self.kobj_state.write() = state; in set_kobj_state()
/DragonOS/kernel/src/driver/input/ps2_mouse/
H A Dps_mouse_driver.rs78 kobj_state: LockedKObjectState, field
94 kobj_state: LockedKObjectState::new(None), in new()
202 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
203 self.kobj_state.read() in kobj_state()
207 self.kobj_state.write() in kobj_state_mut()
211 *self.kobj_state.write() = state; in set_kobj_state()
H A Dps_mouse_device.rs179 kobj_state: LockedKObjectState, field
210 kobj_state: LockedKObjectState::new(None), in new()
572 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
573 self.kobj_state.read() in kobj_state()
577 self.kobj_state.write() in kobj_state_mut()
581 *self.kobj_state.write() = state; in set_kobj_state()
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/
H A Dmod.rs104 kobj_state: LockedKObjectState, field
116 kobj_state: LockedKObjectState::new(None), in new()
171 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
172 self.kobj_state.read() in kobj_state()
176 self.kobj_state.write() in kobj_state_mut()
180 *self.kobj_state.write() = state; in set_kobj_state()
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Dfbmem.rs213 kobj_state: LockedKObjectState, field
231 kobj_state: LockedKObjectState::new(None), in new()
319 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
320 self.kobj_state.read() in kobj_state()
324 self.kobj_state.write() in kobj_state_mut()
328 *self.kobj_state.write() = state; in set_kobj_state()
/DragonOS/kernel/src/driver/rtc/
H A Dsysfs.rs48 kobj_state: LockedKObjectState, field
78 kobj_state: LockedKObjectState::new(None), in new()
232 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
233 self.kobj_state.read() in kobj_state()
237 self.kobj_state.write() in kobj_state_mut()
H A Drtc_cmos.rs194 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
/DragonOS/kernel/src/driver/block/
H A Dvirtio_blk.rs460 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
495 kobj_state: LockedKObjectState, field
512 kobj_state: LockedKObjectState::default(), in new()
651 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
652 self.kobj_state.read() in kobj_state()
656 self.kobj_state.write() in kobj_state_mut()
660 *self.kobj_state.write() = state; in set_kobj_state()
/DragonOS/kernel/src/driver/video/fbdev/
H A Dvesafb.rs79 kobj_state: LockedKObjectState, field
99 kobj_state: LockedKObjectState::new(None), in new()
262 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
263 self.kobj_state.read() in kobj_state()
267 self.kobj_state.write() in kobj_state_mut()
271 *self.kobj_state.write() = state; in set_kobj_state()
696 kobj_state: LockedKObjectState, field
711 kobj_state: LockedKObjectState::new(None), in new()
850 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
851 self.kobj_state.read() in kobj_state()
[all …]
/DragonOS/kernel/src/driver/tty/
H A Dtty_device.rs104 kobj_state: LockedKObjectState, field
116 kobj_state: LockedKObjectState::new(None), in new()
486 fn kobj_state( in kobj_state() method
489 self.kobj_state.read() in kobj_state()
495 self.kobj_state.write() in kobj_state_mut()
499 *self.kobj_state.write() = state in set_kobj_state()
/DragonOS/kernel/src/driver/net/
H A Dvirtio_net.rs179 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
761 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
796 kobj_state: LockedKObjectState, field
813 kobj_state: LockedKObjectState::default(), in new()
970 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
971 self.kobj_state.read() in kobj_state()
975 self.kobj_state.write() in kobj_state_mut()
979 *self.kobj_state.write() = state; in set_kobj_state()
/DragonOS/kernel/src/exception/
H A Dirqdesc.rs81 kobj_state: LockedKObjectState, field
121 kobj_state: LockedKObjectState::new(Some(KObjectState::INITIALIZED)), in new()
602 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
603 self.kobj_state.read() in kobj_state()
607 self.kobj_state.write() in kobj_state_mut()
/DragonOS/kernel/src/driver/open_firmware/
H A Ddevice_node.rs147 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
/DragonOS/kernel/src/arch/x86_64/driver/
H A Drtc.rs221 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method

12