Home
last modified time | relevance | path

Searched refs:signo (Results 1 – 25 of 50) sorted by relevance

12

/glibc-2.36/hurd/
Dhurdsig.c66 int signo; in default_sigaction() local
72 for (signo = 1; signo < NSIG; ++signo) in default_sigaction()
73 actions[signo] = actions[0]; in default_sigaction()
220 sigstate_clear_pending (struct hurd_sigstate *ss, int signo) in sigstate_clear_pending() argument
223 && __sigismember (&_hurd_global_sigstate->pending, signo)) in sigstate_clear_pending()
225 __sigdelset (&_hurd_global_sigstate->pending, signo); in sigstate_clear_pending()
226 return _hurd_global_sigstate->pending_data[signo]; in sigstate_clear_pending()
229 assert (__sigismember (&ss->pending, signo)); in sigstate_clear_pending()
230 __sigdelset (&ss->pending, signo); in sigstate_clear_pending()
231 return ss->pending_data[signo]; in sigstate_clear_pending()
[all …]
Dexc2signal.c29 _hurd_exception2signal (struct hurd_signal_detail *detail, int *signo) in _hurd_exception2signal() argument
36 *signo = SIGIOT; in _hurd_exception2signal()
42 *signo = SIGSEGV; in _hurd_exception2signal()
44 *signo = SIGBUS; in _hurd_exception2signal()
50 *signo = SIGILL; in _hurd_exception2signal()
55 *signo = SIGFPE; in _hurd_exception2signal()
61 *signo = SIGEMT; in _hurd_exception2signal()
66 *signo = SIGTRAP; in _hurd_exception2signal()
Dhurd-raise.c29 int signo, const struct hurd_signal_detail *detail) in _hurd_raise_signal() argument
31 if (signo <= 0 || signo >= NSIG) in _hurd_raise_signal()
45 __sigaddset (&ss->pending, signo); in _hurd_raise_signal()
46 ss->pending_data[signo] = *detail; in _hurd_raise_signal()
Dcatch-exc.c39 int signo; in _S_catch_exception_raise() local
58 _hurd_exception2signal (&d, &signo); in _S_catch_exception_raise()
88 _hurd_internal_post_signal (ss, signo, &d, in _S_catch_exception_raise()
Dhurdfault.c52 int signo; local
71 _hurd_exception2signal (&d, &signo);
73 return HURD_PREEMPT_SIGNAL_P (&_hurdsig_fault_preemptor, signo, d.exc_subcode)
/glibc-2.36/sysdeps/mach/hurd/i386/
Dexc2signal.c27 exception2signal (struct hurd_signal_detail *detail, int *signo, int posix) in exception2signal() argument
34 *signo = SIGIOT; in exception2signal()
43 *signo = SIGSEGV; in exception2signal()
49 *signo = SIGSEGV; in exception2signal()
54 *signo = SIGBUS; in exception2signal()
62 *signo = SIGILL; in exception2signal()
80 *signo = SIGFPE; in exception2signal()
146 *signo = SIGEMT; in exception2signal()
155 *signo = SIGFPE; in exception2signal()
160 *signo = SIGEMT; in exception2signal()
[all …]
Dtrampoline.c32 static void fill_siginfo (siginfo_t *si, int signo, in fill_siginfo() argument
36 si->si_signo = signo; in fill_siginfo()
85 int signo, struct hurd_signal_detail *detail, in _hurd_setup_sighandler() argument
98 int signo; in _hurd_setup_sighandler() member
227 stackframe->signo = signo; in _hurd_setup_sighandler()
232 fill_siginfo (&stackframe->siginfo, signo, detail, state); in _hurd_setup_sighandler()
241 assert (nsigno == signo); in _hurd_setup_sighandler()
/glibc-2.36/nptl/
Dpthread_kill.c28 __pthread_kill_implementation (pthread_t threadid, int signo, int no_tid) in __pthread_kill_implementation() argument
43 int ret = INTERNAL_SYSCALL_CALL (tgkill, __getpid (), tid, signo); in __pthread_kill_implementation()
62 ret = INTERNAL_SYSCALL_CALL (tgkill, __getpid (), pd->tid, signo); in __pthread_kill_implementation()
73 __pthread_kill_internal (pthread_t threadid, int signo) in __pthread_kill_internal() argument
78 return __pthread_kill_implementation (threadid, signo, 0); in __pthread_kill_internal()
82 __pthread_kill (pthread_t threadid, int signo) in __pthread_kill() argument
86 if (is_internal_signal (signo)) in __pthread_kill()
89 return __pthread_kill_internal (threadid, signo); in __pthread_kill()
103 __pthread_kill_esrch (pthread_t threadid, int signo) in __pthread_kill_esrch() argument
105 if (is_internal_signal (signo)) in __pthread_kill_esrch()
[all …]
Dpthread_sigqueue.c28 __pthread_sigqueue (pthread_t threadid, int signo, const union sigval value) in __pthread_sigqueue() argument
43 if (signo == SIGCANCEL || signo == SIGTIMER || signo == SIGSETXID) in __pthread_sigqueue()
51 info.si_signo = signo; in __pthread_sigqueue()
58 int val = INTERNAL_SYSCALL_CALL (rt_tgsigqueueinfo, pid, tid, signo, in __pthread_sigqueue()
/glibc-2.36/sysdeps/mach/hurd/
Dsigwait.c32 int signo = 0; in __sigwait() local
45 if (signo) in __sigwait()
49 signo = *sigp; in __sigwait()
52 assert (__sigismember (&mask, signo)); in __sigwait()
63 assert (sig == signo); in __sigwait()
84 for (signo = 1; signo < NSIG; signo++) in __sigwait()
85 if (__sigismember (&ready, signo)) in __sigwait()
87 __sigdelset (&ready, signo); in __sigwait()
122 assert (signo); in __sigwait()
137 *sig = signo; in __sigwait()
/glibc-2.36/signal/
Dsigdelset.c25 sigdelset (sigset_t *set, int signo) in sigdelset() argument
27 if (set == NULL || signo <= 0 || signo >= NSIG in sigdelset()
28 || is_internal_signal (signo)) in sigdelset()
34 __sigdelset (set, signo); in sigdelset()
Dsigaddset.c25 sigaddset (sigset_t *set, int signo) in sigaddset() argument
27 if (set == NULL || signo <= 0 || signo >= NSIG in sigaddset()
28 || is_internal_signal (signo)) in sigaddset()
34 __sigaddset (set, signo); in sigaddset()
Dtst-sigwait-eintr.c29 sigusr1_handler (int signo) in sigusr1_handler() argument
31 TEST_VERIFY (signo == SIGUSR1); in sigusr1_handler()
68 int signo = 0; in do_test() local
69 int ret = sigwait (&sigs, &signo); in do_test()
76 TEST_VERIFY (signo == SIGUSR2); in do_test()
Dsigismem.c25 sigismember (const sigset_t *set, int signo) in sigismember() argument
27 if (set == NULL || signo <= 0 || signo >= NSIG) in sigismember()
33 return __sigismember (set, signo); in sigismember()
/glibc-2.36/malloc/
Dtst-mallocfork3.c60 sigusr1_handler (int signo) in sigusr1_handler() argument
91 liveness_signal_handler (int signo) in liveness_signal_handler() argument
102 int signo; member
113 int signo = SIGNAL_SEND_GET_ARG (args, signo); in signal_sender() local
121 xpthread_kill (target, signo); in signal_sender()
Dtst-mallocfork2.c69 sigusr1_handler (int signo) in sigusr1_handler() argument
100 liveness_signal_handler (int signo) in liveness_signal_handler() argument
112 signal_sender (int signo, bool sleep) in signal_sender() argument
119 if (kill (target, signo) != 0) in signal_sender()
/glibc-2.36/sysdeps/htl/
Draise.c34 raise (int signo) in raise() argument
43 err = __pthread_kill (__pthread_self (), signo); in raise()
52 return __kill (__getpid (), signo); in raise()
/glibc-2.36/hurd/hurd/
Dsignal.h298 extern int _hurd_raise_signal (struct hurd_sigstate *ss, int signo,
304 int *signo);
309 int *signo);
319 int signo,
336 int signo, struct hurd_signal_detail *detail,
Dfd.h183 int signo = _hurd_fd_error_signal (err); in _hurd_fd_error() local
184 if (signo) in _hurd_fd_error()
188 _hurd_raise_signal (NULL, signo, &detail); in _hurd_fd_error()
/glibc-2.36/support/
Dxpthread_kill.c23 xpthread_kill (pthread_t thr, int signo) in xpthread_kill() argument
25 xpthread_check_return ("pthread_kill", pthread_kill (thr, signo)); in xpthread_kill()
Dsupport_subprocess.c121 support_process_kill (int pid, int signo, int *status) in support_process_kill() argument
124 kill (-pid, signo); in support_process_kill()
126 kill (pid, signo); in support_process_kill()
/glibc-2.36/sysdeps/unix/sysv/linux/ia64/
Dtst-setcontext4.c24 #define sigismember(set, signo) sigismember ((const sigset_t *) (set), (signo)) argument
Dtst-setcontext2.c22 #define sigismember(set, signo) sigismember ((const sigset_t *) (set), (signo)) argument
/glibc-2.36/sysdeps/hurd/include/hurd/
Dsigpreempt.h23 # define HURD_PREEMPT_SIGNAL_P(preemptor, signo, sigcode) \ argument
24 (((preemptor)->signals & __sigmask (signo)) \
/glibc-2.36/sysdeps/unix/sysv/linux/
Dtst-gettid-kill.c48 sigusr1_handler (int signo) in sigusr1_handler() argument
50 TEST_COMPARE (signo, SIGUSR1); in sigusr1_handler()

12