/linux-master/arch/x86/realmode/rm/ |
H A D | reboot.S | 64 movl %ecx, %gs
|
H A D | trampoline_64.S | 132 movl %edx, %gs 241 movl %edx, %gs
|
/linux-master/arch/x86/boot/ |
H A D | pmjump.S | 54 movl %ecx, %gs
|
H A D | boot.h | 67 asm volatile("movw %0,%%gs" : : "rm" (seg)); 69 static inline u16 gs(void) function 72 asm volatile("movw %%gs,%0" : "=rm" (seg)); 120 asm volatile("movb %%gs:%1,%0" : "=q" (v) : "m" (*ptr)); 127 asm volatile("movw %%gs:%1,%0" : "=r" (v) : "m" (*ptr)); 134 asm volatile("movl %%gs:%1,%0" : "=r" (v) : "m" (*ptr)); 141 asm volatile("movb %1,%%gs:%0" : "+m" (*ptr) : "qi" (v)); 146 asm volatile("movw %1,%%gs:%0" : "+m" (*ptr) : "ri" (v)); 151 asm volatile("movl %1,%%gs:%0" : "+m" (*ptr) : "ri" (v)); 165 asm volatile("gs; rep 230 u16 gs, fs; member in struct:biosregs::__anon66::__anon68 [all...] |
/linux-master/arch/x86/kernel/ |
H A D | vm86_32.c | 134 unsafe_put_user(regs->gs, &user->regs.gs, Efault_end); 154 loadsegment(gs, vm86->regs32.gs); 272 vm86regs.gs = v.regs.gs; 328 savesegment(gs, vm86->regs32.gs);
|
H A D | ftrace_32.S | 107 * We do _NOT_ restore: ss, flags, cs, gs, fs, es, ds 118 pushl %gs
|
H A D | process_64.c | 71 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L, fs, gs, shadowgs; local 108 asm("movl %%gs,%0" : "=r" (gsindex)); 111 rdmsrl(MSR_GS_BASE, gs); 120 log_lvl, fs, fsindex, gs, gsindex, shadowgs); 277 savesegment(gs, task->thread.gsindex); 603 * - could test fs/gs bitsliced 622 /* We must save %fs and %gs before load_TLS() because 623 * %fs and %gs may be cleared by load_TLS(). 879 * with %gs 887 * as %gs abov [all...] |
H A D | head_32.S | 79 movl %eax,%gs 150 movl %eax,%gs 289 movl %eax,%gs # clear possible garbage in %gs 327 /* The vector number is in pt_regs->gs */ 349 /* Load GS into pt_regs->gs (and maybe clobber __gsh) */ 350 movw %gs, PT_GS(%esp) 365 popl %gs /* pt_regs->gs (always ignores __gsh) */
|
/linux-master/arch/x86/include/asm/ |
H A D | ptrace.h | 41 * On interrupt, gs and __gsh store the vector number. They never 42 * store gs any more. 44 unsigned short gs; member in struct:pt_regs 343 offset == offsetof(struct pt_regs, gs)) {
|
H A D | segment.h | 326 #define __loadsegment_gs(value) __loadsegment_simple(gs, (value))
|
H A D | mmu_context.h | 184 loadsegment(gs, 0); \
|
/linux-master/scripts/kconfig/ |
H A D | expr.h | 300 void expr_gstr_print(struct expr *e, struct gstr *gs); 301 void expr_gstr_print_revdep(struct expr *e, struct gstr *gs,
|
H A D | expr.c | 1241 struct gstr *gs = (struct gstr*)data; local 1247 if (gs->max_width) { 1249 const char *last_cr = strrchr(gs->s, '\n'); 1256 last_cr = gs->s; 1258 last_line_length = strlen(gs->s) - (last_cr - gs->s); 1260 if ((last_line_length + extra_length) > gs->max_width) 1261 str_append(gs, "\\\n"); 1264 str_append(gs, str); 1266 str_printf(gs, " [ 1269 expr_gstr_print(struct expr *e, struct gstr *gs) argument 1298 expr_gstr_print_revdep(struct expr *e, struct gstr *gs, tristate pr_type, const char *title) argument [all...] |
H A D | symbol.c | 301 struct gstr gs = str_new(); local 303 str_printf(&gs, 306 str_printf(&gs, 309 expr_gstr_print(sym->dir_dep.expr, &gs); 310 str_printf(&gs, "\n"); 312 expr_gstr_print_revdep(sym->rev_dep.expr, &gs, yes, 314 expr_gstr_print_revdep(sym->rev_dep.expr, &gs, mod, 317 fputs(str_get(&gs), stderr);
|
/linux-master/tools/testing/selftests/x86/ |
H A D | fsgsbase_restore.c | 37 # define SEG "%gs" 194 printf("\tChild GS=0x%lx, GSBASE=0x%lx\n", (unsigned long)regs.gs, (unsigned long)regs.gs_base);
|
/linux-master/arch/x86/platform/olpc/ |
H A D | xo1-wakeup.S | 44 movw %ax, %gs
|
/linux-master/tools/testing/selftests/rseq/ |
H A D | rseq-x86.h | 118 #define RSEQ_ASM_TP_SEGMENT %%gs
|
/linux-master/arch/arm/boot/dts/microchip/ |
H A D | Makefile | 95 lan966x-kontron-kswitch-d10-mmt-6g-2gs.dtb \
|
/linux-master/scripts/dtc/include-prefixes/arm/microchip/ |
H A D | Makefile | 95 lan966x-kontron-kswitch-d10-mmt-6g-2gs.dtb \
|
/linux-master/arch/x86/boot/compressed/ |
H A D | efi_mixed.S | 142 movl %ebx, %gs 184 movl %edx, %gs
|
H A D | head_64.S | 116 movl %eax, %gs 307 movl %eax, %gs
|
/linux-master/arch/x86/entry/ |
H A D | entry_64.S | 740 * Reload gs selector with exception handling 750 movl %edi, %gs 758 swapgs /* switch back to user gs */ 762 movl %eax, %gs 766 movl %eax, %gs 832 movl %gs, %ecx
|
/linux-master/arch/x86/math-emu/ |
H A D | get_address.c | 50 offsetof(struct kernel_vm86_regs, gs), 155 /* user gs handling can be lazy, use special accessors */ 156 savesegment(gs, addr->selector);
|
/linux-master/arch/x86/kvm/ |
H A D | smm.c | 36 CHECK_SMRAM32_OFFSET(gs, 0xFF44); 66 CHECK_SMRAM64_OFFSET(gs, 0xFE50); 217 enter_smm_save_seg_32(vcpu, &smram->gs, &smram->gs_sel, VCPU_SREG_GS); 268 enter_smm_save_seg_64(vcpu, &smram->gs, VCPU_SREG_GS); 494 rsm_load_seg_32(vcpu, &smstate->gs, smstate->gs_sel, VCPU_SREG_GS); 555 rsm_load_seg_64(vcpu, &smstate->gs, VCPU_SREG_GS);
|
/linux-master/drivers/s390/scsi/ |
H A D | zfcp_aux.c | 435 zfcp_fc_wka_ports_force_offline(adapter->gs); 456 zfcp_fc_wka_ports_force_offline(adapter->gs);
|