Lines Matching refs:PT_SR
99 tmp = get_reg(child, PT_SR) & ~(TRACE_BITS << 16); in ptrace_disable()
100 put_reg(child, PT_SR, tmp); in ptrace_disable()
170 if (addr == PT_SR) in sys_ptrace()
205 if (addr == PT_SR) { in sys_ptrace()
208 data |= get_reg(child, PT_SR) & ~(SR_MASK << 16); in sys_ptrace()
246 tmp = get_reg(child, PT_SR) & ~(TRACE_BITS << 16); in sys_ptrace()
247 put_reg(child, PT_SR, tmp); in sys_ptrace()
266 tmp = get_reg(child, PT_SR) & ~(TRACE_BITS << 16); in sys_ptrace()
267 put_reg(child, PT_SR, tmp); in sys_ptrace()
279 tmp = get_reg(child, PT_SR) | (TRACE_BITS << 16); in sys_ptrace()
280 put_reg(child, PT_SR, tmp); in sys_ptrace()
298 if (i == PT_SR) in sys_ptrace()
318 if (i == PT_SR) { in sys_ptrace()
321 tmp |= get_reg(child, PT_SR) & ~(SR_MASK << 16); in sys_ptrace()