Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/base/platform/
H A Dplatform_device.rs74 fn set_state(&self, set_state: DeviceState); in set_state() method
113 pdev.set_state(DeviceState::Initialized); in device_add()
175 fn set_state(&self, set_state: BusState) { in set_state() method
177 *state = set_state; in set_state()
/DragonOS/kernel/src/driver/input/serio/i8042/
H A Di8042_device.rs195 fn set_state(&self, set_state: DeviceState) { in set_state() method
196 self.inner.lock().device_state = set_state; in set_state()
/DragonOS/kernel/src/arch/x86_64/driver/
H A Drtc.rs107 fn set_state(&self, set_state: DeviceState) { in set_state() method
108 self.inner().device_state = set_state; in set_state()
/DragonOS/kernel/src/driver/serial/serial8250/
H A Dmod.rs245 fn set_state(&self, set_state: DeviceState) { in set_state() method
246 self.inner.write().device_state = set_state; in set_state()
/DragonOS/kernel/src/process/
H A Dmod.rs234 writer.set_state(ProcessState::Runnable); in wakeup()
274 writer.set_state(ProcessState::Runnable); in wakeup_stop()
318 writer.set_state(ProcessState::Blocked(interruptable)); in mark_sleep()
343 writer.set_state(ProcessState::Stopped); in mark_stop()
391 .set_state(ProcessState::Exited(exit_code)); in exit()
1257 pub fn set_state(&mut self, state: ProcessState) { in set_state() method
/DragonOS/kernel/src/driver/video/fbdev/
H A Dvesafb.rs148 fn set_state(&self, set_state: DeviceState) { in set_state() method
149 self.inner.lock().device_state = set_state; in set_state()
/DragonOS/kernel/src/libs/
H A Dwait_queue.rs56 writer.set_state(ProcessState::Runnable); in finish_wait()
/DragonOS/kernel/src/mm/
H A Dfault.rs130 guard.set_state(ProcessState::Runnable); in handle_mm_fault()
/DragonOS/kernel/src/driver/base/device/
H A Dmod.rs293 pub fn set_state(&mut self, state: DeviceState) { in set_state() method
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.9.md1906 * 修正为在 wakeup 中设置 running ,以保留 set_state 的私有性