Searched refs:act (Results 1 - 25 of 176) sorted by relevance

12345678

/freebsd-current/lib/libc/stdlib/
H A Dabort.c45 struct sigaction act; local
54 sigfillset(&act.sa_mask);
59 sigdelset(&act.sa_mask, SIGABRT);
60 (void)__libc_sigprocmask(SIG_SETMASK, &act.sa_mask, NULL);
67 act.sa_handler = SIG_DFL;
68 act.sa_flags = 0;
69 sigfillset(&act.sa_mask);
70 (void)__libc_sigaction(SIGABRT, &act, NULL);
71 sigdelset(&act.sa_mask, SIGABRT);
72 (void)__libc_sigprocmask(SIG_SETMASK, &act
[all...]
/freebsd-current/sys/net80211/
H A Dieee80211_action.h39 int ieee80211_send_action_register(int cat, int act,
41 void ieee80211_send_action_unregister(int cat, int act);
46 int ieee80211_recv_action_register(int cat, int act,
48 void ieee80211_recv_action_unregister(int cat, int act);
H A Dieee80211_action.c52 send_inval(struct ieee80211_node *ni, int cat, int act, void *sa) argument
84 ieee80211_send_action_register(int cat, int act, ieee80211_send_action_func *f) argument
88 if (act >= nitems(ba_send_action))
90 ba_send_action[act] = f;
93 if (act >= nitems(ht_send_action))
95 ht_send_action[act] = f;
98 if (act >= nitems(meshpl_send_action))
100 meshpl_send_action[act] = f;
103 if (act >= nitems(meshaction_send_action))
105 meshaction_send_action[act]
122 ieee80211_send_action_unregister(int cat, int act) argument
128 ieee80211_send_action(struct ieee80211_node *ni, int cat, int act, void *sa) argument
195 ieee80211_recv_action_register(int cat, int act, ieee80211_recv_action_func *f) argument
233 ieee80211_recv_action_unregister(int cat, int act) argument
[all...]
/freebsd-current/contrib/netbsd-tests/lib/libpthread/
H A Dt_sigmask.c109 struct sigaction act; local
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, NUL
179 struct sigaction act; local
224 struct sigaction act; local
[all...]
H A Dt_siglongjmp.c78 struct sigaction act; local
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);
H A Dt_sleep.c74 struct sigaction act; local
79 act.sa_handler = handler;
80 sigemptyset(&act.sa_mask);
81 act.sa_flags = 0;
82 sigaction(SIGALRM, &act, NULL);
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_signal_interceptors.inc32 # define SIGNAL_INTERCEPTOR_SIGACTION_IMPL(signum, act, oldact) \
40 return REAL(sigaction_symname)(signum, act, oldact); \
65 const __sanitizer_sigaction *act, __sanitizer_sigaction *oldact) {
69 act = nullptr;
71 SIGNAL_INTERCEPTOR_SIGACTION_IMPL(signum, act, oldact);
76 int real_sigaction(int signum, const void *act, void *oldact) {
77 return REAL(sigaction_symname)(signum, (const __sanitizer_sigaction *)act,
88 DEFINE_REAL(int, sigaction, int signum, const __sanitizer_sigaction *act,
/freebsd-current/lib/libc/iconv/
H A Dcitrus_module.h35 #define MATCH(x, act) \
39 act; \
/freebsd-current/lib/libc/sys/
H A Dsigaction.c41 sigaction(int sig, const struct sigaction *act, struct sigaction *oact) argument
43 return (INTERPOS_SYS(sigaction, sig, act, oact));
/freebsd-current/contrib/netbsd-tests/lib/libc/gen/exect/
H A Dt_exect.c58 struct sigaction act; local
73 ATF_REQUIRE(sigemptyset(&act.sa_mask) == 0);
74 act.sa_sigaction = sigtrap_handler;
75 act.sa_flags = SA_SIGINFO;
77 ATF_REQUIRE(sigaction(SIGTRAP, &act, 0) == 0);
/freebsd-current/tests/sys/kern/
H A Dlibkern_crc32.c53 uint32_t act; local
57 act = sse42_crc32c(crc32c, buffer, length);
58 ATF_CHECK_EQ_MSG(expected, act,
59 "sse42_crc32c expected 0x%08x, got 0x%08x", expected, act);
62 act = armv8_crc32c(crc32c, buffer, length);
63 ATF_CHECK_EQ_MSG(expected, act,
64 "armv8_crc32c expected 0x%08x, got 0x%08x", expected, act);
66 act = singletable_crc32c(crc32c, buffer, length);
67 ATF_CHECK_EQ_MSG(expected, act,
68 "singletable_crc32c expected 0x%08x, got 0x%08x", expected, act);
[all...]
/freebsd-current/lib/libexecinfo/tests/
H A Dsigtramp_test.c48 struct sigaction act; local
52 memset(&act, 0, sizeof(act));
53 act.sa_handler = handler;
54 sigemptyset(&act.sa_mask);
55 sigaction(SIGUSR1, &act, NULL);
/freebsd-current/tools/test/stress2/misc/
H A Dptrace9.sh61 struct sigaction act;
71 act.sa_handler = sighup;
72 act.sa_flags = 0;
73 sigemptyset(&act.sa_mask);
74 if (sigaction(SIGHUP, &act, NULL) != 0)
H A Dsetrlimit2.sh70 struct sigaction act;
80 act.sa_handler = handler;
81 act.sa_flags = 0;
82 sigemptyset(&act.sa_mask);
83 if (sigaction(SIGXFSZ, &act, NULL) != 0)
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/
H A Dtst.fds.c51 struct sigaction act; local
58 act.sa_handler = interrupt;
59 act.sa_flags = 0;
61 (void) sigemptyset(&act.sa_mask);
62 (void) sigaction(SIGUSR1, &act, NULL);
/freebsd-current/contrib/tcsh/
H A Dtc.sig.c38 struct sigaction act; local
40 act.sa_handler = fn;
41 sigemptyset(&act.sa_mask);
42 act.sa_flags = 0;
43 if (sigaction(sig, &act, NULL) == 0) {
/freebsd-current/lib/libc/tests/gen/
H A Ddlopen_empty_test.c61 struct sigaction act, oact; local
71 act.sa_handler = sigsegv_handler;
72 act.sa_flags = 0;
73 sigemptyset(&act.sa_mask);
74 ATF_CHECK_MSG(sigaction(SIGSEGV, &act, &oact) != -1,
/freebsd-current/contrib/ntp/sntp/
H A Dcrypto.c243 struct key *act; local
253 act = emalloc(sizeof(*act));
256 &act->key_id, act->typen, keystring);
261 act->key_len = len;
262 memcpy(act->key_seq, keystring, len + 1);
267 act->key_len = len >> 1;
276 act->key_seq[j>>1] = (char)val;
279 act
[all...]
/freebsd-current/usr.sbin/moused/
H A Dmoused.c532 static int r_protocol(u_char b, mousestatus_t *act);
536 static void r_timestamp(mousestatus_t *act);
538 static void r_click(mousestatus_t *act);
553 static int kidspad(u_char rxc, mousestatus_t *act);
1794 r_protocol(u_char rBuf, mousestatus_t *act) argument
1883 return (kidspad(rBuf, act));
1885 return (gtco_digipad(rBuf, act));
1971 act->dx = act->dy = act
2506 r_timestamp(mousestatus_t *act) argument
2588 r_click(mousestatus_t *act) argument
3190 kidspad(u_char rxc, mousestatus_t *act) argument
3252 gtco_digipad(u_char rxc, mousestatus_t *act) argument
[all...]
/freebsd-current/stand/kboot/libkboot/
H A Dtermios.c22 host_tcsetattr(int fd, int act, const struct host_termios *tio) argument
24 if (act < 0 || act > 2) {
28 return host_ioctl(fd, HOST_TCSETS+act, (uintptr_t)tio);
/freebsd-current/sys/contrib/dev/rtw89/
H A Dps.c196 enum rtw89_p2pps_action act)
198 if (act == RTW89_P2P_ACT_UPDATE || act == RTW89_P2P_ACT_REMOVE)
201 if (act == RTW89_P2P_ACT_INIT)
203 else if (act == RTW89_P2P_ACT_TERMINATE)
211 enum rtw89_p2pps_action act; local
219 act = RTW89_P2P_ACT_TERMINATE;
221 act = RTW89_P2P_ACT_REMOVE;
222 rtw89_tsf32_toggle(rtwdev, rtwvif, act);
223 rtw89_fw_h2c_p2p_act(rtwdev, vif, NULL, act, noa_i
195 rtw89_tsf32_toggle(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwvif, enum rtw89_p2pps_action act) argument
232 enum rtw89_p2pps_action act; local
[all...]
/freebsd-current/usr.sbin/mlx5tool/
H A Dmlx5tool.c314 enum mlx5_action act; local
316 act = ACTION_NONE;
326 if (act != ACTION_NONE)
328 act = ACTION_DUMP_GET;
331 if (act != ACTION_NONE)
333 act = ACTION_GET_EEPROM_INFO;
336 if (act != ACTION_NONE)
338 act = ACTION_DUMP_FORCE;
344 if (act != ACTION_NONE)
346 act
[all...]
/freebsd-current/sys/net/altq/
H A Daltq_rmclass_debug.h85 #define CBQTRACE(func, act, obj) { \
90 *_p++ = (int)(act); \
/freebsd-current/contrib/netbsd-tests/lib/libc/gen/posix_spawn/
H A Dh_spawnattr.c49 struct sigaction act; local
62 if (sigaction(SIGUSR1, NULL, &act) < 0) {
66 if (act.sa_sigaction != (void *)SIG_DFL) {
/freebsd-current/sys/contrib/xen/io/
H A Dvscsiif.h265 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

Completed in 302 milliseconds

12345678