Lines Matching +full:64 +full:fs

8  *  X86-64 port
23 #include <linux/fs.h>
71 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L, fs, gs, shadowgs; in __show_regs() local
98 rdmsrl(MSR_FS_BASE, fs); in __show_regs()
101 log_lvl, fs, shadowgs); in __show_regs()
107 asm("movl %%fs,%0" : "=r" (fsindex)); in __show_regs()
110 rdmsrl(MSR_FS_BASE, fs); in __show_regs()
120 log_lvl, fs, fsindex, gs, gsindex, shadowgs); in __show_regs()
152 FS, enumerator
230 * Saves the FS or GS base for an outgoing thread if FSGSBASE extensions are
247 * context switch between 64-bit programs), and avoiding in save_base_legacy()
267 if (which == FS) in save_base_legacy()
276 savesegment(fs, task->thread.fsindex); in save_fsgs()
287 save_base_legacy(task, task->thread.fsindex, FS); in save_fsgs()
312 if (which == FS) in loadseg()
313 loadsegment(fs, sel); in loadseg()
326 * The next task is using 64-bit TLS, is not using this in load_seg_legacy()
356 wrmsrl(which == FS ? MSR_FS_BASE : MSR_KERNEL_GS_BASE, in load_seg_legacy()
395 /* Update the FS and GS selectors if they could have changed. */ in x86_fsgsbase_load()
397 loadseg(FS, next->fsindex); in x86_fsgsbase_load()
406 next->fsindex, next->fsbase, FS); in x86_fsgsbase_load()
538 loadsegment(fs, __USER_DS); in start_thread_common()
544 loadsegment(fs, 0); in start_thread_common()
603 * - could test fs/gs bitsliced
622 /* We must save %fs and %gs before load_TLS() because in __switch_to()
623 * %fs and %gs may be cleared by load_TLS(). in __switch_to()
719 /* Make sure to be in 64bit mode */ in set_personality_64bit()
721 /* Pretend that this comes from a 64bit execve */ in set_personality_64bit()
728 But 64bit processes have always behaved this way, in set_personality_64bit()
900 * Not strictly needed for %fs, but do it for symmetry in do_arch_prctl_64()
912 loadseg(FS, 0); in do_arch_prctl_64()