/dragonfly/sys/netproto/802_11/wlan/ |
H A D | ieee80211_action.c | 89 ba_send_action[act] = f; in ieee80211_send_action_register() 94 ht_send_action[act] = f; in ieee80211_send_action_register() 99 meshpl_send_action[act] = f; in ieee80211_send_action_register() 110 vendor_send_action[act] = f; in ieee80211_send_action_register() 130 f = ba_send_action[act]; in ieee80211_send_action() 134 f = ht_send_action[act]; in ieee80211_send_action() 149 return f(ni, cat, act, sa); in ieee80211_send_action() 188 ba_recv_action[act] = f; in ieee80211_recv_action_register() 193 ht_recv_action[act] = f; in ieee80211_recv_action_register() 198 meshpl_recv_action[act] = f; in ieee80211_recv_action_register() [all …]
|
/dragonfly/usr.sbin/moused/ |
H A D | moused.c | 1784 act->dx = act->dy = act->dz = 0; in r_protocol() 1808 act->dx = act->dy = 0; in r_protocol() 1818 act->dx = act->dy = act->dz = 0; in r_protocol() 1825 act->flags = ((act->dx || act->dy || act->dz) ? MOUSE_POSCHANGED : 0) in r_protocol() 1923 act->dx = act->dy = 0; in r_protocol() 1994 act->dx = act->dy = 0; in r_protocol() 2066 act->dx = act->dy = 0; in r_protocol() 2106 act->dx = act->dy = 0; in r_protocol() 2141 act->flags = ((act->dx || act->dy || act->dz) ? MOUSE_POSCHANGED : 0) in r_protocol() 3038 act->dx = act->dy = act->dz = 0 ; in kidspad() [all …]
|
/dragonfly/test/libpthread/ |
H A D | sigwait_d.c | 116 struct sigaction act; in main() local 131 sigemptyset (&act.sa_mask); in main() 134 act.sa_handler = SIG_IGN; in main() 135 act.sa_flags = 0; in main() 140 sigemptyset (&act.sa_mask); in main() 142 act.sa_handler = sighandler; in main() 143 act.sa_flags = SA_RESTART; in main() 147 sigemptyset (&act.sa_mask); in main() 221 sigemptyset (&act.sa_mask); in main() 223 act.sa_handler = sighandler; in main() [all …]
|
H A D | sigsuspend_d.c | 155 struct sigaction act; in main() local 163 sigemptyset (&act.sa_mask); in main() 165 act.sa_handler = SIG_IGN; in main() 166 act.sa_flags = 0; in main() 167 sigaction (SIGIO, &act, NULL); in main() 170 sigemptyset (&act.sa_mask); in main() 172 act.sa_handler = sighandler; in main() 173 act.sa_flags = SA_RESTART; in main() 177 sigemptyset (&act.sa_mask); in main() 191 sigemptyset (&act.sa_mask); in main() [all …]
|
/dragonfly/lib/libc/stdlib/ |
H A D | abort.c | 45 struct sigaction act; in abort() local 54 sigfillset(&act.sa_mask); in abort() 59 sigdelset(&act.sa_mask, SIGABRT); in abort() 60 _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 _sigaction(SIGABRT, &act, NULL); in abort() 71 sigdelset(&act.sa_mask, SIGABRT); in abort() 72 _sigprocmask(SIG_SETMASK, &act.sa_mask, NULL); in abort()
|
/dragonfly/bin/pax/ |
H A D | options.c | 515 act = LIST; in pax_options() 525 act = APPND; in pax_options() 528 act = COPY; in pax_options() 548 switch (act) { in pax_options() 690 act = APPND; in tar_options() 705 act = LIST; in tar_options() 825 if (act == ARCHIVE || act == APPND) in tar_options() 835 switch (act) { in tar_options() 1030 act = -1; in cpio_options() 1094 act = COPY; in cpio_options() [all …]
|
H A D | ar_io.c | 109 switch (act) { in ar_open() 193 if (act == ARCHIVE) { in ar_open() 235 if ((act == APPND) && wrblksz) { in ar_open() 248 if ((act == APPND) || (artyp == ISCHR)) in ar_open() 258 if ((act == APPND) && wrblksz && ((arsb.st_size%wrblksz)==0)){ in ar_open() 276 if (act == APPND) in ar_open() 335 if ((act == LIST || act == EXTRACT) && nflag && zpid > 0) in ar_close() 719 if ((act == APPND) || (act == ARCHIVE)) { in ar_rdsync() 1132 if ((act == ARCHIVE) || (act == APPND)) in ar_next()
|
/dragonfly/contrib/ncurses/ncurses/tty/ |
H A D | lib_tstp.c | 142 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 …]
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | cfgloopanal.c | 75 basic_block act; in mark_irreducible_loops() local 90 FOR_BB_BETWEEN (act, ENTRY_BLOCK_PTR, EXIT_BLOCK_PTR, next_bb) in mark_irreducible_loops() 92 act->flags &= ~BB_IRREDUCIBLE_LOOP; in mark_irreducible_loops() 93 FOR_EACH_EDGE (e, ei, act->succs) in mark_irreducible_loops() 100 FOR_BB_BETWEEN (act, ENTRY_BLOCK_PTR, EXIT_BLOCK_PTR, next_bb) in mark_irreducible_loops() 101 FOR_EACH_EDGE (e, ei, act->succs) in mark_irreducible_loops() 107 src = BB_REPR (act); in mark_irreducible_loops() 112 && e->dest->loop_father->latch == act) in mark_irreducible_loops() 126 if (!flow_bb_inside_loop_p (act->loop_father, e->dest)) in mark_irreducible_loops() 130 if (depth == loop_depth (act->loop_father)) in mark_irreducible_loops() [all …]
|
/dragonfly/contrib/lvm2/dist/include/ |
H A D | lvm-wrappers.h | 32 struct sigaction act; \ 33 (void) sigaction(sig, NULL, &act); \ 35 act.sa_flags &= SA_RESTART; \ 37 act.sa_flags |= SA_RESTART; \ 38 ret = sigaction(sig, &act, NULL); \
|
/dragonfly/contrib/lvm2/dist/lib/misc/ |
H A D | lvm-wrappers.h | 32 struct sigaction act; \ 33 (void) sigaction(sig, NULL, &act); \ 35 act.sa_flags &= SA_RESTART; \ 37 act.sa_flags |= SA_RESTART; \ 38 ret = sigaction(sig, &act, NULL); \
|
/dragonfly/contrib/diffutils/lib/ |
H A D | c-stack.c | 285 struct sigaction act; in c_stack_action() local 304 sigemptyset (&act.sa_mask); in c_stack_action() 310 act.sa_flags = SA_NODEFER | SA_ONSTACK | SA_RESETHAND | SA_SIGINFO; in c_stack_action() 311 act.sa_sigaction = segv_handler; in c_stack_action() 313 act.sa_flags = SA_NODEFER | SA_ONSTACK | SA_RESETHAND; in c_stack_action() 314 act.sa_handler = die; in c_stack_action() 318 if (sigaction (SIGBUS, &act, NULL) < 0) in c_stack_action() 321 return sigaction (SIGSEGV, &act, NULL); in c_stack_action()
|
/dragonfly/contrib/grep/lib/ |
H A D | c-stack.c | 288 struct sigaction act; in c_stack_action() local 308 sigemptyset (&act.sa_mask); in c_stack_action() 314 act.sa_flags = SA_NODEFER | SA_ONSTACK | SA_RESETHAND | SA_SIGINFO; in c_stack_action() 315 act.sa_sigaction = segv_handler; in c_stack_action() 317 act.sa_flags = SA_NODEFER | SA_ONSTACK | SA_RESETHAND; in c_stack_action() 318 act.sa_handler = die; in c_stack_action() 322 if (sigaction (SIGBUS, &act, NULL) < 0) in c_stack_action() 325 return sigaction (SIGSEGV, &act, NULL); in c_stack_action()
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | cfgloopanal.c | 76 basic_block act; in mark_irreducible_loops() local 91 FOR_BB_BETWEEN (act, ENTRY_BLOCK_PTR_FOR_FN (cfun), in mark_irreducible_loops() 94 act->flags &= ~BB_IRREDUCIBLE_LOOP; in mark_irreducible_loops() 95 FOR_EACH_EDGE (e, ei, act->succs) in mark_irreducible_loops() 102 FOR_BB_BETWEEN (act, ENTRY_BLOCK_PTR_FOR_FN (cfun), in mark_irreducible_loops() 104 FOR_EACH_EDGE (e, ei, act->succs) in mark_irreducible_loops() 110 src = BB_REPR (act); in mark_irreducible_loops() 115 && e->dest->loop_father->latch == act) in mark_irreducible_loops() 133 if (depth == loop_depth (act->loop_father)) in mark_irreducible_loops() 134 cloop = act->loop_father; in mark_irreducible_loops() [all …]
|
/dragonfly/lib/libthread_xu/thread/ |
H A D | thr_sig.c | 127 struct sigaction act; in _thr_signal_init() local 130 SIGEMPTYSET(act.sa_mask); in _thr_signal_init() 131 act.sa_flags = SA_SIGINFO | SA_RESTART; in _thr_signal_init() 132 act.sa_sigaction = (__siginfohandler_t *)&sigcancel_handler; in _thr_signal_init() 133 __sys_sigaction(SIGCANCEL, &act, NULL); in _thr_signal_init() 141 act.sa_flags = SA_RESTART; in _thr_signal_init() 142 act.sa_handler = _thr_debug_sig; in _thr_signal_init() 143 __sys_sigaction(63, &act, NULL); in _thr_signal_init() 153 _sigaction(int sig, const struct sigaction * act, struct sigaction * oact) in _sigaction() argument 162 return __sys_sigaction(sig, act, oact); in _sigaction()
|
/dragonfly/contrib/gcc-4.7/libgcc/config/i386/ |
H A D | crtfastmath.c | 76 struct sigaction act, oact; in set_fast_math() local 78 act.sa_handler = sigill_hdlr; in set_fast_math() 79 sigemptyset (&act.sa_mask); in set_fast_math() 81 act.sa_flags = SA_SIGINFO; in set_fast_math() 82 sigaction (SIGILL, &act, &oact); in set_fast_math()
|
/dragonfly/contrib/tcsh-6/ |
H A D | tc.sig.c | 38 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()
|
/dragonfly/sys/netproto/802_11/ |
H A D | ieee80211_action.h | 39 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);
|
/dragonfly/sbin/udevd/ |
H A D | udevd.c | 344 struct sigaction act; in ignore_signal() local 347 act.sa_handler = SIG_IGN; in ignore_signal() 348 sigemptyset(&act.sa_mask); in ignore_signal() 349 act.sa_flags = 0; in ignore_signal() 351 ret = sigaction(signum, &act, NULL); in ignore_signal() 358 struct sigaction act; in set_signal() local 361 act.sa_handler = sig_func; in set_signal() 362 sigemptyset(&act.sa_mask); in set_signal() 363 act.sa_flags = 0; in set_signal() 365 ret = sigaction(signum, &act, NULL); in set_signal()
|
/dragonfly/tools/regression/lib/libm/ |
H A D | test-fenv.c | 321 struct sigaction act; in test_masking() local 335 sigemptyset(&act.sa_mask); in test_masking() 336 act.sa_flags = 0; in test_masking() 337 act.sa_handler = trap_handler; in test_masking() 362 assert(sigaction(SIGFPE, &act, NULL) == 0); in test_masking() 401 struct sigaction act; in test_feholdupdate() local 404 sigemptyset(&act.sa_mask); in test_feholdupdate() 405 act.sa_flags = 0; in test_feholdupdate() 406 act.sa_handler = trap_handler; in test_feholdupdate() 439 assert(sigaction(SIGFPE, &act, NULL) == in test_feholdupdate()
|
/dragonfly/usr.bin/lockf/ |
H A D | lockf.c | 99 struct sigaction act; in main() local 101 act.sa_handler = timeout; in main() 102 sigemptyset(&act.sa_mask); in main() 103 act.sa_flags = 0; /* Note that we do not set SA_RESTART. */ in main() 105 sigaction(SIGALRM, &act, NULL); in main()
|
/dragonfly/libexec/dma/ |
H A D | util.c | 267 struct sigaction act; in do_timeout() local 270 sigemptyset(&act.sa_mask); in do_timeout() 271 act.sa_flags = 0; in do_timeout() 274 act.sa_handler = sigalrm_handler; in do_timeout() 275 if (sigaction(SIGALRM, &act, NULL) != 0) in do_timeout() 290 act.sa_handler = SIG_IGN; in do_timeout() 291 if (sigaction(SIGALRM, &act, NULL) != 0) in do_timeout()
|
/dragonfly/sys/netinet/ |
H A D | tcp_debug.c | 76 tcp_trace(short act, short ostate, struct tcpcb *tp, void *ipgen, in tcp_trace() argument 97 td->td_act = act; in tcp_trace() 153 kprintf("%s ", tanames[act]); in tcp_trace() 154 switch (act) { in tcp_trace() 168 if (act == TA_OUTPUT) { in tcp_trace() 173 if (act == TA_OUTPUT) in tcp_trace()
|
/dragonfly/sbin/kldconfig/ |
H A D | kldconfig.c | 331 void (*act)(struct pathhead *, char *, int, int); in main() local 338 act = addpath; in main() 355 act = rempath; in main() 361 if (act != addpath) in main() 366 if (act != addpath) in main() 416 if ((act != addpath) || mflag || rflag || uniqflag) in main() 423 act(&pathq, argv[i], fflag, iflag); in main()
|
/dragonfly/usr.bin/cmp/ |
H A D | regular.c | 59 struct sigaction act, oact; in c_regular() local 94 sigemptyset(&act.sa_mask); in c_regular() 95 act.sa_flags = SA_NODEFER; in c_regular() 96 act.sa_handler = segv_handler; in c_regular() 97 if (sigaction(SIGSEGV, &act, &oact)) in c_regular()
|