Searched refs:signal (Results 176 - 200 of 1668) sorted by relevance

1234567891011>>

/linux-master/tools/verification/rv/src/
H A Drv.c10 #include <signal.h>
181 signal(SIGINT, stop_rv);
/linux-master/arch/mips/kernel/
H A Dsignal32.c15 #include <linux/signal.h>
18 #include <asm/compat-signal.h>
23 #include "signal-common.h"
31 * Atomically swap in the new signal mask, and wait for a signal.
/linux-master/arch/mips/sgi-ip27/
H A Dip27-berr.c12 #include <linux/signal.h> /* for SIGBUS */
15 #include <linux/sched/signal.h>
/linux-master/tools/testing/selftests/kvm/x86_64/
H A Dvmx_exception_with_invalid_guest_state.c6 #include <signal.h>
90 TEST_ASSERT(sig == SIGALRM, "Unexpected signal = %d", sig);
139 TEST_ASSERT(signal(SIGALRM, sigalrm_handler) != SIG_ERR,
/linux-master/drivers/tty/
H A Dtty_audit.c27 buf = current->signal->tty_audit_buf;
107 * Only needs to be called if current->signal->tty_audit_buf != %NULL.
110 * current->signal.
116 buf = xchg(&current->signal->tty_audit_buf, ERR_PTR(-ESRCH));
131 sig->audit_tty = current->signal->audit_tty;
158 if (~current->signal->audit_tty & AUDIT_TTY_ENABLE)
192 if (cmpxchg(&current->signal->tty_audit_buf, NULL, buf) != NULL)
210 audit_tty = READ_ONCE(current->signal->audit_tty);
/linux-master/tools/perf/ui/gtk/
H A Dannotate.c12 #include <signal.h>
205 signal(SIGSEGV, perf_gtk__signal);
206 signal(SIGFPE, perf_gtk__signal);
207 signal(SIGINT, perf_gtk__signal);
208 signal(SIGQUIT, perf_gtk__signal);
209 signal(SIGTERM, perf_gtk__signal);
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/pm/
H A Dbase.c54 if (dom->signal[i].name)
86 if (!dom->signal[si].name)
88 return &dom->signal[si];
142 ctr->signal[i], &dom);
181 ctr->signal[i], &dom);
331 struct nvkm_perfsig *signal[4], u64 source[4][8],
348 if (signal[i]) {
349 ctr->signal[i] = signal[i] - dom->signal;
330 nvkm_perfctr_new(struct nvkm_perfdom *dom, int slot, u8 domain, struct nvkm_perfsig *signal[4], u64 source[4][8], u16 logic_op, struct nvkm_perfctr **pctr) argument
[all...]
/linux-master/drivers/gpu/drm/xe/
H A Dxe_sync.c112 bool signal; local
121 signal = sync_in.flags & DRM_XE_SYNC_FLAG_SIGNAL;
124 if (XE_IOCTL_DBG(xe, in_lr_mode && signal))
134 if (!signal) {
142 if (XE_IOCTL_DBG(xe, in_lr_mode && signal))
155 if (signal) {
175 if (XE_IOCTL_DBG(xe, !signal))
/linux-master/tools/testing/selftests/net/mptcp/
H A Dmptcp_join.sh812 pm_nl_add_endpoint $ns1 $addr flags signal
2031 if reset "unused signal address"; then
2032 pm_nl_add_endpoint $ns1 10.0.2.1 flags signal
2040 if reset "signal address"; then
2043 pm_nl_add_endpoint $ns1 10.0.2.1 flags signal
2050 # note: signal address in server ns and local addresses in client ns must
2053 if reset "subflow and signal"; then
2054 pm_nl_add_endpoint $ns1 10.0.2.1 flags signal
2064 if reset "multiple subflows and signal"; then
2066 pm_nl_add_endpoint $ns1 10.0.2.1 flags signal
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_link_encoder.c566 enum signal_type signal,
571 if (signal == SIGNAL_TYPE_DVI_DUAL_LINK)
588 signal != SIGNAL_TYPE_HDMI_TYPE_A &&
604 if (signal != SIGNAL_TYPE_DVI_DUAL_LINK)
793 switch (stream->signal) {
799 stream->signal,
844 cntl.signal = SIGNAL_TYPE_EDP;
882 enum signal_type signal)
886 switch (signal) {
922 enum signal_type signal,
563 dcn10_link_encoder_validate_dvi_output( const struct dcn10_link_encoder *enc10, enum signal_type connector_signal, enum signal_type signal, const struct dc_crtc_timing *crtc_timing) argument
880 dcn10_link_encoder_setup( struct link_encoder *enc, enum signal_type signal) argument
918 dcn10_link_encoder_enable_tmds_output( struct link_encoder *enc, enum clock_source_id clock_source, enum dc_color_depth color_depth, enum signal_type signal, uint32_t pixel_clock) argument
955 dcn10_link_encoder_enable_tmds_output_with_clk_pattern_wa( struct link_encoder *enc, enum clock_source_id clock_source, enum dc_color_depth color_depth, enum signal_type signal, uint32_t pixel_clock) argument
1051 dcn10_link_encoder_disable_output( struct link_encoder *enc, enum signal_type signal) argument
[all...]
H A Ddcn10_opp.c244 enum signal_type signal)
257 if (signal == SIGNAL_TYPE_HDMI_TYPE_A ||
258 signal == SIGNAL_TYPE_DISPLAY_PORT ||
259 signal == SIGNAL_TYPE_DISPLAY_PORT_MST ||
260 signal == SIGNAL_TYPE_VIRTUAL) {
240 opp1_set_dyn_expansion( struct output_pixel_processor *opp, enum dc_color_space color_sp, enum dc_color_depth color_dpth, enum signal_type signal) argument
/linux-master/tools/testing/selftests/bpf/map_tests/
H A Dsk_storage_map.c11 #include <signal.h>
403 signal(SIGTERM, stop_handler);
404 signal(SIGINT, stop_handler);
406 signal(SIGALRM, stop_handler);
420 signal(SIGTERM, SIG_DFL);
421 signal(SIGINT, SIG_DFL);
423 signal(SIGALRM, SIG_DFL);
437 signal(SIGTERM, stop_handler);
438 signal(SIGINT, stop_handler);
440 signal(SIGALR
[all...]
/linux-master/kernel/time/
H A Ditimer.c12 #include <linux/sched/signal.h>
51 struct cpu_itimer *it = &tsk->signal->it[clock_id];
83 value->it_value = itimer_get_remtime(&tsk->signal->real_timer);
85 ktime_to_timespec64(tsk->signal->it_real_incr);
173 struct cpu_itimer *it = &tsk->signal->it[clock_id];
217 timer = &tsk->signal->real_timer;
221 = ktime_to_timespec64(tsk->signal->it_real_incr);
231 tsk->signal->it_real_incr =
235 tsk->signal->it_real_incr = 0;
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_breadcrumbs.c174 struct llist_node *signal, *sn; local
177 signal = NULL;
179 signal = llist_del_all(&b->signaled_requests);
206 if (!signal && READ_ONCE(b->irq_armed) && list_empty(&b->signalers))
241 signal = slist_add(&rq->signal_node, signal);
249 llist_for_each_safe(signal, sn, signal) {
251 llist_entry(signal, typeof(*rq), signal_node);
361 * its signal completio
[all...]
/linux-master/drivers/gpu/drm/amd/display/modules/freesync/
H A Dfreesync.c161 if (dc_is_hdmi_signal(stream->signal)) {
706 static void build_vrr_infopacket_header_v1(enum signal_type signal, argument
710 if (dc_is_hdmi_signal(signal)) {
727 } else if (dc_is_dp_signal(signal)) {
755 static void build_vrr_infopacket_header_v2(enum signal_type signal, argument
759 if (dc_is_hdmi_signal(signal)) {
775 } else if (dc_is_dp_signal(signal)) {
803 static void build_vrr_infopacket_header_v3(enum signal_type signal, argument
810 if (dc_is_hdmi_signal(signal)) {
826 } else if (dc_is_dp_signal(signal)) {
876 build_vrr_infopacket_v1(enum signal_type signal, const struct mod_vrr_params *vrr, struct dc_info_packet *infopacket, bool freesync_on_desktop) argument
891 build_vrr_infopacket_v2(enum signal_type signal, const struct mod_vrr_params *vrr, enum color_transfer_func app_tf, struct dc_info_packet *infopacket, bool freesync_on_desktop) argument
909 build_vrr_infopacket_v3(enum signal_type signal, const struct mod_vrr_params *vrr, enum color_transfer_func app_tf, struct dc_info_packet *infopacket, bool freesync_on_desktop) argument
[all...]
/linux-master/kernel/
H A Dexit.c43 #include <linux/signal.h>
148 struct signal_struct *sig = tsk->signal;
364 if (p->signal->flags & SIGNAL_STOP_STOPPED)
415 core_state = tsk->signal->core_state;
632 if (father->signal->has_child_subreaper) {
647 if (!reaper->signal->is_child_subreaper)
768 if (unlikely(tsk->signal->notify_count < 0))
769 wake_up_process(tsk->signal->group_exec_task);
805 struct signal_struct *signal = tsk->signal; local
[all...]
/linux-master/tools/testing/selftests/powerpc/benchmarks/
H A Dfork.c17 #include <signal.h>
197 signal(SIGALRM, sigalrm_handler);
314 /* Create a new process group so we can signal everyone for exit */
317 signal(SIGUSR1, sigusr1_handler);
/linux-master/tools/testing/selftests/bpf/
H A Dxdping.c9 #include <signal.h>
195 signal(SIGINT, cleanup);
196 signal(SIGTERM, cleanup);
H A Dxdp_redirect_multi.c6 #include <signal.h>
182 signal(SIGINT, int_exit);
183 signal(SIGTERM, int_exit);
/linux-master/samples/hid/
H A Dhid_surface_dial.c19 #include <signal.h>
215 signal(SIGINT, int_exit);
216 signal(SIGTERM, int_exit);
/linux-master/samples/bpf/
H A Dxdp_adjust_tail_user.c12 #include <signal.h>
179 signal(SIGINT, int_exit);
180 signal(SIGTERM, int_exit);
H A Dtracex2_user.c5 #include <signal.h>
146 signal(SIGINT, int_exit);
147 signal(SIGTERM, int_exit);
H A Dsampleip_user.c11 #include <signal.h>
213 signal(SIGINT, int_exit);
214 signal(SIGTERM, int_exit);
H A Dcpustat_user.c7 #include <signal.h>
238 signal(SIGINT, int_exit);
239 signal(SIGTERM, int_exit);
/linux-master/security/apparmor/
H A Dresource.c177 rlim = current->signal->rlim + j;
178 initrlim = init_task.signal->rlim + j;
199 rlim = current->signal->rlim + j;

Completed in 354 milliseconds

1234567891011>>