Home
last modified time | relevance | path

Searched refs:PF_KFORK (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/process/
Dfork.c65 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()
Dproc-types.h67 #define PF_KFORK (1UL << 3) // 标志在内核态下调用fork(临时标记,do_fork()结束后会将其复位) macro