Searched refs:gs (Results 51 - 75 of 122) sorted by relevance

12345

/linux-master/arch/x86/realmode/rm/
H A Dreboot.S64 movl %ecx, %gs
H A Dtrampoline_64.S132 movl %edx, %gs
241 movl %edx, %gs
/linux-master/arch/x86/boot/
H A Dpmjump.S54 movl %ecx, %gs
H A Dboot.h67 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 Dvm86_32.c134 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 Dftrace_32.S107 * We do _NOT_ restore: ss, flags, cs, gs, fs, es, ds
118 pushl %gs
H A Dprocess_64.c71 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 Dhead_32.S79 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 Dptrace.h41 * 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 Dsegment.h326 #define __loadsegment_gs(value) __loadsegment_simple(gs, (value))
H A Dmmu_context.h184 loadsegment(gs, 0); \
/linux-master/scripts/kconfig/
H A Dexpr.h300 void expr_gstr_print(struct expr *e, struct gstr *gs);
301 void expr_gstr_print_revdep(struct expr *e, struct gstr *gs,
H A Dexpr.c1241 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 Dsymbol.c301 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 Dfsgsbase_restore.c37 # 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 Dxo1-wakeup.S44 movw %ax, %gs
/linux-master/tools/testing/selftests/rseq/
H A Drseq-x86.h118 #define RSEQ_ASM_TP_SEGMENT %%gs
/linux-master/arch/arm/boot/dts/microchip/
H A DMakefile95 lan966x-kontron-kswitch-d10-mmt-6g-2gs.dtb \
/linux-master/scripts/dtc/include-prefixes/arm/microchip/
H A DMakefile95 lan966x-kontron-kswitch-d10-mmt-6g-2gs.dtb \
/linux-master/arch/x86/boot/compressed/
H A Defi_mixed.S142 movl %ebx, %gs
184 movl %edx, %gs
H A Dhead_64.S116 movl %eax, %gs
307 movl %eax, %gs
/linux-master/arch/x86/entry/
H A Dentry_64.S740 * 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 Dget_address.c50 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 Dsmm.c36 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 Dzfcp_aux.c435 zfcp_fc_wka_ports_force_offline(adapter->gs);
456 zfcp_fc_wka_ports_force_offline(adapter->gs);

Completed in 199 milliseconds

12345