Searched refs:arch_info (Results 1 – 5 of 5) sorted by relevance
138 let mut arch_info = pcb.arch_info_irqsave(); in do_arch_prctl_64() localVariable141 unsafe { arch_info.save_fsbase() }; in do_arch_prctl_64()147 writer.copy_one_to_user(&arch_info.fsbase, 0)?; in do_arch_prctl_64()150 unsafe { arch_info.save_gsbase() }; in do_arch_prctl_64()156 writer.copy_one_to_user(&arch_info.gsbase, 0)?; in do_arch_prctl_64()159 arch_info.fsbase = arg2; in do_arch_prctl_64()162 unsafe { arch_info.restore_fsbase() } in do_arch_prctl_64()166 arch_info.gsbase = arg2; in do_arch_prctl_64()168 unsafe { arch_info.restore_gsbase() } in do_arch_prctl_64()
329 let mut new_arch_guard = unsafe { new_pcb.arch_info() }; in copy_thread()
414 prev_pcb.arch_info.force_unlock(); in switch_finish_hook()415 next_pcb.arch_info.force_unlock(); in switch_finish_hook()561 arch_info: SpinLock<ArchPCBInfo>, field622 let arch_info = SpinLock::new(ArchPCBInfo::new(&kstack)); in do_create_pcb() localVariable638 arch_info, in do_create_pcb()651 pcb.arch_info in do_create_pcb()738 return self.arch_info.lock_irqsave(); in arch_info_irqsave()750 pub unsafe fn arch_info(&self) -> SpinLockGuard<ArchPCBInfo> { in arch_info() method751 return self.arch_info.lock(); in arch_info()
362 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.clone(); in restore_sigcontext()394 arch_info.restore_fp_state(); in restore_sigcontext()