Searched refs:arch_info (Results 1 – 6 of 6) sorted by relevance
71 let mut arch_info = pcb.arch_info_irqsave(); in do_arch_prctl_64() localVariable74 unsafe { arch_info.save_fsbase() }; in do_arch_prctl_64()80 writer.copy_one_to_user(&arch_info.fsbase, 0)?; in do_arch_prctl_64()83 unsafe { arch_info.save_gsbase() }; in do_arch_prctl_64()89 writer.copy_one_to_user(&arch_info.gsbase, 0)?; in do_arch_prctl_64()92 arch_info.fsbase = arg2; in do_arch_prctl_64()95 unsafe { arch_info.restore_fsbase() } in do_arch_prctl_64()99 arch_info.gsbase = arg2; in do_arch_prctl_64()101 unsafe { arch_info.restore_gsbase() } in do_arch_prctl_64()
312 let mut new_arch_guard = unsafe { new_pcb.arch_info() }; in copy_thread()
485 prev_pcb.arch_info.force_unlock(); in switch_finish_hook()488 next_pcb.arch_info.force_unlock(); in switch_finish_hook()634 arch_info: SpinLock<ArchPCBInfo>, field726 let arch_info = SpinLock::new(ArchPCBInfo::new(&kstack)); in do_create_pcb() localVariable742 arch_info, in do_create_pcb()762 pcb.arch_info in do_create_pcb()853 return self.arch_info.lock_irqsave(); in arch_info_irqsave()865 pub unsafe fn arch_info(&self) -> SpinLockGuard<ArchPCBInfo> { in arch_info() method866 return self.arch_info.lock(); in arch_info()
398 unsafe { pcb.arch_info().clone_from(&guard) }; in copy_process()
387 let mut arch_info = guard.arch_info_irqsave(); in restore_sigcontext() localVariable390 *arch_info.cr2_mut() = self.cr2 as usize; in restore_sigcontext()393 *arch_info.fp_state_mut() = self.reserved_for_x87_state; in restore_sigcontext()394 arch_info.restore_fp_state(); in restore_sigcontext()
114 let mut new_arch_guard = unsafe { new_pcb.arch_info() }; in copy_thread()