Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/process/
Dfork.c62 tsk->flags |= PF_KFORK; in do_fork()
134 tsk->flags &= ~PF_KFORK; in do_fork()
355 if (pcb->flags & PF_KFORK) // 内核态下的fork in process_copy_thread()
376 if (pcb->flags & PF_KFORK) in process_copy_thread()
388 if (pcb->flags & PF_KFORK) in process_copy_thread()
390 else if (pcb->flags & PF_KTHREAD && (!(pcb->flags & PF_KFORK))) in process_copy_thread()
Dproc-types.h66 #define PF_KFORK (1UL << 3) // 标志在内核态下调用fork(临时标记,do_fork()结束后会将其复位) macro