/src/tests/lib/libpthread/ |
t_sigmask.c | 109 struct sigaction act; local in function:ATF_TC_BODY 111 act.sa_sigaction = upcalls_not_started_handler1; 112 sigemptyset(&act.sa_mask); 113 sigaddset(&act.sa_mask, SIGUSR2); 114 act.sa_flags = SA_SIGINFO; 116 ATF_REQUIRE_EQ(sigaction(SIGUSR1, &act, NULL), 0); 118 act.sa_sigaction = upcalls_not_started_handler2; 119 sigemptyset(&act.sa_mask); 120 act.sa_flags = SA_SIGINFO; 121 (void)sigaction(SIGUSR2, &act, NULL) 179 struct sigaction act; local in function:ATF_TC_BODY 224 struct sigaction act; local in function:ATF_TC_BODY [all...] |
t_siglongjmp.c | 78 struct sigaction act; local in function:ATF_TC_BODY 89 act.sa_sigaction = handler; 90 sigemptyset(&act.sa_mask); 91 sigaddset(&act.sa_mask, SIGUSR2); 92 act.sa_flags = 0; 93 sigaction(SIGSEGV, &act, NULL);
|
t_sleep.c | 74 struct sigaction act; local in function:ATF_TC_BODY 79 act.sa_handler = handler; 80 sigemptyset(&act.sa_mask); 81 act.sa_flags = 0; 82 sigaction(SIGALRM, &act, NULL);
|
/src/sys/arch/cesfic/cesfic/ |
sic6351.c | 56 act2icr(int act) 58 if (act == 17) 60 if (act == 19) 62 if (act == 25) 64 if (act == 39) 66 panic("sic: unknown act %d", act);
|
/src/lib/libc/gen/ |
signal.c | 72 struct sigaction act, oact; local in function:bsd_signal 74 act.sa_handler = func; 75 act.sa_flags = SA_RESTART; 77 sigemptyset(&act.sa_mask); 78 sigaddset(&act.sa_mask, sig); 79 if (sigaction(sig, &act, &oact) < 0)
|
/src/lib/libc/compat/sys/ |
compat___sigaction14_sigtramp.c | 51 __libc_sigaction14(int sig, const struct sigaction *act, struct sigaction *oact) 58 if (act == NULL) 59 return __sigaction_sigtramp(sig, act, oact, NULL, 0); 66 if ((act->sa_flags & SA_SIGINFO) == 0) { 68 int rv = __sigaction_sigtramp(sig, act, oact, 80 return __sigaction_sigtramp(sig, act, oact,
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_signal_interceptors.inc | 34 #define SIGNAL_INTERCEPTOR_SIGACTION_IMPL(signum, act, oldact) \ 35 { return REAL(sigaction_symname)(signum, act, oldact); } 57 const __sanitizer_sigaction *act, __sanitizer_sigaction *oldact) { 59 SIGNAL_INTERCEPTOR_SIGACTION_IMPL(signum, act, oldact); 64 int real_sigaction(int signum, const void *act, void *oldact) { 65 return REAL(sigaction_symname)(signum, (const __sanitizer_sigaction *)act, 76 DEFINE_REAL(int, sigaction, int signum, const __sanitizer_sigaction *act,
|
/src/lib/libutil/ |
raise_default_signal.c | 66 struct sigaction origact, act; local in function:raise_default_signal 74 (void)memset(&act, 0, sizeof(act)); 75 act.sa_handler = SIG_DFL; 76 act.sa_flags = 0; 77 if ((sigemptyset(&act.sa_mask) == -1) || 89 if (sigaction(sig, &act, &origact) == -1)
|
ttyaction.c | 66 ttyaction(const char *tty, const char *act, const char *user) 81 _DIAGASSERT(act != NULL); 99 * Environment needs: TTY, ACT, USER 102 snprintf(env_act, sizeof(env_act), "ACT=%s", act); 127 if (fnmatch(p1, tty, 0) || fnmatch(p2, act, 0))
|
/src/lib/libc/sys/ |
__sigaction_siginfo.c | 56 __sigaction_siginfo(int sig, const struct sigaction *act, 60 return __sigaction_sigtramp(sig, act, oact,
|
/src/tests/usr.bin/c++/ |
t_tsan_signal_errno.sh | 72 struct sigaction act = {}; 73 act.sa_sigaction = &MyHandler; 74 sigaction(SIGPROF, &act, 0); 100 struct sigaction act = {}; 101 act.sa_sigaction = &MyHandler; 102 sigaction(SIGPROF, &act, 0); 134 struct sigaction act = {}; 135 act.sa_sigaction = &MyHandler; 136 sigaction(SIGPROF, &act, 0); 168 struct sigaction act = {} [all...] |
/src/tests/usr.bin/cc/ |
t_tsan_signal_errno.sh | 72 struct sigaction act = {}; 73 act.sa_sigaction = &MyHandler; 74 sigaction(SIGPROF, &act, 0); 100 struct sigaction act = {}; 101 act.sa_sigaction = &MyHandler; 102 sigaction(SIGPROF, &act, 0); 134 struct sigaction act = {}; 135 act.sa_sigaction = &MyHandler; 136 sigaction(SIGPROF, &act, 0); 168 struct sigaction act = {} [all...] |
/src/tests/lib/libi386/ |
t_user_ldt.c | 205 struct sigaction act; local in function:ATF_TC_BODY 217 memset(&act, 0, sizeof(act)); 218 act.sa_sigaction = iretq_gp__gp_handler; 219 act.sa_flags = SA_SIGINFO; 220 ATF_REQUIRE_EQ(sigaction(SIGSEGV, &act, NULL), 0); 249 struct sigaction act; local in function:ATF_TC_BODY 261 memset(&act, 0, sizeof(act)); 262 act.sa_sigaction = iretq_np__np_handler 309 struct sigaction act; local in function:ATF_TC_BODY [all...] |
/src/sys/dev/pci/ |
pciide_acard_reg.h | 30 #define ATP850_SETTIME(drive, act, rec) \ 31 (((((act) & 0xf) << 8) | ((rec) & 0xf)) << ((drive) * 16)) 32 #define ATP860_SETTIME(channel, drive, act, rec) \ 33 (((((act) & 0xf) << 4) | ((rec) & 0xf)) << \
|
/src/usr.sbin/moused/ |
moused.c | 451 static int r_protocol(u_char b, mousestatus_t *act); 455 static void r_timestamp(mousestatus_t *act); 470 static int kidspad(u_char rxc, mousestatus_t *act); 1419 r_protocol(u_char rBuf, mousestatus_t *act) 1508 return kidspad(rBuf, act); 1594 act->dx = act->dy = act->dz = 0; 1595 act->obutton = act->button [all...] |
/src/lib/libc/compat/arch/powerpc64/sys/ |
compat_missing.c | 57 sigaction(int sig, const struct sigaction * restrict act, 60 return __sigaction_siginfo(sig, act, oact);
|
/src/sys/altq/ |
altq_rmclass_debug.h | 88 #define CBQTRACE(func, act, obj) { \ 93 *_p++ = (int)(act); \
|
/src/sys/arch/bebox/stand/boot/ |
kbd.c | 85 u_char dt, brk, act; local in function:kbd 100 act = action[dt]; 101 if (act & SHF) 103 if (act & ALT) 105 if (act & NUM) { 106 if (act & L) { 114 if (act & CTL) 116 if (act & CPS) { 117 if (act & L) { 125 if (act & STP) [all...] |
/src/sys/arch/prep/stand/boot/ |
kbd.c | 85 u_char dt, brk, act; local in function:kbd 100 act = action[dt]; 101 if (act & SHF) 103 if (act & ALT) 105 if (act & NUM) { 106 if (act & L) { 114 if (act & CTL) 116 if (act & CPS) { 117 if (act & L) { 125 if (act & STP) [all...] |
/src/sys/external/mit/xen-include-public/dist/xen/include/public/io/ |
vscsiif.h | 265 uint8_t act; /* command between backend and frontend */ member in struct:vscsiif_request 298 uint8_t act; /* VSCSIIF_ACT_SCSI_SG_PRESET */ member in struct:vscsiif_sg_list 308 uint8_t act; /* deprecated: valid only if SG_PRESET supported */ member in struct:vscsiif_response
|
/src/tests/lib/libc/gen/posix_spawn/ |
h_spawnattr.c | 51 struct sigaction act; local in function:main 64 if (sigaction(SIGUSR1, NULL, &act) < 0) { 68 if (act.sa_sigaction != (void *)SIG_DFL) {
|
/src/tests/fs/common/ |
fstest_ffs.c | 64 struct sigaction act, oact; local in function:ffs_fstest_newfs 68 memset(&act, 0, sizeof(act)); 69 act.sa_handler = SIG_DFL; 70 sigaction(SIGCHLD, &act, &oact);
|
fstest_udf.c | 64 struct sigaction act, oact; local in function:udf_fstest_newfs 71 memset(&act, 0, sizeof(act)); 72 act.sa_handler = SIG_DFL; 73 sigaction(SIGCHLD, &act, &oact);
|
/src/sys/netinet/ |
tcp_debug.c | 111 tcp_trace(short act, short ostate, struct tcpcb *tp, struct mbuf *m, int req) 121 td->td_act = act; 164 printf("%s ", tanames[act]); 165 switch (act) { 175 if (act == TA_OUTPUT) { 180 if (act == TA_OUTPUT)
|
/src/bin/pax/ |
options.c | 688 act = LIST; 692 act = EXTRACT; 695 act = ARCHIVE; 698 act = APPND; 701 act = COPY; 715 if (!(flg & XF) && (act == ARCHIVE)) 721 switch (act) { 863 if (act != ERROR && act != op) 865 act = op [all...] |