Searched refs:kernel_stack (Results 1 – 5 of 5) sorted by relevance
14 .kernel_stack() in rs_get_idle_stack_top()
626 kernel_stack: RwLock<KernelStack>, field738 kernel_stack: RwLock::new(kstack), in do_create_pcb()774 pcb.kernel_stack in do_create_pcb()870 pub fn kernel_stack(&self) -> RwLockReadGuard<KernelStack> { in kernel_stack() method871 return self.kernel_stack.read(); in kernel_stack()875 self.kernel_stack.force_get_ref() in kernel_stack_force_ref()881 return self.kernel_stack.write(); in kernel_stack_mut()
57 current_pcb.kernel_stack().stack_max_address().data() - core::mem::size_of::<TrapFrame>(), in arch_switch_to_user()115 let kernel_stack_guard = new_pcb.kernel_stack(); in copy_thread()216 let mut sp = task.kernel_stack().stack_max_address().data(); in task_trapframe()
313 let kernel_stack_guard = new_pcb.kernel_stack(); in copy_thread()405 next.kernel_stack().stack_max_address().data() as u64, in switch_process()515 current_pcb.kernel_stack().stack_max_address().data() - core::mem::size_of::<TrapFrame>(), in arch_switch_to_user()
85 current_idle.kernel_stack().stack_max_address().data() as u64, in smp_ap_start_stage1()