/external/libnl/lib/route/ |
D | act.c | 52 int rtnl_act_remove(struct rtnl_act **head, struct rtnl_act *act) in rtnl_act_remove() argument 57 if (a == act) in rtnl_act_remove() 68 static int rtnl_act_fill_one(struct nl_msg *msg, struct rtnl_act *act, int order) in rtnl_act_fill_one() argument 70 struct rtnl_tc *tc = TC_CAST(act); in rtnl_act_fill_one() 105 int rtnl_act_fill(struct nl_msg *msg, int attrtype, struct rtnl_act *act) in rtnl_act_fill() argument 107 struct rtnl_act *p_act = act; in rtnl_act_fill() 126 static int rtnl_act_msg_build(struct rtnl_act *act, int type, int flags, in rtnl_act_msg_build() argument 142 err = rtnl_act_fill(msg, TCA_ACT_TAB, act); in rtnl_act_msg_build() 154 static int act_build(struct rtnl_act *act, int type, int flags, in act_build() argument 159 err = rtnl_act_msg_build(act, type, flags, result); in act_build() [all …]
|
/external/u-boot/arch/nios2/cpu/ |
D | interrupts.c | 42 struct irq_action *act; in external_interrupt() local 46 act = vecs; in external_interrupt() 54 act->handler (act->arg); in external_interrupt() 55 act->count++; in external_interrupt() 58 act++; in external_interrupt() 80 struct irq_action *act; in irq_install_handler() local 85 act = &vecs[irq]; in irq_install_handler() 89 act->handler = hdlr; in irq_install_handler() 90 act->arg = arg; in irq_install_handler() 93 act->handler = def_hdlr; in irq_install_handler() [all …]
|
/external/compiler-rt/test/msan/Linux/ |
D | syscalls_sigaction.cc | 19 my_kernel_sigaction act = {}, oldact = {}; in main() local 22 __msan_poison(&act.handler, sizeof(act.handler)); in main() 23 __sanitizer_syscall_pre_rt_sigaction(SIGUSR1, &act, &oldact, 20 * 8); in main() 25 __msan_poison(&act.flags, sizeof(act.flags)); in main() 26 __sanitizer_syscall_pre_rt_sigaction(SIGUSR1, &act, &oldact, 20 * 8); in main() 28 __msan_poison(&act.mask, 1); in main() 29 __sanitizer_syscall_pre_rt_sigaction(SIGUSR1, &act, &oldact, 20 * 8); in main() 32 __msan_poison(((char *)&act.mask) + 5, 1); in main() 33 __sanitizer_syscall_pre_rt_sigaction(SIGUSR1, &act, &oldact, 5); in main() 35 memset(&act, 0, sizeof(act)); in main() [all …]
|
/external/u-boot/arch/microblaze/cpu/ |
D | interrupts.c | 78 struct irq_action *act; in install_interrupt_handler() local 85 act = &vecs[irq]; in install_interrupt_handler() 87 act->handler = hdlr; in install_interrupt_handler() 88 act->arg = arg; in install_interrupt_handler() 89 act->count = 0; in install_interrupt_handler() 95 act->handler = (interrupt_handler_t *)def_hdlr; in install_interrupt_handler() 96 act->arg = (void *)irq; in install_interrupt_handler() 164 struct irq_action *act = vecs + irqs; in interrupt_handler() local 174 (u32)act->handler, act->count, (u32)act->arg); in interrupt_handler() 175 act->handler(act->arg); in interrupt_handler() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
D | 8-19.c | 39 struct sigaction act; in main() local 41 act.sa_handler = SIGUSR1_handler; in main() 42 act.sa_flags = 0; in main() 43 sigemptyset(&act.sa_mask); in main() 44 sigaddset(&act.sa_mask, SIGUSR2); in main() 46 if (sigaction(SIGUSR1, &act, 0) == -1) { in main() 52 act.sa_handler = SIGUSR2_handler; in main() 53 act.sa_flags = 0; in main() 54 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGUSR2, &act, 0) == -1) { in main()
|
D | 8-12.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGSEGV_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGQUIT); in main() 47 if (sigaction(SIGSEGV, &act, 0) == -1) { in main() 53 act.sa_handler = SIGQUIT_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGQUIT, &act, 0) == -1) { in main()
|
D | 8-17.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGUSR1_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGTTOU); in main() 47 if (sigaction(SIGUSR1, &act, 0) == -1) { in main() 53 act.sa_handler = SIGTTOU_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGTTOU, &act, 0) == -1) { in main()
|
D | 8-6.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGFPE_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGCONT); in main() 47 if (sigaction(SIGFPE, &act, 0) == -1) { in main() 53 act.sa_handler = SIGCONT_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGCONT, &act, 0) == -1) { in main()
|
D | 8-10.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGPIPE_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGINT); in main() 47 if (sigaction(SIGPIPE, &act, 0) == -1) { in main() 53 act.sa_handler = SIGINT_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGINT, &act, 0) == -1) { in main()
|
D | 8-25.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGXCPU_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGVTALRM); in main() 47 if (sigaction(SIGXCPU, &act, 0) == -1) { in main() 53 act.sa_handler = SIGVTALRM_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGVTALRM, &act, 0) == -1) { in main()
|
D | 8-11.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGQUIT_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGPIPE); in main() 47 if (sigaction(SIGQUIT, &act, 0) == -1) { in main() 53 act.sa_handler = SIGPIPE_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGPIPE, &act, 0) == -1) { in main()
|
D | 8-5.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGCONT_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGCHLD); in main() 47 if (sigaction(SIGCONT, &act, 0) == -1) { in main() 53 act.sa_handler = SIGCHLD_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGCHLD, &act, 0) == -1) { in main()
|
D | 8-23.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGURG_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGTRAP); in main() 47 if (sigaction(SIGURG, &act, 0) == -1) { in main() 53 act.sa_handler = SIGTRAP_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGTRAP, &act, 0) == -1) { in main()
|
D | 8-18.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGUSR2_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGUSR1); in main() 47 if (sigaction(SIGUSR2, &act, 0) == -1) { in main() 53 act.sa_handler = SIGUSR1_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGUSR1, &act, 0) == -1) { in main()
|
D | 8-1.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGABRT_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGXFSZ); in main() 47 if (sigaction(SIGABRT, &act, 0) == -1) { in main() 53 act.sa_handler = SIGXFSZ_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGXFSZ, &act, 0) == -1) { in main()
|
D | 8-4.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGCHLD_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGBUS); in main() 47 if (sigaction(SIGCHLD, &act, 0) == -1) { in main() 53 act.sa_handler = SIGBUS_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGBUS, &act, 0) == -1) { in main()
|
D | 8-8.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGILL_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGHUP); in main() 47 if (sigaction(SIGILL, &act, 0) == -1) { in main() 53 act.sa_handler = SIGHUP_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGHUP, &act, 0) == -1) { in main()
|
D | 8-2.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGUSR2_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGABRT); in main() 47 if (sigaction(SIGUSR2, &act, 0) == -1) { in main() 53 act.sa_handler = SIGABRT_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGABRT, &act, 0) == -1) { in main()
|
D | 8-22.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGTRAP_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGSYS); in main() 47 if (sigaction(SIGTRAP, &act, 0) == -1) { in main() 53 act.sa_handler = SIGSYS_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGSYS, &act, 0) == -1) { in main()
|
D | 8-24.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGVTALRM_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGURG); in main() 47 if (sigaction(SIGVTALRM, &act, 0) == -1) { in main() 53 act.sa_handler = SIGURG_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGURG, &act, 0) == -1) { in main()
|
D | 8-13.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGTERM_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGSEGV); in main() 47 if (sigaction(SIGTERM, &act, 0) == -1) { in main() 53 act.sa_handler = SIGSEGV_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGSEGV, &act, 0) == -1) { in main()
|
D | 8-7.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGHUP_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGFPE); in main() 47 if (sigaction(SIGHUP, &act, 0) == -1) { in main() 53 act.sa_handler = SIGFPE_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGFPE, &act, 0) == -1) { in main()
|
D | 8-21.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGSYS_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGPROF); in main() 47 if (sigaction(SIGSYS, &act, 0) == -1) { in main() 53 act.sa_handler = SIGPROF_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGPROF, &act, 0) == -1) { in main()
|
D | 8-15.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGTTIN_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGTSTP); in main() 47 if (sigaction(SIGTTIN, &act, 0) == -1) { in main() 53 act.sa_handler = SIGTSTP_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGTSTP, &act, 0) == -1) { in main()
|
D | 8-26.c | 41 struct sigaction act; in main() local 43 act.sa_handler = SIGXFSZ_handler; in main() 44 act.sa_flags = 0; in main() 45 sigemptyset(&act.sa_mask); in main() 46 sigaddset(&act.sa_mask, SIGXCPU); in main() 47 if (sigaction(SIGXFSZ, &act, 0) == -1) { in main() 53 act.sa_handler = SIGXCPU_handler; in main() 54 act.sa_flags = 0; in main() 55 sigemptyset(&act.sa_mask); in main() 56 if (sigaction(SIGXCPU, &act, 0) == -1) { in main()
|