Searched refs:gsbase (Results 1 – 12 of 12) sorted by relevance
163 unsigned long gsbase; in __rdgsbase_inactive() local169 gsbase = rdgsbase(); in __rdgsbase_inactive()173 rdmsrl(MSR_KERNEL_GS_BASE, gsbase); in __rdgsbase_inactive()177 return gsbase; in __rdgsbase_inactive()188 static noinstr void __wrgsbase_inactive(unsigned long gsbase) in __wrgsbase_inactive() argument194 wrgsbase(gsbase); in __wrgsbase_inactive()198 wrmsrl(MSR_KERNEL_GS_BASE, gsbase); in __wrgsbase_inactive()244 prev_p->thread.gsbase = 0; in save_base_legacy()259 task->thread.gsbase = __rdgsbase_inactive(); in save_fsgs()354 __wrgsbase_inactive(next->gsbase); in x86_fsgsbase_load()[all …]
149 p->thread.gsbase = current->thread.gsbase; in copy_thread()
184 p->thread.gsbase = info.base_addr; in do_set_thread_area()
875 child->thread.gsbase = in putreg32()
20 extern void x86_gsbase_write_task(struct task_struct *task, unsigned long gsbase);35 unsigned long gsbase; in rdgsbase() local37 asm volatile("rdgsbase %0" : "=r" (gsbase) :: "memory"); in rdgsbase()39 return gsbase; in rdgsbase()47 static __always_inline void wrgsbase(unsigned long gsbase) in wrgsbase() argument49 asm volatile("wrgsbase %0" :: "r" (gsbase) : "memory"); in wrgsbase()77 extern void x86_gsbase_write_cpu_inactive(unsigned long gsbase);
178 t->fsbase = t->gsbase = 0; in elf_common_init()
503 unsigned long gsbase; member
91 unsigned long gsbase; in rdgsbase() local93 asm volatile("rdgsbase %0" : "=r" (gsbase) :: "memory"); in rdgsbase()95 return gsbase; in rdgsbase()107 static inline void wrgsbase(unsigned long gsbase) in wrgsbase() argument109 asm volatile("wrgsbase %0" :: "r" (gsbase) : "memory"); in wrgsbase()
100 must use idtentry with paranoid=1 to handle gsbase correctly. This103 - Interrupt entry will use the slower gsbase check.
59 arch_prctl(ARCH_GET_GS, &gsbase);64 arch_prctl(ARCH_SET_GS, gsbase);
1411 wrmsrl(MSR_KERNEL_GS_BASE, current->thread.gsbase); in svm_vcpu_put()
1324 vmx->msr_host_kernel_gs_base = current->thread.gsbase; in vmx_prepare_switch_to_guest()