Searched refs:set_preempt_count (Results 1 – 2 of 2) sorted by relevance
228 unsafe { ProcessManager::current_pcb().set_preempt_count(prev_count) }; in do_softirq()
824 pub unsafe fn set_preempt_count(&self, count: usize) { in set_preempt_count() method