Searched refs:set_state (Results 1 – 10 of 10) sorted by relevance
74 fn set_state(&self, set_state: DeviceState); in set_state() method113 pdev.set_state(DeviceState::Initialized); in device_add()175 fn set_state(&self, set_state: BusState) { in set_state() method177 *state = set_state; in set_state()
195 fn set_state(&self, set_state: DeviceState) { in set_state() method196 self.inner.lock().device_state = set_state; in set_state()
107 fn set_state(&self, set_state: DeviceState) { in set_state() method108 self.inner().device_state = set_state; in set_state()
245 fn set_state(&self, set_state: DeviceState) { in set_state() method246 self.inner.write().device_state = set_state; in set_state()
234 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
148 fn set_state(&self, set_state: DeviceState) { in set_state() method149 self.inner.lock().device_state = set_state; in set_state()
56 writer.set_state(ProcessState::Runnable); in finish_wait()
130 guard.set_state(ProcessState::Runnable); in handle_mm_fault()
293 pub fn set_state(&mut self, state: DeviceState) { in set_state() method
1906 * 修正为在 wakeup 中设置 running ,以保留 set_state 的私有性