Home
last modified time | relevance | path

Searched refs:get_reg (Results 1 – 12 of 12) sorted by relevance

/arch/m32r/kernel/
Dalign.c11 static int get_reg(struct pt_regs *regs, int nr) in get_reg() function
88 val = get_reg(regs, dest); in emu_addi()
110 val = get_reg(regs, dest); in emu_add()
111 val += get_reg(regs, src); in emu_add()
123 tmp = get_reg(regs, dest); in emu_addx()
125 val += (unsigned int)get_reg(regs, REG2(insn)); in emu_addx()
142 val = get_reg(regs, dest); in emu_and()
143 val &= get_reg(regs, REG2(insn)); in emu_and()
151 if (get_reg(regs, REG1(insn)) < get_reg(regs, REG2(insn))) in emu_cmp()
161 if (get_reg(regs, REG1(insn)) == get_reg(regs, REG2(insn))) in emu_cmpeq()
[all …]
/arch/arc/kernel/
Ddisasm.c118 state->src1 = get_reg(state->wb_reg, regs, cregs); in disasm_instr()
137 state->src1 = get_reg(state->src1, regs, cregs); in disasm_instr()
145 state->src2 = get_reg(state->wb_reg, regs, cregs); in disasm_instr()
190 state->target = get_reg(fieldC, regs, cregs); in disasm_instr()
224 state->src1 = get_reg(state->wb_reg, regs, in disasm_instr()
232 state->src2 = get_reg(state->src2, regs, in disasm_instr()
288 state->src1 = get_reg(FIELD_S_B(state->words[0]), regs, cregs); in disasm_instr()
289 state->src2 = get_reg(FIELD_S_C(state->words[0]), regs, cregs); in disasm_instr()
307 state->target = get_reg(FIELD_S_B(state->words[0]), in disasm_instr()
321 state->target = get_reg(31, regs, cregs); in disasm_instr()
[all …]
Dkgdb.c23 gdb_regs[_R0 + regno] = get_reg(regno, kernel_regs, cregs); in to_gdb_regs()
/arch/cris/arch-v32/kernel/
Dptrace.c41 long get_reg(struct task_struct *task, unsigned int regno) in get_reg() function
90 if (!get_reg(child, PT_SPC)) { in user_enable_single_step()
92 tmp = get_reg(child, PT_ERP) & ~1; in user_enable_single_step()
95 tmp = get_reg(child, PT_CCS) | SBIT_USER; in user_enable_single_step()
106 tmp = get_reg(child, PT_CCS) & ~SBIT_USER; in user_disable_single_step()
170 tmp = get_reg(child, regno); in arch_ptrace()
192 data |= get_reg(child, PT_CCS) & ~CCS_MASK; in arch_ptrace()
205 tmp = get_reg(child, i); in arch_ptrace()
232 tmp |= get_reg(child, PT_CCS) & ~CCS_MASK; in arch_ptrace()
316 unsigned long pc = get_reg(child, PT_ERP); in get_pseudo_pc()
[all …]
/arch/cris/arch-v10/kernel/
Dptrace.c31 inline long get_reg(struct task_struct *task, unsigned int regno) in get_reg() function
102 tmp = get_reg(child, regno); in arch_ptrace()
124 data |= get_reg(child, PT_DCCR) & ~DCCR_MASK; in arch_ptrace()
138 tmp = get_reg(child, i); in arch_ptrace()
165 tmp |= get_reg(child, PT_DCCR) & ~DCCR_MASK; in arch_ptrace()
/arch/m68k/kernel/
Dptrace.c75 static inline long get_reg(struct task_struct *task, int regno) in get_reg() function
129 unsigned long tmp = get_reg(child, PT_SR) & ~TRACE_BITS; in singlestep_disable()
144 unsigned long tmp = get_reg(child, PT_SR) & ~TRACE_BITS; in user_enable_single_step()
152 unsigned long tmp = get_reg(child, PT_SR) & ~TRACE_BITS; in user_enable_block_step()
177 tmp = get_reg(child, regno); in arch_ptrace()
206 data |= get_reg(child, PT_SR) & ~SR_MASK; in arch_ptrace()
227 tmp = get_reg(child, i); in arch_ptrace()
242 tmp |= get_reg(child, PT_SR) & ~SR_MASK; in arch_ptrace()
/arch/alpha/kernel/
Dptrace.c130 get_reg(struct task_struct * task, unsigned long regno) in get_reg() function
185 pc = get_reg(child, REG_PC); in ptrace_set_bpt()
208 task_thread_info(child)->bpt_addr[nsaved++] = get_reg(child, reg_b); in ptrace_set_bpt()
301 ret = get_reg(child, addr); in arch_ptrace()
/arch/parisc/kernel/
Dptrace.c459 static unsigned long get_reg(struct pt_regs *regs, int num) in get_reg() function
548 *k++ = get_reg(regs, pos++); in gpr_get()
551 if (__put_user(get_reg(regs, pos++), u++)) in gpr_get()
628 *k++ = get_reg(regs, pos++); in gpr32_get()
631 if (__put_user((compat_ulong_t) get_reg(regs, pos++), u++)) in gpr32_get()
/arch/c6x/kernel/
Dptrace.c34 static inline long get_reg(struct task_struct *task, int regno) in get_reg() function
/arch/frv/kernel/
Dptrace.c203 static inline long get_reg(struct task_struct *task, int regno) in get_reg() function
275 tmp = get_reg(child, regno); in arch_ptrace()
/arch/blackfin/kernel/
Dptrace.c41 get_reg(struct task_struct *task, unsigned long regno, in get_reg() function
363 ret = get_reg(child, addr, datap); in arch_ptrace()
/arch/arc/include/asm/
Ddisasm.h112 long get_reg(int reg, struct pt_regs *regs, struct callee_regs *cregs);