Searched refs:KTHREAD (Results 1 – 7 of 7) sorted by relevance
282 .insert(ProcessFlags::KTHREAD); in init_stage1()296 .remove(ProcessFlags::KTHREAD); in init_stage1()305 .contains(ProcessFlags::KTHREAD)); in init_stage2()382 if !pcb.flags().contains(ProcessFlags::KTHREAD) { in stop()429 if !pcb.flags().contains(ProcessFlags::KTHREAD) { in should_stop()459 current_pcb.flags().insert(ProcessFlags::KTHREAD); in kthread_daemon()
402 if current_pcb.flags().contains(ProcessFlags::KTHREAD) { in copy_process()
592 const KTHREAD = 1 << 0; constant703 return matches!(self.flags(), &mut ProcessFlags::KTHREAD); in is_kthread()
72 current_pcb.flags().remove(ProcessFlags::KTHREAD); in switch_to_user()
126 if matches!(self, Signal::SIGKILL) || pcb.flags().contains(ProcessFlags::KTHREAD) { in send_signal()
140 if new_pcb.flags().contains(ProcessFlags::KTHREAD) { in copy_thread()
346 if new_pcb.flags().contains(ProcessFlags::KTHREAD) { in copy_thread()