Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/arch/x86_64/mm/
Dmod.rs17 next_pcb: &'static mut process_control_block, in switch_mm()
21 let pml4t = unsafe { read_volatile(&next_pcb.mm.as_ref().unwrap().pgd) }; in switch_mm()
27 return next_pcb; in switch_mm()
/DragonOS-0.1.5/kernel/src/process/
Dprocess.h169 #define process_switch_mm(next_pcb) … argument
172 …asm volatile("movq %0, %%cr3 \n\t" ::"r"(next_pcb->mm->pgd) : "memory"); …
Dprocess.c56 ….virtual_runtime = 0, .fds = {0}, .next_pcb = &proc, .prev_pcb = &proc, .parent_pcb = &proc, .exit…
739 struct process_control_block *pcb = initial_proc_union.pcb.next_pcb; in process_find_pcb_by_pid()
742 for (; pcb != &initial_proc_union.pcb; pcb = pcb->next_pcb) in process_find_pcb_by_pid()
881 pcb->prev_pcb->next_pcb = pcb->next_pcb; in process_release_pcb()
882 pcb->next_pcb->prev_pcb = pcb->prev_pcb; in process_release_pcb()
Dproc-types.h117 struct process_control_block *prev_pcb, *next_pcb; member
Dfork.c84 tsk->next_pcb = initial_proc_union.pcb.next_pcb; in do_fork()
86 initial_proc_union.pcb.next_pcb = tsk; in do_fork()