/xen/xen/tools/kconfig/ |
A D | util.c | 34 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 D | lkc.h | 104 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 D | expr.c | 1236 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 D | expr.h | 314 void expr_gstr_print(struct expr *e, struct gstr *gs); 315 void expr_gstr_print_revdep(struct expr *e, struct gstr *gs,
|
A D | symbol.c | 300 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 D | xg_main.c | 537 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 D | xg_public.h | 53 uint32_t gs; member 81 uint32_t gs; member
|
/xen/xen/include/asm-x86/x86_64/ |
A D | elf.h | 31 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 D | gdbstub.c | 54 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 D | traps.c | 49 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 D | kexec_reloc.S | 151 movl %eax, %gs
|
/xen/tools/debugger/gdbsx/gx/ |
A D | gx_local.c | 42 r32p->gs); in prnt_32regs() 62 r64p->ds, r64p->fs, r64p->gs); in prnt_64regs()
|
/xen/xen/arch/x86/boot/ |
A D | trampoline.S | 175 mov %eax,%gs 245 mov %eax,%gs
|
A D | video.S | 51 movw %ax, %gs # GS is zero 714 pushw %gs 718 gs; lodsw
|
A D | x86_64.S | 11 mov %ecx,%gs
|
/xen/xen/arch/x86/hvm/svm/ |
A D | vmcb.c | 119 vmcb->gs.limit = ~0u; in construct_vmcb() 126 vmcb->gs.attr = 0xc93; in construct_vmcb()
|
A D | svmdebug.c | 95 svm_dump_sel(" GS", &vmcb->gs); in svm_vmcb_dump()
|
/xen/tools/debugger/kdd/ |
A D | kdd-xen.c | 212 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 D | kdd.h | 340 int32_t gs; member 371 uint16_t gs; member
|
/xen/xen/arch/x86/acpi/ |
A D | wakeup_prot.S | 56 mov %eax, %gs
|
/xen/xen/include/public/arch-x86/ |
A D | xen-x86_32.h | 154 uint16_t gs, _pad5; member
|
A D | xen-x86_64.h | 207 uint16_t gs, _pad6[3]; member
|
/xen/xen/arch/x86/ |
A D | vm_event.c | 160 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 D | domain.c | 1379 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 D | vm_event.h | 222 struct vm_event_x86_selector_reg gs; member
|