Lines Matching refs:nsaved
181 int displ, i, res, reg_b, nsaved = 0; in ptrace_set_bpt() local
201 task_thread_info(child)->bpt_addr[nsaved++] = pc + 4; in ptrace_set_bpt()
203 task_thread_info(child)->bpt_addr[nsaved++] in ptrace_set_bpt()
208 task_thread_info(child)->bpt_addr[nsaved++] = get_reg(child, reg_b); in ptrace_set_bpt()
211 task_thread_info(child)->bpt_addr[nsaved++] = pc + 4; in ptrace_set_bpt()
216 for (i = 0; i < nsaved; ++i) { in ptrace_set_bpt()
229 task_thread_info(child)->bpt_nsaved = nsaved; in ptrace_set_bpt()
240 int i, nsaved = task_thread_info(child)->bpt_nsaved; in ptrace_cancel_bpt() local
244 if (nsaved > 2) { in ptrace_cancel_bpt()
245 printk("ptrace_cancel_bpt: bogus nsaved: %d!\n", nsaved); in ptrace_cancel_bpt()
246 nsaved = 2; in ptrace_cancel_bpt()
249 for (i = 0; i < nsaved; ++i) { in ptrace_cancel_bpt()
253 return (nsaved != 0); in ptrace_cancel_bpt()