Home
last modified time | relevance | path

Searched refs:PF_KTHREAD (Results 1 – 6 of 6) sorted by relevance

/DragonOS-0.1.8/kernel/src/process/
Dfork.c64 if ((current_pcb->flags & PF_KTHREAD) && stack_start != 0) in do_fork()
67 if (tsk->flags & PF_KTHREAD) in do_fork()
287 else if (pcb->flags & PF_KTHREAD && (!(pcb->flags & PF_KFORK))) in process_copy_thread()
Dprocess.c57 ….state = PROC_UNINTERRUPTIBLE, .flags = PF_KTHREAD, .preempt_count = 0, .signal = 0, .cpu_id = 0, …
213 current_pcb->flags &= (~PF_KTHREAD); in initial_kernel_thread()
454 if ((pcb->flags & PF_KTHREAD)) // 释放内核线程的worker private结构体 in process_release_pcb()
Dproc-types.h64 #define PF_KTHREAD (1UL << 0) // 内核线程 macro
Dkthread.c46 WARN_ON(!(pcb->flags & PF_KTHREAD)); in to_kthread()
/DragonOS-0.1.8/kernel/src/smp/
Dsmp.c176 current_pcb->flags = PF_KTHREAD; in smp_ap_start()
/DragonOS-0.1.8/kernel/src/ipc/
Dsignal.rs16 spinlock_t, verify_area, NULL, PF_EXITING, PF_KTHREAD, PF_SIGNALED, PF_WAKEKILL,
232 if sig == SignalNumber::SIGKILL || (pcb.flags & (PF_KTHREAD as u64)) != 0 { in __send_signal_locked()