/libpthread/linuxthreads_db/ |
A D | td_thr_getfpregs.c | 33 pid_t pid = ps_getpid (th->th_ta_p->ph); in td_thr_getfpregs() local 34 if (ps_lgetfpregs (th->th_ta_p->ph, pid, regset) != PS_OK) in td_thr_getfpregs() 50 pid_t pid = pds.p_pid ?: ps_getpid (th->th_ta_p->ph); in td_thr_getfpregs() local 52 if (ps_lgetfpregs (th->th_ta_p->ph, pid, regset) != PS_OK) in td_thr_getfpregs()
|
A D | td_thr_getgregs.c | 33 pid_t pid = ps_getpid (th->th_ta_p->ph); in td_thr_getgregs() local 34 if (ps_lgetregs (th->th_ta_p->ph, pid, gregs) != PS_OK) in td_thr_getgregs() 50 pid_t pid = pds.p_pid ?: ps_getpid (th->th_ta_p->ph); in td_thr_getgregs() local 52 if (ps_lgetregs (th->th_ta_p->ph, pid, gregs) != PS_OK) in td_thr_getgregs()
|
A D | td_thr_setfpregs.c | 39 pid_t pid = pds.p_pid ?: ps_getpid (th->th_ta_p->ph); in td_thr_setfpregs() local 41 if (ps_lsetfpregs (th->th_ta_p->ph, pid, fpregs) != PS_OK) in td_thr_setfpregs()
|
A D | td_thr_setgregs.c | 39 pid_t pid = pds.p_pid ?: ps_getpid (th->th_ta_p->ph); in td_thr_setgregs() local 41 if (ps_lsetregs (th->th_ta_p->ph, pid, gregs) != PS_OK) in td_thr_setgregs()
|
/libpthread/nptl/sysdeps/unix/sysv/linux/ |
A D | raise.c | 41 pid_t pid = INTERNAL_SYSCALL (getpid, err, 0); in raise() local 44 int ret = INLINE_SYSCALL (tgkill, 3, pid, tid, sig); in raise()
|
A D | pthread_sigqueue.c | 56 pid_t pid = getpid (); in pthread_sigqueue() local 63 info.si_pid = pid; in pthread_sigqueue() 71 pid, tid, signo, &info); in pthread_sigqueue()
|
A D | pthread_kill.c | 62 pid_t pid = getpid (); in __pthread_kill() local 64 val = INTERNAL_SYSCALL (tgkill, err, 3, pid, tid, signo); in __pthread_kill()
|
A D | fork.c | 70 pid_t pid; in fork() local 139 pid = ARCH_FORK (); in fork() 142 pid = INLINE_SYSCALL (fork, 0); in fork() 146 if (pid == 0) in fork() 207 return pid; in fork()
|
A D | not-cancel.h | 87 # define waitpid_not_cancel(pid, stat_loc, options) \ argument 88 INLINE_SYSCALL (waitpid, 3, pid, stat_loc, options) 90 # define waitpid_not_cancel(pid, stat_loc, options) \ argument 91 INLINE_SYSCALL (wait4, 4, pid, stat_loc, options, NULL)
|
/libpthread/nptl/ |
A D | pthread_cancel.c | 78 pid_t pid = getpid (); in pthread_cancel() local 80 val = INTERNAL_SYSCALL (tgkill, err, 3, pid, pd->tid, SIGCANCEL); in pthread_cancel()
|
A D | allocatestack.c | 947 pid_t pid = getpid (); in setxid_signal_thread() local 949 val = INTERNAL_SYSCALL (tgkill, err, 3, pid, t->tid, SIGSETXID); in setxid_signal_thread()
|
/libpthread/linuxthreads/ |
A D | ptfork.c | 98 pid_t pid; in __fork() local 118 pid = __libc_fork(); in __fork() 119 if (pid == 0) { in __fork() 148 return pid; in __fork()
|
A D | manager.c | 492 int pid; in pthread_handle_create() local 628 if (pid != -1) in pthread_handle_create() 641 new_thread->p_pid = pid; in pthread_handle_create() 651 if (pid == 0) in pthread_handle_create() 667 if (pid == -1) { in pthread_handle_create() 693 PDEBUG("new thread pid = %d\n", pid); in pthread_handle_create() 715 new_thread->p_pid = pid; in pthread_handle_create() 782 static void pthread_exited(pid_t pid) in pthread_exited() argument 790 if (th->p_pid == pid) { in pthread_exited() 834 pid_t pid; in pthread_reap_children() local [all …]
|
A D | pthread.c | 415 int pid; in __pthread_initialize_manager() local 446 pid = 0; in __pthread_initialize_manager() 473 pid = __clone2(__pthread_manager_event, in __pthread_initialize_manager() 479 pid = clone(__pthread_manager_event, in __pthread_initialize_manager() 485 if (pid != -1) in __pthread_initialize_manager() 506 if (pid == 0) { in __pthread_initialize_manager() 518 if (pid == -1) { in __pthread_initialize_manager() 527 __pthread_manager_thread.p_pid = pid; in __pthread_initialize_manager() 663 int pid, pol; in libpthread_hidden_def() local 670 pid = handle->h_descr->p_pid; in libpthread_hidden_def() [all …]
|
A D | cancel.c | 70 int pid; in libpthread_hidden_def() local 93 pid = th->p_pid; in libpthread_hidden_def() 120 kill(pid, __pthread_sig_cancel); in libpthread_hidden_def()
|
A D | signals.c | 61 int pid; in pthread_kill() local 68 pid = handle->h_descr->p_pid; in pthread_kill() 70 if (kill(pid, signo) == -1) in pthread_kill()
|
A D | wrapsyscall.c | 176 CANCELABLE_SYSCALL (__pid_t, waitpid, (__pid_t pid, int *stat_loc, 178 (pid, stat_loc, options))
|
/libpthread/linuxthreads/sysdeps/pthread/ |
A D | not-cancel.h | 87 # define waitpid_not_cancel(pid, stat_loc, options) \ argument 88 INLINE_SYSCALL (waitpid, 3, pid, stat_loc, options) 90 # define waitpid_not_cancel(pid, stat_loc, options) \ argument 91 INLINE_SYSCALL (wait4, 4, pid, stat_loc, options, NULL)
|
/libpthread/nptl/sysdeps/pthread/ |
A D | createthread.c | 94 pid_t pid = getpid (); in do_clone() local 109 (void) INTERNAL_SYSCALL (tgkill, err2, 3, pid, pd->tid, SIGCANCEL); in do_clone()
|