Searched refs:PF_KTHREAD (Results 1 – 6 of 6) sorted by relevance
/DragonOS-0.1.5/kernel/src/process/ |
D | proc-types.h | 64 #define PF_KTHREAD (1UL << 0) // 内核线程 macro
|
D | fork.c | 62 if ((current_pcb->flags & PF_KTHREAD) && stack_start != 0) in do_fork() 65 if (tsk->flags & PF_KTHREAD) in do_fork() 365 else if (pcb->flags & PF_KTHREAD && (!(pcb->flags & PF_KFORK))) in process_copy_thread()
|
D | process.c | 54 ….state = PROC_UNINTERRUPTIBLE, .flags = PF_KTHREAD, .preempt_count = 0, .signal = 0, .cpu_id = 0, … 442 if (!(current_pcb->flags & PF_KTHREAD)) in do_execve() 595 current_pcb->flags &= (~PF_KTHREAD); in initial_kernel_thread() 876 if ((pcb->flags & PF_KTHREAD)) // 释放内核线程的worker private结构体 in process_release_pcb()
|
D | kthread.c | 46 WARN_ON(!(pcb->flags & PF_KTHREAD)); in to_kthread()
|
/DragonOS-0.1.5/kernel/src/smp/ |
D | smp.c | 166 current_pcb->flags = PF_KTHREAD; in smp_ap_start()
|
/DragonOS-0.1.5/kernel/src/ipc/ |
D | signal.rs | 11 PF_KTHREAD, PF_SIGNALED, PF_WAKEKILL, PROC_INTERRUPTIBLE, USER_CS, USER_DS, 271 if sig == SignalNumber::SIGKILL || (pcb.flags & (PF_KTHREAD as u64)) != 0 { in __send_signal_locked()
|