Searched refs:PF_KTHREAD (Results 1 – 6 of 6) sorted by relevance
/DragonOS-0.1.8/kernel/src/process/ |
D | fork.c | 64 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()
|
D | process.c | 57 ….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()
|
D | proc-types.h | 64 #define PF_KTHREAD (1UL << 0) // 内核线程 macro
|
D | kthread.c | 46 WARN_ON(!(pcb->flags & PF_KTHREAD)); in to_kthread()
|
/DragonOS-0.1.8/kernel/src/smp/ |
D | smp.c | 176 current_pcb->flags = PF_KTHREAD; in smp_ap_start()
|
/DragonOS-0.1.8/kernel/src/ipc/ |
D | signal.rs | 16 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()
|