Lines Matching refs:pid
54 static struct user_za_header *get_za(pid_t pid, void **buf, size_t *size) in get_za() argument
75 if (ptrace(PTRACE_GETREGSET, pid, NT_ARM_ZA, &iov)) in get_za()
91 static int set_za(pid_t pid, const struct user_za_header *za) in set_za() argument
97 return ptrace(PTRACE_SETREGSET, pid, NT_ARM_ZA, &iov); in set_za()
100 static int get_zt(pid_t pid, char zt[ZT_SIG_REG_BYTES]) in get_zt() argument
106 return ptrace(PTRACE_GETREGSET, pid, NT_ARM_ZT, &iov); in get_zt()
110 static int set_zt(pid_t pid, const char zt[ZT_SIG_REG_BYTES]) in set_zt() argument
116 return ptrace(PTRACE_SETREGSET, pid, NT_ARM_ZT, &iov); in set_zt()
258 pid_t pid; in do_parent() local
266 pid = wait(&status); in do_parent()
267 if (pid == -1) { in do_parent()
276 if (pid != child) in do_parent()
287 if (ptrace(PTRACE_GETSIGINFO, pid, NULL, &si)) { in do_parent()
302 si.si_pid == pid) in do_parent()
306 if (ptrace(PTRACE_CONT, pid, NULL, sig)) { in do_parent()