Lines Matching refs:child

73 int putreg(struct task_struct *child, int regno, unsigned long value)  in putreg()  argument
109 child->thread.regs.regs.gp[HOST_EFLAGS] |= value; in putreg()
112 child->thread.regs.regs.syscall = value; in putreg()
117 child->thread.regs.regs.gp[reg_offsets[regno]] = value; in putreg()
121 int poke_user(struct task_struct *child, long addr, long data) in poke_user() argument
127 return putreg(child, addr, data); in poke_user()
134 child->thread.arch.debugregs[addr] = data; in poke_user()
140 unsigned long getreg(struct task_struct *child, int regno) in getreg() argument
147 return child->thread.regs.regs.syscall; in getreg()
170 return mask & child->thread.regs.regs.gp[reg_offsets[regno]]; in getreg()
174 int peek_user(struct task_struct *child, long addr, long data) in peek_user() argument
183 tmp = getreg(child, addr); in peek_user()
189 tmp = child->thread.arch.debugregs[addr]; in peek_user()
194 static int get_fpregs(struct user_i387_struct __user *buf, struct task_struct *child) in get_fpregs() argument
196 int err, n, cpu = ((struct thread_info *) child->stack)->cpu; in get_fpregs()
210 static int set_fpregs(struct user_i387_struct __user *buf, struct task_struct *child) in set_fpregs() argument
212 int n, cpu = ((struct thread_info *) child->stack)->cpu; in set_fpregs()
223 static int get_fpxregs(struct user_fxsr_struct __user *buf, struct task_struct *child) in get_fpxregs() argument
225 int err, n, cpu = ((struct thread_info *) child->stack)->cpu; in get_fpxregs()
239 static int set_fpxregs(struct user_fxsr_struct __user *buf, struct task_struct *child) in set_fpxregs() argument
241 int n, cpu = ((struct thread_info *) child->stack)->cpu; in set_fpxregs()
252 long subarch_ptrace(struct task_struct *child, long request, in subarch_ptrace() argument
259 ret = get_fpregs(datap, child); in subarch_ptrace()
262 ret = set_fpregs(datap, child); in subarch_ptrace()
265 ret = get_fpxregs(datap, child); in subarch_ptrace()
268 ret = set_fpxregs(datap, child); in subarch_ptrace()