Lines Matching refs:flags
57 ….state = PROC_UNINTERRUPTIBLE, .flags = PF_KTHREAD, .preempt_count = 0, .signal = 0, .cpu_id = 0, …
359 if (current_pcb->flags & PF_VFORK) in do_execve()
384 if (!(current_pcb->flags & PF_KTHREAD)) in do_execve()
402 current_pcb->flags &= ~PF_VFORK; in do_execve()
509 current_pcb->flags &= (~PF_KTHREAD); in initial_kernel_thread()
510 kdebug("in initial_kernel_thread: flags=%ld", current_pcb->flags); in initial_kernel_thread()
514 current_pcb->flags = 0; in initial_kernel_thread()
573 pid_t kernel_thread(int (*fn)(void *), void *arg, unsigned long flags) in kernel_thread() argument
602 return do_fork(®s, flags | CLONE_VM, 0, 0); in kernel_thread()
703 current_pcb->flags |= PF_NEED_SCHED; in process_wakeup_immediately()
715 if (!(pcb->flags & PF_VFORK)) in process_exit_files()
737 if (pcb->flags & CLONE_VM) in process_exit_mm()
811 if ((pcb->flags & PF_KTHREAD)) // 释放内核线程的worker private结构体 in process_release_pcb()