Lines Matching refs:child
53 int putreg(struct task_struct *child, int regno, unsigned long value) in putreg() argument
60 if (test_tsk_thread_flag(child, TIF_IA32)) in putreg()
103 child->thread.regs.regs.gp[HOST_EFLAGS] |= value; in putreg()
110 child->thread.regs.regs.gp[reg_offsets[regno >> 3]] = value; in putreg()
114 int poke_user(struct task_struct *child, long addr, long data) in poke_user() argument
120 return putreg(child, addr, data); in poke_user()
127 child->thread.arch.debugregs[addr] = data; in poke_user()
133 unsigned long getreg(struct task_struct *child, int regno) in getreg() argument
137 if (test_tsk_thread_flag(child, TIF_IA32)) in getreg()
174 return mask & child->thread.regs.regs.gp[reg_offsets[regno >> 3]]; in getreg()
177 int peek_user(struct task_struct *child, long addr, long data) in peek_user() argument
187 tmp = getreg(child, addr); in peek_user()
192 tmp = child->thread.arch.debugregs[addr]; in peek_user()
222 static int get_fpregs(struct user_i387_struct __user *buf, struct task_struct *child) in get_fpregs() argument
224 int err, n, cpu = ((struct thread_info *) child->stack)->cpu; in get_fpregs()
239 static int set_fpregs(struct user_i387_struct __user *buf, struct task_struct *child) in set_fpregs() argument
241 int n, cpu = ((struct thread_info *) child->stack)->cpu; in set_fpregs()
252 long subarch_ptrace(struct task_struct *child, long request, in subarch_ptrace() argument
260 ret = get_fpregs(datap, child); in subarch_ptrace()
263 ret = set_fpregs(datap, child); in subarch_ptrace()
267 ret = arch_prctl(child, data, (void __user *) addr); in subarch_ptrace()