Home
last modified time | relevance | path

Searched refs:act (Results 1 – 25 of 340) sorted by relevance

12345678910>>...14

/freebsd/sys/net80211/
H A Dieee80211_action.c52 send_inval(struct ieee80211_node *ni, int cat, int act, void *sa) in send_inval() argument
84 ieee80211_send_action_register(int cat, int act, ieee80211_send_action_func *f) in ieee80211_send_action_register() argument
88 if (act >= nitems(ba_send_action)) in ieee80211_send_action_register()
90 ba_send_action[act] = f; in ieee80211_send_action_register()
93 if (act >= nitems(ht_send_action)) in ieee80211_send_action_register()
95 ht_send_action[act] = f; in ieee80211_send_action_register()
98 if (act >= nitems(meshpl_send_action)) in ieee80211_send_action_register()
100 meshpl_send_action[act] = f; in ieee80211_send_action_register()
103 if (act >= nitems(meshaction_send_action)) in ieee80211_send_action_register()
105 meshaction_send_action[act] = f; in ieee80211_send_action_register()
[all …]
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);
/freebsd/contrib/netbsd-tests/lib/libpthread/
H A Dt_sigmask.c109 struct sigaction act; in ATF_TC_BODY() local
111 act.sa_sigaction = upcalls_not_started_handler1; in ATF_TC_BODY()
112 sigemptyset(&act.sa_mask); in ATF_TC_BODY()
113 sigaddset(&act.sa_mask, SIGUSR2); in ATF_TC_BODY()
114 act.sa_flags = SA_SIGINFO; in ATF_TC_BODY()
116 ATF_REQUIRE_EQ(sigaction(SIGUSR1, &act, NULL), 0); in ATF_TC_BODY()
118 act.sa_sigaction = upcalls_not_started_handler2; in ATF_TC_BODY()
119 sigemptyset(&act.sa_mask); in ATF_TC_BODY()
120 act.sa_flags = SA_SIGINFO; in ATF_TC_BODY()
121 (void)sigaction(SIGUSR2, &act, NULL); in ATF_TC_BODY()
[all …]
H A Dt_siglongjmp.c78 struct sigaction act; in ATF_TC_BODY() local
89 act.sa_sigaction = handler; in ATF_TC_BODY()
90 sigemptyset(&act.sa_mask); in ATF_TC_BODY()
91 sigaddset(&act.sa_mask, SIGUSR2); in ATF_TC_BODY()
92 act.sa_flags = 0; in ATF_TC_BODY()
93 sigaction(SIGSEGV, &act, NULL); in ATF_TC_BODY()
H A Dt_sleep.c74 struct sigaction act; in ATF_TC_BODY() local
79 act.sa_handler = handler; in ATF_TC_BODY()
80 sigemptyset(&act.sa_mask); in ATF_TC_BODY()
81 act.sa_flags = 0; in ATF_TC_BODY()
82 sigaction(SIGALRM, &act, NULL); in ATF_TC_BODY()
/freebsd/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)
1883 return (kidspad(rBuf, act)); in r_protocol()
1885 return (gtco_digipad(rBuf, act)); in r_protocol()
1971 act->dx = act->dy = act in r_protocol()
1795 r_protocol(u_char rBuf,mousestatus_t * act) r_protocol() argument
2507 r_timestamp(mousestatus_t * act) r_timestamp() argument
2589 r_click(mousestatus_t * act) r_click() argument
3191 kidspad(u_char rxc,mousestatus_t * act) kidspad() argument
3253 gtco_digipad(u_char rxc,mousestatus_t * act) gtco_digipad() argument
[all...]
/freebsd/lib/libc/stdlib/
H A Dabort.c45 struct sigaction act; in abort() local
54 sigfillset(&act.sa_mask); in abort()
59 sigdelset(&act.sa_mask, SIGABRT); in abort()
60 (void)__libc_sigprocmask(SIG_SETMASK, &act.sa_mask, NULL); in abort()
67 act.sa_handler = SIG_DFL; in abort()
68 act.sa_flags = 0; in abort()
69 sigfillset(&act.sa_mask); in abort()
70 (void)__libc_sigaction(SIGABRT, &act, NULL); in abort()
71 sigdelset(&act.sa_mask, SIGABRT); in abort()
72 (void)__libc_sigprocmask(SIG_SETMASK, &act.sa_mask, NULL); in abort()
/freebsd/tests/sys/kern/
H A Dlibkern_crc32.c53 uint32_t act; in check_crc32c() local
57 act = sse42_crc32c(crc32c, buffer, length); in check_crc32c()
58 ATF_CHECK_EQ_MSG(expected, act, in check_crc32c()
59 "sse42_crc32c expected 0x%08x, got 0x%08x", expected, act); in check_crc32c()
62 act = armv8_crc32c(crc32c, buffer, length); in check_crc32c()
63 ATF_CHECK_EQ_MSG(expected, act, in check_crc32c()
64 "armv8_crc32c expected 0x%08x, got 0x%08x", expected, act); in check_crc32c()
66 act = singletable_crc32c(crc32c, buffer, length); in check_crc32c()
67 ATF_CHECK_EQ_MSG(expected, act, in check_crc32c()
68 "singletable_crc32c expected 0x%08x, got 0x%08x", expected, act); in check_crc32c()
[all …]
/freebsd/contrib/ntp/sntp/
H A Dcrypto.c236 struct key *act; in auth_init()
246 act = emalloc(sizeof(*act)); in auth_init()
249 &act->key_id, act->typen, keystring); in auth_init()
254 act->key_len = len; in auth_init()
255 memcpy(act->key_seq, keystring, len + 1); in auth_init()
260 act->key_len = len >> 1; in auth_init()
269 act->key_seq[j>>1] = (char)val; in auth_init()
272 act in auth_init()
243 struct key *act; auth_init() local
[all...]
/freebsd/usr.sbin/mlx5tool/
H A Dmlx5tool.c314 enum mlx5_action act; in main() local
316 act = ACTION_NONE; in main()
326 if (act != ACTION_NONE) in main()
328 act = ACTION_DUMP_GET; in main()
331 if (act != ACTION_NONE) in main()
333 act = ACTION_GET_EEPROM_INFO; in main()
336 if (act != ACTION_NONE) in main()
338 act = ACTION_DUMP_FORCE; in main()
344 if (act != ACTION_NONE) in main()
346 act = ACTION_DUMP_RESET; in main()
[all …]
/freebsd/sys/contrib/dev/rtw89/
H A Dps.c200 enum rtw89_p2pps_action act) in rtw89_tsf32_toggle()
202 if (act == RTW89_P2P_ACT_UPDATE || act == RTW89_P2P_ACT_REMOVE) in rtw89_tsf32_toggle()
205 if (act == RTW89_P2P_ACT_INIT) in rtw89_tsf32_toggle()
207 else if (act == RTW89_P2P_ACT_TERMINATE) in rtw89_p2p_disable_all_noa()
215 enum rtw89_p2pps_action act; in rtw89_p2p_disable_all_noa()
223 act = RTW89_P2P_ACT_TERMINATE; in rtw89_p2p_disable_all_noa()
225 act = RTW89_P2P_ACT_REMOVE; in rtw89_p2p_disable_all_noa()
226 rtw89_tsf32_toggle(rtwdev, rtwvif, act);
227 rtw89_fw_h2c_p2p_act(rtwdev, vif, NULL, act, noa_i
196 rtw89_tsf32_toggle(struct rtw89_dev * rtwdev,struct rtw89_vif * rtwvif,enum rtw89_p2pps_action act) rtw89_tsf32_toggle() argument
211 enum rtw89_p2pps_action act; rtw89_p2p_disable_all_noa() local
232 enum rtw89_p2pps_action act; rtw89_p2p_update_noa() local
[all...]
/freebsd/lib/libexecinfo/tests/
H A Dsigtramp_test.c48 struct sigaction act; in ATF_TC_BODY() local
52 memset(&act, 0, sizeof(act)); in ATF_TC_BODY()
53 act.sa_handler = handler; in ATF_TC_BODY()
54 sigemptyset(&act.sa_mask); in ATF_TC_BODY()
55 sigaction(SIGUSR1, &act, NULL); in ATF_TC_BODY()
/freebsd/contrib/ncurses/ncurses/tty/
H A Dlib_tstp.c142 sigaction_t act, oact; in handle_SIGTSTP() local
209 act.sa_handler = SIG_DFL; in handle_SIGTSTP()
210 sigemptyset(&act.sa_mask); in handle_SIGTSTP()
211 act.sa_flags = 0; in handle_SIGTSTP()
213 act.sa_flags |= SA_RESTART; in handle_SIGTSTP()
215 sigaction(SIGTSTP, &act, &oact); in handle_SIGTSTP()
261 sigaction_t act; in handle_SIGINT() local
262 sigemptyset(&act.sa_mask); in handle_SIGINT()
263 act.sa_flags = 0; in handle_SIGINT()
264 act.sa_handler = SIG_IGN; in handle_SIGINT()
[all …]
/freebsd/sys/cddl/dev/dtrace/
H A Ddtrace_ioctl.c113 dtrace_action_t *act; in dtrace_ioctl() local
143 for (act = agg->dtag_first; ; act = act->dta_next) { in dtrace_ioctl()
144 ASSERT(act->dta_intuple || in dtrace_ioctl()
145 DTRACEACT_ISAGG(act->dta_kind)); in dtrace_ioctl()
155 if (act->dta_rec.dtrd_size == 0) { in dtrace_ioctl()
162 if (act == &agg->dtag_action) in dtrace_ioctl()
181 for (act = agg->dtag_first; ; act = act->dta_next) { in dtrace_ioctl()
182 dtrace_recdesc_t rec = act->dta_rec; in dtrace_ioctl()
200 if (act == &agg->dtag_action) in dtrace_ioctl()
460 dtrace_action_t *act; in dtrace_ioctl() local
[all …]
/freebsd/bin/pax/
H A Doptions.c514 act = LIST; in pax_options()
518 act = EXTRACT; in pax_options()
521 act = ARCHIVE; in pax_options()
524 act = APPND; in pax_options()
527 act = COPY; in pax_options()
541 if (!(flg & XF) && (act == ARCHIVE)) in pax_options()
547 switch (act) { in pax_options()
621 act = ARCHIVE; in tar_options()
687 act = APPND; in tar_options()
702 act = LIST; in tar_options()
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/gen/exect/
H A Dt_exect.c58 struct sigaction act; in ATF_TC_BODY() local
73 ATF_REQUIRE(sigemptyset(&act.sa_mask) == 0); in ATF_TC_BODY()
74 act.sa_sigaction = sigtrap_handler; in ATF_TC_BODY()
75 act.sa_flags = SA_SIGINFO; in ATF_TC_BODY()
77 ATF_REQUIRE(sigaction(SIGTRAP, &act, 0) == 0); in ATF_TC_BODY()
/freebsd/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/sys/contrib/device-tree/Bindings/pinctrl/
H A Dmarvell,kirkwood-pinctrl.txt67 mpp5 5 gpo, nand(io7), uart0(txd), ptp(trig), sata0(act)
76 ptp-2(trig), sata0(act)
80 mpp15 15 gpio, sdio(d1), uart0(rts), uart1(txd), sata0(act)
86 mpp21 21 gpio, ge1(txd1), sata0(act)
100 mpp35 35 gpio, ge1(rxerr), sata0(act), mii(rxerr)
110 mpp4 4 gpio, nand(io6), uart0(rxd), ptp(clk), sata1(act)
111 mpp5 5 gpo, nand(io7), uart0(txd), ptp(trig), sata0(act)
118 mpp10 10 gpo, spi(sck), uart0(txd), ptp(trig), sata1(act)
120 ptp-2(trig), sata0(act)
124 mpp15 15 gpio, sdio(d1), uart0(rts), uart1(txd), sata0(act)
[all …]
/freebsd/lib/libc/tests/gen/
H A Ddlopen_empty_test.c61 struct sigaction act, oact; in ATF_TC_BODY() local
71 act.sa_handler = sigsegv_handler; in ATF_TC_BODY()
72 act.sa_flags = 0; in ATF_TC_BODY()
73 sigemptyset(&act.sa_mask); in ATF_TC_BODY()
74 ATF_CHECK_MSG(sigaction(SIGSEGV, &act, &oact) != -1, in ATF_TC_BODY()
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/
H A Dtst.fds.c51 struct sigaction act; in main() local
58 act.sa_handler = interrupt; in main()
59 act.sa_flags = 0; in main()
61 (void) sigemptyset(&act.sa_mask); in main()
62 (void) sigaction(SIGUSR1, &act, NULL); in main()
/freebsd/lib/libthr/thread/
H A Dthr_sig.c213 struct sigaction act; in thr_sighandler() local
222 act = usa->sigact; in thr_sighandler()
235 memcpy(&curthread->deferred_sigact, &act, sizeof(struct sigaction)); in thr_sighandler()
243 handle_signal(&act, sig, info, ucp); in thr_sighandler()
377 struct sigaction act; in check_deferred_signal() local
394 act = curthread->deferred_sigact; in check_deferred_signal()
399 handle_signal(&act, info.si_signo, &info, uc); in check_deferred_signal()
456 struct sigaction act, nact, oact; in _thr_signal_init() local
484 SIGFILLSET(act.sa_mask); in _thr_signal_init()
485 act.sa_flags = SA_SIGINFO; in _thr_signal_init()
[all …]
/freebsd/contrib/tcsh/
H A Dtc.sig.c38 struct sigaction act; in sigset_interrupting() local
40 act.sa_handler = fn; in sigset_interrupting()
41 sigemptyset(&act.sa_mask); in sigset_interrupting()
42 act.sa_flags = 0; in sigset_interrupting()
43 if (sigaction(sig, &act, NULL) == 0) { in sigset_interrupting()
/freebsd/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/sbin/ipf/ipscan/
H A Dipscan_y.y51 struct action act; member
56 %type <act> action redirect result
336 addtag(char *tstr, char **cp, char **sp, struct action *act) in addtag() argument
367 if (act->act_val == IPSL_CLOSE) { in addtag()
369 } else if (act->act_val == IPSL_TRACK) { in addtag()
371 } else if (act->act_val == IPSL_REDIRECT) { in addtag()
373 isc.ipsc_ip = act->act_ip; in addtag()
374 isc.ipsc_port = act->act_port; in addtag()
378 if (act->act_else == IPSL_CLOSE) { in addtag()
380 } else if (act->act_else == IPSL_TRACK) { in addtag()
[all …]

12345678910>>...14