Home
last modified time | relevance | path

Searched refs:next_pcb (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.8/kernel/src/process/
Dprocess.c59 ….virtual_runtime = 0, .fds = {0}, .next_pcb = &proc, .prev_pcb = &proc, .parent_pcb = &proc, .exit…
369 struct process_control_block *pcb = initial_proc_union.pcb.next_pcb; in process_find_pcb_by_pid()
372 for (; pcb != &initial_proc_union.pcb; pcb = pcb->next_pcb) in process_find_pcb_by_pid()
459 pcb->prev_pcb->next_pcb = pcb->next_pcb; in process_release_pcb()
460 pcb->next_pcb->prev_pcb = pcb->prev_pcb; in process_release_pcb()
Dprocess.h158 #define process_switch_mm(next_pcb) \ argument
161 asm volatile("movq %0, %%cr3 \n\t" ::"r"(next_pcb->mm->pgd) \
Dfork.c86 tsk->next_pcb = initial_proc_union.pcb.next_pcb; in do_fork()
88 initial_proc_union.pcb.next_pcb = tsk; in do_fork()
Dproc-types.h114 struct process_control_block *prev_pcb, *next_pcb; member