Home
last modified time | relevance | path

Searched refs:signal_set (Results 1 – 10 of 10) sorted by relevance

/external/ltp/testcases/kernel/io/disktest/
Dsignals.c59 sigset_t signal_set; in sig_handler() local
64 sigfillset(&signal_set); in sig_handler()
67 sigdelset(&signal_set, SIGKILL); in sig_handler()
68 sigdelset(&signal_set, SIGWAITING); in sig_handler()
69 sigdelset(&signal_set, SIGSTOP); in sig_handler()
73 rv = sigwait(&signal_set, &sig); in sig_handler()
128 sigset_t signal_set; in setup_sig_mask() local
144 sigemptyset(&signal_set); in setup_sig_mask()
145 sigaddset(&signal_set, SIGINT); in setup_sig_mask()
146 sigaddset(&signal_set, SIGHUP); in setup_sig_mask()
[all …]
/external/rust/crates/nix/test/sys/
Dtest_signal.rs61 let mut signal_set = SigSet::empty(); in test_sigprocmask() localVariable
62 signal_set.add(SIGNAL); in test_sigprocmask()
63 sigprocmask(SigmaskHow::SIG_BLOCK, Some(&signal_set), None) in test_sigprocmask()
74 sigprocmask(SigmaskHow::SIG_UNBLOCK, Some(&signal_set), None) in test_sigprocmask()
/external/strace/
Dfilter_qualify.c38 struct number_set *signal_set; variable
290 if (!signal_set) in qualify_signals()
291 signal_set = alloc_number_set_array(1); in qualify_signals()
292 qualify_tokens(str, signal_set, sigstr_to_uint, "signal"); in qualify_signals()
Dnumber_set.h64 extern struct number_set *signal_set;
Dstrace.c2127 && is_number_in_set(WTERMSIG(status), signal_set)) { in print_signalled()
2162 && is_number_in_set(sig, signal_set)) { in print_stopped()
DChangeLog12222 (read_set, write_set, signal_set): Change prototypes from objects
12224 * filter_qualify.c (read_set, write_set, signal_set): Change definitions
12230 (qualify_signals): Initialize signal_set before first use.
12236 * strace.c (print_signalled, print_stopped): Update signal_set usage.
12267 (read_set, write_set, signal_set, is_number_in_set): Move to number_set.h.
22627 * defs.h (signal_set): New variable prototypes.
22631 * qualify.c (signal_set): New variable.
22637 with signal_set argument.
/external/toybox/toys/pending/
Dinit.c249 sigset_t signal_set; in final_run() local
251 sigfillset(&signal_set); in final_run()
252 sigprocmask(SIG_BLOCK, &signal_set, NULL); in final_run()
259 sigfillset(&signal_set); in final_run()
260 sigprocmask(SIG_UNBLOCK, &signal_set, NULL); in final_run()
/external/libevent/include/event2/
Devent_compat.h213 #define signal_set(ev, x, cb, arg) \ macro
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c371 static sigset_t signal_set; variable
6769 sigwait(&signal_set, &sig_number); in sig_listen_thread()
7515 sigemptyset(&signal_set); in do_scsi_sgp_read_write()
7516 sigaddset(&signal_set, SIGINT); in do_scsi_sgp_read_write()
7517 status = pthread_sigmask(SIG_BLOCK, &signal_set, NULL); in do_scsi_sgp_read_write()
/external/libevent/test/
Dregress.c1420 signal_set(&ev, SIGUSR1, signal_cb_swp, NULL); in test_signal_while_processing()