Searched refs:gs (Results 1 - 25 of 122) sorted by last modified time

12345

/linux-master/drivers/usb/gadget/
H A Dcomposite.c1434 struct usb_gadget_strings *gs; local
1455 gs = gs_array[n_gs];
1457 gs->language = sp[n_gs]->language;
1458 gs->strings = stash;
/linux-master/arch/x86/include/asm/
H A Dprocessor.h271 unsigned short gs, __gsh; member in struct:x86_hw_tss
391 * GCC hardcodes the stack canary as %gs:40. Since the
392 * irq_stack is the object at %gs:0, we reserve the bottom
447 unsigned long gs; member in struct:thread_struct
H A Dsuspend_32.h26 * On x86_32, all segment registers except gs are saved at kernel
29 u16 gs; member in struct:saved_context
H A Dhyperv-tlfs.h769 struct hv_x64_segment_register gs; member in struct:hv_init_vp_context
/linux-master/drivers/pinctrl/intel/
H A Dpinctrl-intel.h145 #define __INTEL_COMMUNITY(b, s, e, g, n, gs, gn, soc) \
153 .gpp_size = (gs), \
164 #define INTEL_COMMUNITY_SIZE(b, s, e, gs, gn, soc) \
165 __INTEL_COMMUNITY(b, s, e, NULL, 0, gs, gn, soc)
/linux-master/drivers/pinctrl/
H A Dcore.c467 int gs; local
472 gs = pinctrl_get_group_selector(pctldev, pin_group);
473 if (gs < 0)
474 return gs;
476 return pctlops->get_group_pins(pctldev, gs, pins, num_pins);
/linux-master/arch/x86/kernel/
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 Dsev.c1044 vmsa->gs = vmsa->ds;
/linux-master/arch/x86/kvm/
H A Dx86.c11547 kvm_get_segment(vcpu, &sregs->gs, VCPU_SREG_GS);
11787 kvm_set_segment(vcpu, &sregs->gs, VCPU_SREG_GS);
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);
H A Demulate.c2799 tss->gs = get_segment_selector(ctxt, VCPU_SREG_GS);
2834 set_segment_selector(ctxt, tss->gs, VCPU_SREG_GS);
2877 ret = __load_segment_descriptor(ctxt, tss->gs, VCPU_SREG_GS, cpl,
/linux-master/arch/x86/kvm/vmx/
H A Dvmx.c1315 * Set host fs and gs selectors. Unfortunately, 22.2.3 does not
1333 savesegment(gs, gs_sel);
1341 savesegment(gs, gs_sel);
1369 loadsegment(gs, host_state->gs_sel);
/linux-master/arch/x86/kvm/svm/
H A Dsvm.c1303 init_seg(&save->gs);
1695 case VCPU_SREG_GS: return &save01->gs;
3383 "gs:",
3384 save01->gs.selector, save01->gs.attrib,
3385 save01->gs.limit, save01->gs.base);
/linux-master/tools/arch/x86/include/uapi/asm/
H A Dkvm.h146 struct kvm_segment cs, ds, es, fs, gs, ss; member in struct:kvm_sregs
157 struct kvm_segment cs, ds, es, fs, gs, ss; member in struct:kvm_sregs2
/linux-master/drivers/net/
H A Dgeneve.c126 static sa_family_t geneve_get_sk_family(struct geneve_sock *gs) argument
128 return gs->sock->sk->sk_family;
131 static struct geneve_dev *geneve_lookup(struct geneve_sock *gs, argument
140 vni_list_head = &gs->vni_list[hash];
150 static struct geneve_dev *geneve6_lookup(struct geneve_sock *gs, argument
159 vni_list_head = &gs->vni_list[hash];
174 static struct geneve_dev *geneve_lookup_skb(struct geneve_sock *gs, argument
180 if (geneve_get_sk_family(gs) == AF_INET) {
186 if (gs->collect_md) {
194 return geneve_lookup(gs, add
218 geneve_rx(struct geneve_dev *geneve, struct geneve_sock *gs, struct sk_buff *skb) argument
362 struct geneve_sock *gs; local
411 struct geneve_sock *gs; local
585 struct geneve_sock *gs; local
622 __geneve_sock_release(struct geneve_sock *gs) argument
655 struct geneve_sock *gs; local
671 struct geneve_sock *gs; local
1162 struct geneve_sock *gs; local
[all...]
/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/tools/testing/selftests/kvm/include/x86_64/
H A Dprocessor.h525 uint16_t gs; local
527 __asm__ __volatile__("mov %%gs, %[gs]"
528 : /* output */ [gs]"=rm"(gs));
529 return gs;
/linux-master/arch/x86/include/uapi/asm/
H A Dkvm.h146 struct kvm_segment cs, ds, es, fs, gs, ss; member in struct:kvm_sregs
157 struct kvm_segment cs, ds, es, fs, gs, ss; member in struct:kvm_sregs2
/linux-master/scripts/kconfig/
H A Dlkc.h76 void str_free(struct gstr *gs);
77 void str_append(struct gstr *gs, const char *s);
78 void str_printf(struct gstr *gs, const char *fmt, ...);
79 char *str_get(struct gstr *gs);
H A Dutil.c59 struct gstr gs; local
60 gs.s = xmalloc(sizeof(char) * 64);
61 gs.len = 64;
62 gs.max_width = 0;
63 strcpy(gs.s, "\0");
64 return gs;
68 void str_free(struct gstr *gs) argument
70 free(gs->s);
71 gs->s = NULL;
72 gs
76 str_append(struct gstr *gs, const char *s) argument
90 str_printf(struct gstr *gs, const char *fmt, ...) argument
101 str_get(struct gstr *gs) 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);
H A Dpreprocess.h12 void env_write_dep(struct gstr *gs);
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,
/linux-master/arch/x86/boot/compressed/
H A Defi_mixed.S142 movl %ebx, %gs
184 movl %edx, %gs
/linux-master/tools/testing/selftests/kvm/lib/x86_64/
H A Dprocessor.c89 segment_dump(stream, &sregs->gs, indent + 2);
1165 kvm_seg_set_kernel_data_64bit(NULL, DEFAULT_DATA_SELECTOR, &sregs.gs);

Completed in 420 milliseconds

12345