Lines Matching defs:pid
93 static int get_fpsimd(pid_t pid, struct user_fpsimd_state *fpsimd)
99 return ptrace(PTRACE_GETREGSET, pid, NT_PRFPREG, &iov);
102 static int set_fpsimd(pid_t pid, struct user_fpsimd_state *fpsimd)
108 return ptrace(PTRACE_SETREGSET, pid, NT_PRFPREG, &iov);
111 static struct user_sve_header *get_sve(pid_t pid, const struct vec_type *type,
133 if (ptrace(PTRACE_GETREGSET, pid, type->regset, &iov))
149 static int set_sve(pid_t pid, const struct vec_type *type,
156 return ptrace(PTRACE_SETREGSET, pid, type->regset, &iov);
618 pid_t pid;
630 pid = wait(&status);
631 if (pid == -1) {
640 if (pid != child)
651 if (ptrace(PTRACE_GETSIGINFO, pid, NULL, &si)) {
666 si.si_pid == pid)
670 if (ptrace(PTRACE_CONT, pid, NULL, sig)) {