Lines Matching defs:pid
45 pid_t pid = ui->pid;
65 nat_bits = ptrace (PTRACE_PEEKUSER, pid, PT_NAT_BITS, 0);
80 ptrace (PTRACE_POKEUSER, pid, PT_NAT_BITS, nat_bits);
105 psr = ptrace (PTRACE_PEEKUSER, pid, PT_CR_IPSR, 0);
117 ptrace (PTRACE_POKEUSER, pid, PT_CR_IIP, ip);
118 ptrace (PTRACE_POKEUSER, pid, PT_CR_IPSR, psr);
129 ip = ptrace (PTRACE_PEEKUSER, pid, PT_CR_IIP, 0);
153 cfm = ptrace (PTRACE_PEEKUSER, pid, PT_CFM, 0);
166 ptrace (PTRACE_POKEUSER, pid, PT_AR_BSP, bsp);
177 bsp = ptrace (PTRACE_PEEKUSER, pid, PT_AR_BSP, 0);
197 bsp = ptrace (PTRACE_PEEKUSER, pid, PT_AR_BSP, 0);
198 cfm = ptrace (PTRACE_PEEKUSER, pid, PT_CFM, 0);
211 ptrace (PTRACE_POKEUSER, pid, PT_AR_BSP, 0);
220 ptrace (PTRACE_POKEUSER, pid, PT_CFM, *val);
245 ptrace (PTRACE_POKEUSER, pid, (void*) (uintptr_t) _UPT_reg_offset[reg], (void*) *val);
249 Debug(16, "ptrace PEEKUSER pid: %lu , reg: %lu , offs: %lu\n", (unsigned long)pid, (unsigned long)reg,
253 *val = ptrace (PTRACE_PEEKUSER, pid, (void*) (uintptr_t) _UPT_reg_offset[reg], 0);
283 pid_t pid = ui->pid;
309 if (ptrace(PTRACE_GETREGS, pid, 0, (void*)®s) == -1)
319 if (ptrace(PTRACE_SETREGS, pid, 0, (void*)®s) == -1)
338 if (ptrace(PT_GETREGS, pid, (caddr_t)®s, 0) == -1)
342 if (ptrace(PT_SETREGS, pid, (caddr_t)®s, 0) == -1)
361 pid_t pid = ui->pid;
374 if (ptrace(PTRACE_GETREGSET, pid, (void*)NT_PRSTATUS, (void*)&io) == -1)
386 if (ptrace(PTRACE_SETREGSET, pid, (void*)NT_PRSTATUS, (void*)&io) == -1)