Searched refs:PF_KTHREAD (Results 1 – 6 of 6) sorted by relevance
/DragonOS-0.1.2/kernel/src/process/ |
D | proc-types.h | 63 #define PF_KTHREAD (1UL << 0) // 内核线程 macro
|
D | fork.c | 61 if ((current_pcb->flags & PF_KTHREAD) && stack_start != 0) in do_fork() 64 if (tsk->flags & PF_KTHREAD) in do_fork() 390 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, … 384 if (!(current_pcb->flags & PF_KTHREAD)) in do_execve() 509 current_pcb->flags &= (~PF_KTHREAD); in initial_kernel_thread() 811 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.2/kernel/src/smp/ |
D | smp.c | 160 current_pcb->flags = PF_KTHREAD; in smp_ap_start()
|
/DragonOS-0.1.2/kernel/src/ipc/ |
D | signal.rs | 11 PF_KTHREAD, PF_SIGNALED, PF_WAKEKILL, PROC_INTERRUPTIBLE, USER_CS, USER_DS, 257 if sig == SignalNumber::SIGKILL || (pcb.flags & (PF_KTHREAD as u64)) != 0 { in __send_signal_locked()
|