/third_party/node/deps/v8/src/libsampler/ |
H A D | sampler.cc | 14 #include <signal.h> 24 // OpenBSD doesn't have <ucontext.h>. ucontext_t lives in <signal.h> 141 using kernel_sigset_t = uint32_t[2]; // x86 kernel uses 64-bit signal masks 349 static void HandleProfilerSignal(int signal, siginfo_t* info, void* context); 363 void SignalHandler::HandleProfilerSignal(int signal, siginfo_t* info, in HandleProfilerSignal() argument 366 if (signal != SIGPROF) return; in HandleProfilerSignal() 622 // and wait calls, causing us to miss the SUSPENDED signal. We apply a 100ms in DoSample()
|
/third_party/toybox/lib/ |
H A D | lib.h | 193 void xsignal_flags(int signal, void *handler, int flags); 194 void xsignal(int signal, void *handler); 405 // signal 407 void generic_signal(int signal); 408 void exit_signal(int signal);
|
H A D | xwrap.c | 35 // change happen for signal exit paths and lets us remove the functions 52 // signal 0 to let signal handlers tell actual signal from regular exit. in xexit() 938 // Set a signal handler 939 void xsignal_flags(int signal, void *handler, int flags) in xsignal_flags() argument 947 if (sigaction(signal, sa, 0)) perror_exit("xsignal %d", signal); in xsignal_flags() 950 void xsignal(int signal, void *handler) in xsignal() argument 952 xsignal_flags(signal, handle in xsignal() [all...] |
/third_party/toybox/porting/liteos_a/lib/ |
H A D | lib.h | 186 void xsignal_flags(int signal, void *handler, int flags); 187 void xsignal(int signal, void *handler); 396 // signal 398 void generic_signal(int signal); 399 void exit_signal(int signal);
|
/third_party/toybox/toys/pending/ |
H A D | dhcp6.c | 486 // Generic signal handler real handling is done in main funcrion. 489 dbg("Caught signal: %d\n", sig); in signal_handler() 525 // signal setup for SIGUSR1 SIGUSR2 SIGTERM 528 signal(SIGUSR1, signal_handler); in setup_signal() 529 signal(SIGUSR2, signal_handler); in setup_signal() 530 signal(SIGTERM, signal_handler); in setup_signal() 531 signal(SIGINT, signal_handler); in setup_signal()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76x02_mac.c | 782 s8 signal; in mt76x02_mac_process_rx() local 855 signal = mt76x02_mac_get_rssi(dev, rxwi->rssi[0], 0); in mt76x02_mac_process_rx() 856 status->chain_signal[0] = signal; in mt76x02_mac_process_rx() 862 signal = max_t(s8, signal, status->chain_signal[1]); in mt76x02_mac_process_rx() 864 status->signal = signal; in mt76x02_mac_process_rx()
|
/kernel/linux/linux-5.10/kernel/ |
H A D | ptrace.c | 23 #include <linux/signal.h> 33 #include <linux/sched/signal.h> 145 (child->signal->flags & SIGNAL_STOP_STOPPED || in __ptrace_unlink() 146 child->signal->group_stop_count)) { in __ptrace_unlink() 151 * traced task running in the stopped group, set the signal in __ptrace_unlink() 433 if (mutex_lock_interruptible(&task->signal->cred_guard_mutex)) in ptrace_attach() 488 mutex_unlock(&task->signal->cred_guard_mutex); in ptrace_attach() 758 pending = &child->signal->shared_pending; in ptrace_peek_siginfo() 1126 * Stop tracee without any side-effect on signal or job in ptrace_request()
|
/kernel/linux/linux-5.10/kernel/time/ |
H A D | posix-timers.c | 42 * key, constructed from current->signal address and per signal struct counter. 134 struct signal_struct *sig = current->signal; in posix_timer_by_id() 142 struct signal_struct *sig = current->signal; in posix_timer_add() 147 * FIXME: Replace this by a per signal struct xarray once there is in posix_timer_add() 308 * This function is exported for use by the signal deliver code. It is 360 /* If we failed to send the signal the timer stops. */ in posix_timer_event() 387 * signal was not sent because of sig_ignor in posix_timer_fn() 566 new_timer->it_signal = current->signal; in do_timer_create() 567 list_add(&new_timer->list, ¤t->signal in do_timer_create() [all...] |
/kernel/linux/linux-6.6/drivers/counter/ |
H A D | counter-sysfs.c | 837 .name = "signal", 842 struct counter_signal *const signal) in counter_signal_attrs_create() 852 err = counter_attr_create(dev, cattr_group, &comp, scope, signal); in counter_signal_attrs_create() 857 err = counter_name_attr_create(dev, cattr_group, signal->name); in counter_signal_attrs_create() 862 return counter_sysfs_exts_add(dev, cattr_group, signal->ext, in counter_signal_attrs_create() 863 signal->num_ext, scope, signal); in counter_signal_attrs_create() 876 "signal%zu", i); in counter_sysfs_signals_add() 907 id = synapse->signal - counter->signals; in counter_sysfs_synapses_add() 908 comp.name = devm_kasprintf(dev, GFP_KERNEL, "signal in counter_sysfs_synapses_add() 840 counter_signal_attrs_create(struct counter_device *const counter, struct counter_attribute_group *const cattr_group, struct counter_signal *const signal) counter_signal_attrs_create() argument [all...] |
/kernel/linux/linux-6.6/kernel/time/ |
H A D | posix-timers.c | 42 * constructed from current::signal and the timer ID and the timer is 43 * matched against current::signal and the timer ID when walking the hash 91 struct signal_struct *sig = current->signal; in posix_timer_by_id() 99 struct signal_struct *sig = current->signal; in posix_timer_add() 104 * FIXME: Replace this by a per signal struct xarray once there is in posix_timer_add() 253 * This function is called from the signal delivery code if 299 /* If we failed to send the signal the timer stops. */ in posix_timer_event() 326 * The signal was not queued due to SIG_IGN. As a in posix_timer_fn() 328 * the signal delivery path. But as a real signal handle in posix_timer_fn() [all...] |
/kernel/linux/linux-6.6/kernel/ |
H A D | ptrace.c | 23 #include <linux/signal.h> 33 #include <linux/sched/signal.h> 147 (child->signal->flags & SIGNAL_STOP_STOPPED || in __ptrace_unlink() 148 child->signal->group_stop_count)) { in __ptrace_unlink() 153 * traced task running in the stopped group, set the signal in __ptrace_unlink() 429 if (mutex_lock_interruptible(&task->signal->cred_guard_mutex)) in ptrace_attach() 484 mutex_unlock(&task->signal->cred_guard_mutex); in ptrace_attach() 754 pending = &child->signal->shared_pending; in ptrace_peek_siginfo() 1128 * Stop tracee without any side-effect on signal or job in ptrace_request()
|
/third_party/libunwind/libunwind/doc/ |
H A D | libunwind.tex | 109 special circumstances (e.g., in a signal handler trampoline), even the 246 use locking. Such routines \emph{must~not} be called from signal 248 signal-safe. The manual page for each \Prog{libunwind} routine 249 identifies whether or not it is signal-safe, but as a general rule, 251 signal-safe (e.g., \Func{unw\_step}() for local unwinding is 252 signal-safe). For remote-unwinding, \emph{none} of the 253 \Prog{libunwind} routines are guaranteed to be signal-safe.
|
/third_party/python/Lib/test/ |
H A D | test_socket.py | 22 import signal namespace 1617 if not hasattr(signal, 'alarm') or not hasattr(socket, 'socketpair'): 1618 self.skipTest("signal.alarm and socket.socketpair required for this test") 1619 # Our signal handlers clobber the C errno by calling a math function 1627 old_alarm = signal.signal(signal.SIGALRM, raising_handler) 1630 # Just above the one second minimum for signal.alarm 1633 signal.alarm(1) 1636 signal [all...] |
H A D | test_posix.py | 14 import signal namespace 1100 @unittest.skipUnless(hasattr(signal, 'SIGCHLD'), 'CLD_XXXX be placed in si_code for a SIGCHLD signal') 1673 @unittest.skipUnless(hasattr(signal, 'pthread_sigmask'), 1674 'need signal.pthread_sigmask()') 1677 import signal 1678 signal.raise_signal(signal.SIGUSR1)""") 1684 setsigmask=[signal.SIGUSR1] 1700 os.environ, setsigmask=[signal [all...] |
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | xdp_router_ipv4_user.c | 9 #include <signal.h> 567 signal(SIGINT, close_and_exit); in monitor_route() 568 signal(SIGTERM, close_and_exit); in monitor_route() 728 signal(SIGINT, int_exit); in main() 729 signal(SIGTERM, int_exit); in main()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/bios/ |
H A D | command_table2.c | 142 cntl->signal, in encoder_control_digx_v1_5() 163 if (cntl->signal == SIGNAL_TYPE_HDMI_TYPE_A) in encoder_control_digx_v1_5() 280 cmd->signal_type_to_atom_dig_mode(cntl->signal); in transmitter_control_v1_6() 337 if (dc_is_dp_signal(cntl->signal)) in transmitter_control_v1_7() 347 cmd->signal_type_to_atom_dig_mode(cntl->signal); in transmitter_control_v1_7() 626 * if ( pACParameters->signal != SignalType_YPbPr && in set_crtc_using_dtd_timing_v3() 627 * pACParameters->signal != SignalType_Composite && in set_crtc_using_dtd_timing_v3() 628 * pACParameters->signal != SignalType_SVideo) in set_crtc_using_dtd_timing_v3()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/ |
H A D | dcn314_clk_mgr.c | 107 if (stream->signal == SIGNAL_TYPE_HDMI_TYPE_A || in dcn314_get_active_display_cnt_wa() 108 stream->signal == SIGNAL_TYPE_DVI_SINGLE_LINK || in dcn314_get_active_display_cnt_wa() 109 stream->signal == SIGNAL_TYPE_DVI_DUAL_LINK) in dcn314_get_active_display_cnt_wa() 113 if (dc_is_dp_signal(stream->signal) && !stream->dpms_off) in dcn314_get_active_display_cnt_wa() 147 if (pipe->stream && (pipe->stream->dpms_off || dc_is_virtual_signal(pipe->stream->signal))) { in dcn314_disable_otg_wa()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/ |
H A D | dcn31_clk_mgr.c | 86 if (stream->signal == SIGNAL_TYPE_HDMI_TYPE_A || in dcn31_get_active_display_cnt_wa() 87 stream->signal == SIGNAL_TYPE_DVI_SINGLE_LINK || in dcn31_get_active_display_cnt_wa() 88 stream->signal == SIGNAL_TYPE_DVI_DUAL_LINK) in dcn31_get_active_display_cnt_wa() 92 if (dc_is_dp_signal(stream->signal) && !stream->dpms_off) in dcn31_get_active_display_cnt_wa() 123 if (pipe->stream && (pipe->stream->dpms_off || dc_is_virtual_signal(pipe->stream->signal))) { in dcn31_disable_otg_wa()
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-ftrace.c | 13 #include <signal.h> 1200 signal(SIGINT, sig_handler); in cmd_ftrace() 1201 signal(SIGUSR1, sig_handler); in cmd_ftrace() 1202 signal(SIGCHLD, sig_handler); in cmd_ftrace() 1203 signal(SIGPIPE, sig_handler); in cmd_ftrace()
|
/kernel/linux/linux-6.6/tools/testing/selftests/x86/ |
H A D | lam.c | 8 #include <signal.h> 294 /* Set signal handler */ in handle_malloc() 296 signal(SIGSEGV, segv_handler); in handle_malloc() 336 signal(SIGSEGV, segv_handler); in handle_mmap() 357 signal(SIGSEGV, segv_handler); in handle_syscall() 643 signal(SIGSEGV, segv_handler); in handle_uring()
|
/kernel/linux/linux-6.6/tools/include/nolibc/ |
H A D | sys.h | 15 #include <asm/signal.h> /* for SIGCHLD */ 538 * int kill(pid_t pid, int signal); 542 int sys_kill(pid_t pid, int signal) in sys_kill() argument 544 return my_syscall2(__NR_kill, pid, signal); in sys_kill() 548 int kill(pid_t pid, int signal) in kill() argument 550 return __sysret(sys_kill(pid, signal)); in kill()
|
/third_party/alsa-utils/speaker-test/ |
H A D | speaker-test.c | 56 #include <signal.h> 974 signal(sig, signal_handler); in signal_handler() 1221 signal(SIGINT, signal_handler); in main() 1222 signal(SIGTERM, signal_handler); in main() 1223 signal(SIGABRT, signal_handler); in main()
|
/third_party/node/lib/ |
H A D | dgram.js | 140 if (options?.signal !== undefined) { 141 const { signal } = options; 142 validateAbortSignal(signal, 'options.signal'); 146 if (signal.aborted) { 149 const disposable = EventEmitter.addAbortListener(signal, onAborted);
|
/third_party/pulseaudio/src/daemon/ |
H A D | main.c | 30 #include <signal.h> 71 #include <pulse/mainloop-signal.h> 132 pa_log_info("Got signal %s.", pa_sig2str(sig)); in signal_callback() 1043 signal(SIGTTOU, SIG_IGN); 1046 signal(SIGTTIN, SIG_IGN); 1049 signal(SIGTSTP, SIG_IGN);
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
H A D | asm-offsets.c | 10 #include <linux/sched/signal.h> 59 DEFINE(IA64_TASK_SIGNAL_OFFSET,offsetof (struct task_struct, signal)); in foo() 189 DEFINE(IA64_SIGPENDING_SIGNAL_OFFSET, offsetof (struct sigpending, signal)); in foo()
|