Home
last modified time | relevance | path

Searched refs:set_state (Results 1 – 8 of 8) sorted by relevance

/DragonOS-0.1.9/kernel/src/driver/base/platform/
Dplatform_device.rs73 fn set_state(&self, set_state: DeviceState); in set_state() method
109 pdev.set_state(DeviceState::Initialized); in device_add()
172 fn set_state(&self, set_state: BusState) { in set_state() method
174 *state = set_state; in set_state()
/DragonOS-0.1.9/kernel/src/driver/input/serio/i8042/
Di8042_device.rs187 fn set_state(&self, set_state: DeviceState) { in set_state() method
188 self.inner.lock().device_state = set_state; in set_state()
/DragonOS-0.1.9/kernel/src/driver/serial/serial8250/
Dmod.rs207 fn set_state(&self, set_state: DeviceState) { in set_state() method
208 self.inner.write().device_state = set_state; in set_state()
/DragonOS-0.1.9/kernel/src/process/
Dmod.rs210 writer.set_state(ProcessState::Runnable); in wakeup()
236 writer.set_state(ProcessState::Runnable); in wakeup_stop()
271 writer.set_state(ProcessState::Blocked(interruptable)); in mark_sleep()
296 writer.set_state(ProcessState::Stopped); in mark_stop()
343 .set_state(ProcessState::Exited(exit_code)); in exit()
1047 pub fn set_state(&mut self, state: ProcessState) { in set_state() method
/DragonOS-0.1.9/kernel/src/sched/
Dcore.rs125 writer.set_state(ProcessState::Runnable); in do_sched()
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/
Dvesafb.rs170 fn set_state(&self, set_state: DeviceState) { in set_state() method
171 self.inner.lock().device_state = set_state; in set_state()
/DragonOS-0.1.9/kernel/src/driver/base/device/
Dmod.rs226 pub fn set_state(&mut self, state: DeviceState) { in set_state() method
/DragonOS-0.1.9/docs/community/ChangeLog/V0.1.x/
DV0.1.9.md1905 * 修正为在 wakeup 中设置 running ,以保留 set_state 的私有性