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

12345678

/freebsd-11-stable/lib/libc/stdlib/
H A Dabort.c49 struct sigaction act; local
58 sigfillset(&act.sa_mask);
63 sigdelset(&act.sa_mask, SIGABRT);
64 (void)__libc_sigprocmask(SIG_SETMASK, &act.sa_mask, NULL);
71 act.sa_handler = SIG_DFL;
72 act.sa_flags = 0;
73 sigfillset(&act.sa_mask);
74 (void)__libc_sigaction(SIGABRT, &act, NULL);
75 sigdelset(&act.sa_mask, SIGABRT);
76 (void)__libc_sigprocmask(SIG_SETMASK, &act
[all...]
/freebsd-11-stable/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.c55 send_inval(struct ieee80211_node *ni, int cat, int act, void *sa) argument
87 ieee80211_send_action_register(int cat, int act, ieee80211_send_action_func *f) argument
91 if (act >= nitems(ba_send_action))
93 ba_send_action[act] = f;
96 if (act >= nitems(ht_send_action))
98 ht_send_action[act] = f;
101 if (act >= nitems(meshpl_send_action))
103 meshpl_send_action[act] = f;
106 if (act >= nitems(meshaction_send_action))
108 meshaction_send_action[act]
125 ieee80211_send_action_unregister(int cat, int act) argument
131 ieee80211_send_action(struct ieee80211_node *ni, int cat, int act, void *sa) argument
198 ieee80211_recv_action_register(int cat, int act, ieee80211_recv_action_func *f) argument
236 ieee80211_recv_action_unregister(int cat, int act) argument
[all...]
/freebsd-11-stable/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-11-stable/tests/sys/kern/
H A Dlibkern_crc32.c83 uint32_t act; local
89 act = sse42_crc32c(~0, (const void *)&inputs[i],
92 act = armv8_crc32c(~0, (const void *)&inputs[i],
95 ATF_REQUIRE_MSG(act == results[i],
97 results[i], act);
108 uint32_t act; local
115 act = sse42_crc32c(~0, (const void *)&buf[i], sizeof(input));
117 act = armv8_crc32c(~0, (const void *)&buf[i], sizeof(input));
119 ATF_REQUIRE_MSG(act == result,
121 result, act);
133 uint32_t act; local
[all...]
/freebsd-11-stable/lib/libc/sys/
H A Dsigaction.c45 sigaction(int sig, const struct sigaction *act, struct sigaction *oact) argument
49 __libc_interposing[INTERPOS_sigaction])(sig, act, oact));
/freebsd-11-stable/lib/libc/iconv/
H A Dcitrus_module.h34 #define MATCH(x, act) \
38 act; \
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_signal_interceptors.inc32 #define SIGNAL_INTERCEPTOR_SIGACTION_IMPL(signum, act, oldact) \
33 { return REAL(sigaction_symname)(signum, act, oldact); }
55 const __sanitizer_sigaction *act, __sanitizer_sigaction *oldact) {
57 SIGNAL_INTERCEPTOR_SIGACTION_IMPL(signum, act, oldact);
62 int real_sigaction(int signum, const void *act, void *oldact) {
63 return REAL(sigaction_symname)(signum, (const __sanitizer_sigaction *)act,
74 DEFINE_REAL(int, sigaction, int signum, const __sanitizer_sigaction *act,
/freebsd-11-stable/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-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/
H A Dtst.fds.c52 struct sigaction act; local
59 act.sa_handler = interrupt;
60 act.sa_flags = 0;
62 (void) sigemptyset(&act.sa_mask);
63 (void) sigaction(SIGUSR1, &act, NULL);
/freebsd-11-stable/lib/libc/tests/gen/
H A Ddlopen_empty_test.c64 struct sigaction act, oact; local
74 act.sa_handler = sigsegv_handler;
75 act.sa_flags = 0;
76 sigemptyset(&act.sa_mask);
77 ATF_CHECK_MSG(sigaction(SIGSEGV, &act, &oact) != -1,
/freebsd-11-stable/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-11-stable/contrib/ntp/sntp/
H A Dcrypto.c244 struct key *act; local
254 act = emalloc(sizeof(*act));
257 &act->key_id, act->typen, keystring);
262 act->key_len = len;
263 memcpy(act->key_seq, keystring, len + 1);
268 act->key_len = len >> 1;
277 act->key_seq[j>>1] = (char)val;
280 act
[all...]
/freebsd-11-stable/sys/dev/drm/
H A Ddrm_memory.c92 int act; local
98 act = MEMRANGE_SET_UPDATE;
100 return mem_range_attr_set(&mrdesc, &act);
106 int act; local
112 act = MEMRANGE_SET_REMOVE;
114 return mem_range_attr_set(&mrdesc, &act);
/freebsd-11-stable/usr.sbin/moused/
H A Dmoused.c549 static int r_protocol(u_char b, mousestatus_t *act);
553 static void r_timestamp(mousestatus_t *act);
555 static void r_click(mousestatus_t *act);
570 static int kidspad(u_char rxc, mousestatus_t *act);
1828 r_protocol(u_char rBuf, mousestatus_t *act) argument
1917 return (kidspad(rBuf, act));
1919 return (gtco_digipad(rBuf, act));
2005 act->dx = act->dy = act
2547 r_timestamp(mousestatus_t *act) argument
2629 r_click(mousestatus_t *act) argument
3231 kidspad(u_char rxc, mousestatus_t *act) argument
3293 gtco_digipad(u_char rxc, mousestatus_t *act) argument
[all...]
/freebsd-11-stable/sys/contrib/ngatm/netnatm/sig/
H A Dsig_verify.c91 if (e->act == UNI_IEACT_CLEAR)
93 else if (e->act == UNI_IEACT_MSG_REPORT) {
96 } else if (e->act == UNI_IEACT_MSG_IGNORE) {
152 " act=%u", e1->ie, e1->err, e1->man, e1->act);
183 if (e1->act == UNI_IEACT_CLEAR && e1->err == UNI_IERR_UNK) {
192 if (e1->act == UNI_IEACT_CLEAR &&
209 if (e1->act == UNI_IEACT_MSG_REPORT && e1->err == UNI_IERR_UNK) {
218 if (e1->act == UNI_IEACT_MSG_REPORT &&
233 if (e1->act
[all...]
/freebsd-11-stable/usr.sbin/mlx5tool/
H A Dmlx5tool.c317 enum mlx5_action act; local
319 act = ACTION_NONE;
329 if (act != ACTION_NONE)
331 act = ACTION_DUMP_GET;
334 if (act != ACTION_NONE)
336 act = ACTION_GET_EEPROM_INFO;
339 if (act != ACTION_NONE)
341 act = ACTION_DUMP_FORCE;
347 if (act != ACTION_NONE)
349 act
[all...]
/freebsd-11-stable/sys/net/altq/
H A Daltq_rmclass_debug.h88 #define CBQTRACE(func, act, obj) { \
93 *_p++ = (int)(act); \
/freebsd-11-stable/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-11-stable/sys/xen/interface/io/
H A Dvscsiif.h195 uint8_t act; /* command between backend and frontend */ member in struct:vscsiif_request
228 uint8_t act; /* VSCSIIF_ACT_SCSI_SG_PRESET */ member in struct:vscsiif_sg_list
238 uint8_t act; /* deprecated: valid only if SG_PRESET supported */ member in struct:vscsiif_response
/freebsd-11-stable/contrib/netbsd-tests/fs/common/
H A Dfstest_ffs.c63 struct sigaction act, oact; local
67 memset(&act, 0, sizeof(act));
68 act.sa_handler = SIG_DFL;
69 sigaction(SIGCHLD, &act, &oact);
H A Dfstest_udf.c63 struct sigaction act, oact; local
70 memset(&act, 0, sizeof(act));
71 act.sa_handler = SIG_DFL;
72 sigaction(SIGCHLD, &act, &oact);
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/
H A Dsminfo.c74 static unsigned act; variable
81 act = strtoul(optarg, 0, 0);
137 mad_encode_field(sminfo, IB_SMINFO_ACT_F, &act);
151 mad_decode_field(sminfo, IB_SMINFO_ACT_F, &act);
158 guid, act, prio, state, STATESTR(state));

Completed in 253 milliseconds

12345678