Home
last modified time | relevance | path

Searched refs:regoff (Results 1 – 3 of 3) sorted by relevance

/arch/x86/lib/
Dinsn-eval.c132 static bool check_seg_overrides(struct insn *insn, int regoff) in check_seg_overrides() argument
134 if (regoff == offsetof(struct pt_regs, di) && is_string_insn(insn)) in check_seg_overrides()
259 static int resolve_seg_reg(struct insn *insn, struct pt_regs *regs, int regoff) in resolve_seg_reg() argument
269 if (regoff == offsetof(struct pt_regs, ip)) { in resolve_seg_reg()
279 if (!check_seg_overrides(insn, regoff)) in resolve_seg_reg()
280 return resolve_default_seg(insn, regs, regoff); in resolve_seg_reg()
287 return resolve_default_seg(insn, regs, regoff); in resolve_seg_reg()
402 static const int regoff[] = { in get_reg_offset() local
422 int nr_registers = ARRAY_SIZE(regoff); in get_reg_offset()
483 return regoff[regno]; in get_reg_offset()
[all …]
/arch/m68k/kernel/
Dptrace.c50 static const int regoff[] = { variable
81 else if (regno < ARRAY_SIZE(regoff)) in get_reg()
82 addr = (unsigned long *)(task->thread.esp0 + regoff[regno]); in get_reg()
106 else if (regno < ARRAY_SIZE(regoff)) in put_reg()
107 addr = (unsigned long *)(task->thread.esp0 + regoff[regno]); in put_reg()
/arch/alpha/kernel/
Dptrace.c83 static int regoff[] = { variable
121 addr = task_stack_page(task) + regoff[regno]; in get_reg_addr()