Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/driver/input/serio/i8042/
Di8042_device.rs26 kobj_state: LockedKObjectState, field
45 kobj_state: LockedKObjectState::new(None), in new()
153 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
154 self.kobj_state.read() in kobj_state()
158 self.kobj_state.write() in kobj_state_mut()
162 *self.kobj_state.write() = state; in set_kobj_state()
Di8042_ports.rs30 kobj_state: LockedKObjectState, field
57 kobj_state: LockedKObjectState::new(None), in new()
151 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
152 self.kobj_state.read() in kobj_state()
156 self.kobj_state.write() in kobj_state_mut()
160 *self.kobj_state.write() = state; in set_kobj_state()
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-0.1.9/kernel/src/driver/serial/serial8250/
Dmod.rs160 kobj_state: LockedKObjectState, field
170 kobj_state: LockedKObjectState::new(None), in new()
300 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
301 self.kobj_state.read() in kobj_state()
305 self.kobj_state.write() in kobj_state_mut()
309 *self.kobj_state.write() = state; in set_kobj_state()
378 kobj_state: LockedKObjectState, field
387 kobj_state: LockedKObjectState::new(None), in new()
513 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
514 self.kobj_state.read() in kobj_state()
[all …]
/DragonOS-0.1.9/kernel/src/driver/base/
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()
Dcpu.rs112 kobj_state: LockedKObjectState, field
119 kobj_state: LockedKObjectState::new(None), in new()
238 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
239 self.kobj_state.read() in kobj_state()
243 self.kobj_state.write() in kobj_state_mut()
Dkobject.rs53 fn kobj_state(&self) -> RwLockReadGuard<KObjectState>; in kobj_state() method
/DragonOS-0.1.9/kernel/src/driver/base/platform/
Dplatform_device.rs128 kobj_state: LockedKObjectState, field
141 kobj_state: LockedKObjectState::new(None), in new()
251 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
252 self.kobj_state.read() in kobj_state()
256 self.kobj_state.write() in kobj_state_mut()
260 *self.kobj_state.write() = state; in set_kobj_state()
/DragonOS-0.1.9/kernel/src/driver/input/ps2_mouse/
Dps_mouse_driver.rs77 kobj_state: LockedKObjectState, field
93 kobj_state: LockedKObjectState::new(None), in new()
201 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
202 self.kobj_state.read() in kobj_state()
206 self.kobj_state.write() in kobj_state_mut()
210 *self.kobj_state.write() = state; in set_kobj_state()
Dps_mouse_device.rs178 kobj_state: LockedKObjectState, field
214 kobj_state: LockedKObjectState::new(None), in new()
562 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
563 self.kobj_state.read() in kobj_state()
567 self.kobj_state.write() in kobj_state_mut()
571 *self.kobj_state.write() = state; in set_kobj_state()
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/fbcon/
Dmod.rs104 kobj_state: LockedKObjectState, field
120 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-0.1.9/kernel/src/driver/video/fbdev/base/
Dfbmem.rs211 kobj_state: LockedKObjectState, field
231 kobj_state: LockedKObjectState::new(None), in new()
317 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
318 self.kobj_state.read() in kobj_state()
322 self.kobj_state.write() in kobj_state_mut()
326 *self.kobj_state.write() = state; in set_kobj_state()
/DragonOS-0.1.9/kernel/src/driver/tty/
Dtty_device.rs81 kobj_state: LockedKObjectState, field
93 kobj_state: LockedKObjectState::new(None), in new()
399 fn kobj_state( in kobj_state() method
402 self.kobj_state.read() in kobj_state()
408 self.kobj_state.write() in kobj_state_mut()
412 *self.kobj_state.write() = state in set_kobj_state()
Dtty_driver.rs314 fn kobj_state( in kobj_state() method
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/
Dvesafb.rs91 kobj_state: LockedKObjectState, field
116 kobj_state: LockedKObjectState::new(None), in new()
264 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
265 self.kobj_state.read() in kobj_state()
269 self.kobj_state.write() in kobj_state_mut()
273 *self.kobj_state.write() = state; in set_kobj_state()
602 kobj_state: LockedKObjectState, field
617 kobj_state: LockedKObjectState::new(None), in new()
756 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
757 self.kobj_state.read() in kobj_state()
[all …]
/DragonOS-0.1.9/kernel/src/exception/
Dirqdesc.rs80 kobj_state: LockedKObjectState, field
119 kobj_state: LockedKObjectState::new(Some(KObjectState::INITIALIZED)), in new()
577 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
578 self.kobj_state.read() in kobj_state()
582 self.kobj_state.write() in kobj_state_mut()
/DragonOS-0.1.9/kernel/src/driver/open_firmware/
Ddevice_node.rs147 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
/DragonOS-0.1.9/kernel/src/driver/net/e1000e/
De1000e_driver.rs323 fn kobj_state( in kobj_state() method
/DragonOS-0.1.9/kernel/src/driver/net/
Dvirtio_net.rs397 fn kobj_state( in kobj_state() method
/DragonOS-0.1.9/kernel/src/driver/disk/ahci/
Dahcidisk.rs460 fn kobj_state(&self) -> RwLockReadGuard<KObjectState> { in kobj_state() method
/DragonOS-0.1.9/kernel/src/driver/base/device/
Dmod.rs200 self.kobj_state().contains(KObjectState::IN_SYSFS) in is_registered()