Home
last modified time | relevance | path

Searched refs:KTHREAD (Results 1 – 7 of 7) sorted by relevance

/DragonOS/kernel/src/process/
H A Dkthread.rs282 .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()
H A Dfork.rs402 if current_pcb.flags().contains(ProcessFlags::KTHREAD) { in copy_process()
H A Dmod.rs592 const KTHREAD = 1 << 0; constant
703 return matches!(self.flags(), &mut ProcessFlags::KTHREAD); in is_kthread()
/DragonOS/kernel/src/init/
H A Dinitial_kthread.rs72 current_pcb.flags().remove(ProcessFlags::KTHREAD); in switch_to_user()
/DragonOS/kernel/src/ipc/
H A Dsignal.rs126 if matches!(self, Signal::SIGKILL) || pcb.flags().contains(ProcessFlags::KTHREAD) { in send_signal()
/DragonOS/kernel/src/arch/riscv64/process/
H A Dmod.rs140 if new_pcb.flags().contains(ProcessFlags::KTHREAD) { in copy_thread()
/DragonOS/kernel/src/arch/x86_64/process/
H A Dmod.rs346 if new_pcb.flags().contains(ProcessFlags::KTHREAD) { in copy_thread()