Home
last modified time | relevance | path

Searched refs:gsbase (Results 1 – 9 of 9) sorted by relevance

/arch/x86/include/asm/
A Dfsgsbase.h20 extern void x86_gsbase_write_task(struct task_struct *task, unsigned long gsbase);
35 unsigned long gsbase; in rdgsbase() local
37 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() argument
49 asm volatile("wrgsbase %0" :: "r" (gsbase) : "memory"); in wrgsbase()
77 extern void x86_gsbase_write_cpu_inactive(unsigned long gsbase);
A Delf.h161 t->fsbase = t->gsbase = 0; in elf_common_init()
A Dprocessor.h466 unsigned long gsbase; member
/arch/x86/kernel/
A Dprocess_64.c167 unsigned long gsbase; in __rdgsbase_inactive() local
195 gsbase = rdgsbase(); in __rdgsbase_inactive()
203 return gsbase; in __rdgsbase_inactive()
221 wrgsbase(gsbase); in __wrgsbase_inactive()
271 prev_p->thread.gsbase = 0; in save_base_legacy()
458 unsigned long gsbase; in x86_gsbase_read_cpu_inactive() local
470 return gsbase; in x86_gsbase_read_cpu_inactive()
503 unsigned long gsbase; in x86_gsbase_read_task() local
509 gsbase = task->thread.gsbase; in x86_gsbase_read_task()
513 return gsbase; in x86_gsbase_read_task()
[all …]
A Dtls.c179 p->thread.gsbase = info.base_addr; in do_set_thread_area()
A Dprocess.c188 p->thread.gsbase = current->thread.gsbase; in copy_thread()
A Dptrace.c905 child->thread.gsbase = in putreg32()
/arch/x86/kvm/vmx/
A Dtdx.c782 vt->msr_host_kernel_gs_base = current->thread.gsbase; in tdx_prepare_switch_to_guest()
A Dvmx.c1287 vt->msr_host_kernel_gs_base = current->thread.gsbase; in vmx_prepare_switch_to_guest()

Completed in 34 milliseconds