Lines Matching refs:tmp
82 unsigned long tmp; in user_enable_single_step() local
90 tmp = get_reg(child, PT_ERP) & ~1; in user_enable_single_step()
91 put_reg(child, PT_SPC, tmp); in user_enable_single_step()
93 tmp = get_reg(child, PT_CCS) | SBIT_USER; in user_enable_single_step()
94 put_reg(child, PT_CCS, tmp); in user_enable_single_step()
102 unsigned long tmp; in user_disable_single_step() local
104 tmp = get_reg(child, PT_CCS) & ~SBIT_USER; in user_disable_single_step()
105 put_reg(child, PT_CCS, tmp); in user_disable_single_step()
137 unsigned long tmp; in arch_ptrace() local
148 tmp = *(unsigned long*)addr; in arch_ptrace()
150 copied = access_process_vm(child, addr, &tmp, sizeof(tmp), 0); in arch_ptrace()
152 if (copied != sizeof(tmp)) in arch_ptrace()
156 ret = put_user(tmp,datap); in arch_ptrace()
162 unsigned long tmp; in arch_ptrace() local
168 tmp = get_reg(child, regno); in arch_ptrace()
169 ret = put_user(tmp, datap); in arch_ptrace()
200 unsigned long tmp; in arch_ptrace() local
203 tmp = get_reg(child, i); in arch_ptrace()
205 if (put_user(tmp, datap)) { in arch_ptrace()
220 unsigned long tmp; in arch_ptrace() local
223 if (get_user(tmp, datap)) { in arch_ptrace()
229 tmp &= CCS_MASK; in arch_ptrace()
230 tmp |= get_reg(child, PT_CCS) & ~CCS_MASK; in arch_ptrace()
233 put_reg(child, i, tmp); in arch_ptrace()
346 unsigned long tmp; in deconfigure_bp() local
352 tmp = get_debugreg(pid, PT_BP_CTRL) & ~(3 << (2 + (bp * 4))); in deconfigure_bp()
353 put_debugreg(pid, PT_BP_CTRL, tmp); in deconfigure_bp()