Home
last modified time | relevance | path

Searched refs:gs (Results 1 – 25 of 38) sorted by relevance

12

/xen/xen/tools/kconfig/
A Dutil.c34 struct gstr gs; in str_new() local
36 gs.len = 64; in str_new()
37 gs.max_width = 0; in str_new()
39 return gs; in str_new()
45 if (gs->s) in str_free()
46 free(gs->s); in str_free()
47 gs->s = NULL; in str_free()
48 gs->len = 0; in str_free()
58 gs->s = xrealloc(gs->s, l); in str_append()
59 gs->len = l; in str_append()
[all …]
A Dlkc.h104 void str_free(struct gstr *gs);
105 void str_append(struct gstr *gs, const char *s);
106 void str_printf(struct gstr *gs, const char *fmt, ...);
107 const char *str_get(struct gstr *gs);
A Dexpr.c1236 struct gstr *gs = (struct gstr*)data; in expr_print_gstr_helper() local
1242 if (gs->max_width) { in expr_print_gstr_helper()
1244 const char *last_cr = strrchr(gs->s, '\n'); in expr_print_gstr_helper()
1251 last_cr = gs->s; in expr_print_gstr_helper()
1253 last_line_length = strlen(gs->s) - (last_cr - gs->s); in expr_print_gstr_helper()
1255 if ((last_line_length + extra_length) > gs->max_width) in expr_print_gstr_helper()
1256 str_append(gs, "\\\n"); in expr_print_gstr_helper()
1259 str_append(gs, str); in expr_print_gstr_helper()
1261 str_printf(gs, " [=%s]", sym_str); in expr_print_gstr_helper()
1264 void expr_gstr_print(struct expr *e, struct gstr *gs) in expr_gstr_print() argument
[all …]
A Dexpr.h314 void expr_gstr_print(struct expr *e, struct gstr *gs);
315 void expr_gstr_print_revdep(struct expr *e, struct gstr *gs,
A Dsymbol.c300 struct gstr gs = str_new(); in sym_warn_unmet_dep() local
302 str_printf(&gs, in sym_warn_unmet_dep()
305 str_printf(&gs, in sym_warn_unmet_dep()
308 expr_gstr_print(sym->dir_dep.expr, &gs); in sym_warn_unmet_dep()
309 str_printf(&gs, "\n"); in sym_warn_unmet_dep()
311 expr_gstr_print_revdep(sym->rev_dep.expr, &gs, yes, in sym_warn_unmet_dep()
313 expr_gstr_print_revdep(sym->rev_dep.expr, &gs, mod, in sym_warn_unmet_dep()
316 fputs(str_get(&gs), stderr); in sym_warn_unmet_dep()
/xen/tools/debugger/gdbsx/xg/
A Dxg_main.c537 rp->gs = cp->gs; in _cp_32ctxt_to_32gdb()
559 rp->gs = cp->gs; in _cp_64ctxt_to_32gdb()
590 rp->gs = cp->gs; in _cp_64ctxt_to_64gdb()
616 cp->gs = rp->gs; in _cp_32gdb_to_32ctxt()
637 cp->gs = rp->gs; in _cp_32gdb_to_64ctxt()
668 cp->gs = (uint16_t)rp->gs; in _cp_64gdb_to_64ctxt()
A Dxg_public.h53 uint32_t gs; member
81 uint32_t gs; member
/xen/xen/include/asm-x86/x86_64/
A Delf.h31 unsigned long gs; member
65 asm volatile("movl %%gs, %%eax;" :"=a"(core_regs->gs)); in elf_core_save_regs()
/xen/xen/arch/x86/x86_64/
A Dgdbstub.c54 GDB_REG32(regs->gs); in gdb_arch_read_reg_array()
97 case 23: GDB_REG32(regs->gs); break; in gdb_arch_read_reg()
136 case 23: regs->gs = (u16)val; break; in gdb_arch_write_reg()
A Dtraps.c49 regs->gs = read_sreg(gs); in read_registers()
93 regs->gs, regs->ss, regs->cs); in _show_registers()
121 fault_regs.gs = sreg.sel; in show_registers()
A Dkexec_reloc.S151 movl %eax, %gs
/xen/tools/debugger/gdbsx/gx/
A Dgx_local.c42 r32p->gs); in prnt_32regs()
62 r64p->ds, r64p->fs, r64p->gs); in prnt_64regs()
/xen/xen/arch/x86/boot/
A Dtrampoline.S175 mov %eax,%gs
245 mov %eax,%gs
A Dvideo.S51 movw %ax, %gs # GS is zero
714 pushw %gs
718 gs; lodsw
A Dx86_64.S11 mov %ecx,%gs
/xen/xen/arch/x86/hvm/svm/
A Dvmcb.c119 vmcb->gs.limit = ~0u; in construct_vmcb()
126 vmcb->gs.attr = 0xc93; in construct_vmcb()
A Dsvmdebug.c95 svm_dump_sel(" GS", &vmcb->gs); in svm_vmcb_dump()
/xen/tools/debugger/kdd/
A Dkdd-xen.c212 r->gs = cpu->gs_sel; in kdd_get_regs_x86_32()
233 cpu->gs_sel = r->gs; in kdd_set_regs_x86_32()
263 r->gs = cpu->gs_sel; in kdd_get_regs_x86_64()
298 cpu->gs_sel = r->gs; in kdd_set_regs_x86_64()
A Dkdd.h340 int32_t gs; member
371 uint16_t gs; member
/xen/xen/arch/x86/acpi/
A Dwakeup_prot.S56 mov %eax, %gs
/xen/xen/include/public/arch-x86/
A Dxen-x86_32.h154 uint16_t gs, _pad5; member
A Dxen-x86_64.h207 uint16_t gs, _pad6[3]; member
/xen/xen/arch/x86/
A Dvm_event.c160 reg->gs.limit = seg.g ? seg.limit >> 12 : seg.limit; in vm_event_pack_segment_register()
161 reg->gs.ar = seg.attr; in vm_event_pack_segment_register()
A Ddomain.c1379 if ( cpu_has_svm && !compat && (uregs->fs | uregs->gs) <= 3 ) in load_segments()
1395 TRY_LOAD_SEG(gs, uregs->gs); in load_segments()
1449 put_user(uregs->gs, esp-4) | in load_segments()
1486 put_user(uregs->gs, rsp- 6) | in load_segments()
1528 regs->gs = read_sreg(gs); in save_segments()
/xen/xen/include/public/
A Dvm_event.h222 struct vm_event_x86_selector_reg gs; member

Completed in 33 milliseconds

12