Home
last modified time | relevance | path

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

12345678910>>...64

/external/libnl/lib/route/
Dact.c52 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/
Dinterrupts.c42 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/
Dsyscalls_sigaction.cc19 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/
Dinterrupts.c78 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/
D8-19.c39 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()
D8-12.c41 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()
D8-17.c41 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()
D8-6.c41 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()
D8-10.c41 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()
D8-25.c41 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()
D8-11.c41 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()
D8-5.c41 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()
D8-23.c41 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()
D8-18.c41 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()
D8-1.c41 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()
D8-4.c41 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()
D8-8.c41 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()
D8-2.c41 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()
D8-22.c41 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()
D8-24.c41 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()
D8-13.c41 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()
D8-7.c41 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()
D8-21.c41 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()
D8-15.c41 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()
D8-26.c41 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()

12345678910>>...64