Searched refs:fsbase (Results 1 – 8 of 8) sorted by relevance
19 extern void x86_fsbase_write_task(struct task_struct *task, unsigned long fsbase);26 unsigned long fsbase; in rdfsbase() local28 asm volatile("rdfsbase %0" : "=r" (fsbase) :: "memory"); in rdfsbase()30 return fsbase; in rdfsbase()42 static __always_inline void wrfsbase(unsigned long fsbase) in wrfsbase() argument44 asm volatile("wrfsbase %0" :: "r" (fsbase) : "memory"); in wrfsbase()58 unsigned long fsbase; in x86_fsbase_read_cpu() local61 fsbase = rdfsbase(); in x86_fsbase_read_cpu()63 rdmsrl(MSR_FS_BASE, fsbase); in x86_fsbase_read_cpu()65 return fsbase; in x86_fsbase_read_cpu()[all …]
178 t->fsbase = t->gsbase = 0; in elf_common_init()
502 unsigned long fsbase; member
242 prev_p->thread.fsbase = 0; in save_base_legacy()258 task->thread.fsbase = rdfsbase(); in save_fsgs()353 wrfsbase(next->fsbase); in x86_fsgsbase_load()356 load_seg_legacy(prev->fsindex, prev->fsbase, in x86_fsgsbase_load()357 next->fsindex, next->fsbase, FS); in x86_fsgsbase_load()438 unsigned long fsbase; in x86_fsbase_read_task() local441 fsbase = x86_fsbase_read_cpu(); in x86_fsbase_read_task()444 fsbase = task->thread.fsbase; in x86_fsbase_read_task()446 fsbase = x86_fsgsbase_read_task(task, task->thread.fsindex); in x86_fsbase_read_task()448 return fsbase; in x86_fsbase_read_task()[all …]
181 p->thread.fsbase = info.base_addr; in do_set_thread_area()
147 p->thread.fsbase = current->thread.fsbase; in copy_thread()
866 child->thread.fsbase = in putreg32()
1322 fs_base = current->thread.fsbase; in vmx_prepare_switch_to_guest()