Lines Matching refs:current_pcb

178     kinfo("initial proc running...\targ:%#018lx, vruntime=%d", arg, current_pcb->virtual_runtime);  in initial_kernel_thread()
205 current_pcb->thread->rip = (ul)ret_from_intr; in initial_kernel_thread()
206 current_pcb->thread->rsp = (ul)current_pcb + STACK_SIZE - sizeof(struct pt_regs); in initial_kernel_thread()
207 current_pcb->thread->fs = USER_DS | 0x3; in initial_kernel_thread()
209 current_pcb->thread->gs = USER_DS | 0x3; in initial_kernel_thread()
210 process_switch_fsgs(current_pcb->thread->fs, current_pcb->thread->gs); in initial_kernel_thread()
213 current_pcb->flags &= (~PF_KTHREAD); in initial_kernel_thread()
214 kdebug("in initial_kernel_thread: flags=%ld", current_pcb->flags); in initial_kernel_thread()
216 regs = (struct pt_regs *)current_pcb->thread->rsp; in initial_kernel_thread()
218 current_pcb->flags = 0; in initial_kernel_thread()
223 "jmp rs_exec_init_process \n\t" ::"D"(current_pcb->thread->rsp), in initial_kernel_thread()
224 "m"(current_pcb->thread->rsp), "m"(current_pcb->thread->rip), "c"(NULL), in initial_kernel_thread()
237 wait_queue_wakeup(&current_pcb->parent_pcb->wait_child_proc_exit, PROC_INTERRUPTIBLE); in process_exit_notify()
250 struct process_control_block *pcb = current_pcb; in process_do_exit()
335 initial_proc_init_signal(current_pcb); in process_init()
343 current_pcb->virtual_runtime = 0; in process_init()
356 current_pcb->virtual_runtime = (1UL << 60); in process_init()
416 current_pcb->flags |= PF_NEED_SCHED; in process_wakeup_immediately()
418 if (pcb->cpu_id == current_pcb->cpu_id) in process_wakeup_immediately()