Lines Matching refs:proc
43 void get_arch_dep(struct process *proc) in get_arch_dep() argument
50 int syscall_p(struct process *proc, int status, int *sysnum) in syscall_p() argument
53 && WSTOPSIG(status) == (SIGTRAP | proc->tracesysgood)) { in syscall_p()
54 long pc = (long)get_instruction_pointer(proc); in syscall_p()
56 (int)ptrace(PTRACE_PEEKTEXT, proc->pid, pc - sizeof(long), in syscall_p()
61 (int)ptrace(PTRACE_PEEKUSER, proc->pid, in syscall_p()
63 if (proc->callstack_depth > 0 in syscall_p()
64 && proc->callstack[proc->callstack_depth - in syscall_p()
74 long gimme_arg(enum tof type, struct process *proc, int arg_num, in gimme_arg() argument
77 int pid = proc->pid; in gimme_arg()
90 proc->stack_pointer + 4 * (arg_num - 6), 0); in gimme_arg()