Searched refs:PF_KFORK (Results 1 – 2 of 2) sorted by relevance
65 tsk->flags |= PF_KFORK; in do_fork()137 tsk->flags &= ~PF_KFORK; in do_fork()252 if (pcb->flags & PF_KFORK) // 内核态下的fork in process_copy_thread()274 if (pcb->flags & PF_KFORK) in process_copy_thread()285 if (pcb->flags & PF_KFORK) in process_copy_thread()287 else if (pcb->flags & PF_KTHREAD && (!(pcb->flags & PF_KFORK))) in process_copy_thread()
67 #define PF_KFORK (1UL << 3) // 标志在内核态下调用fork(临时标记,do_fork()结束后会将其复位) macro