Searched refs:next_pcb (Results 1 – 5 of 5) sorted by relevance
17 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()
169 #define process_switch_mm(next_pcb) … argument172 …asm volatile("movq %0, %%cr3 \n\t" ::"r"(next_pcb->mm->pgd) : "memory"); …
56 ….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()
117 struct process_control_block *prev_pcb, *next_pcb; member
84 tsk->next_pcb = initial_proc_union.pcb.next_pcb; in do_fork()86 initial_proc_union.pcb.next_pcb = tsk; in do_fork()