Home
last modified time | relevance | path

Searched refs:act (Results 101 – 125 of 791) sorted by relevance

12345678910>>...32

/openbmc/qemu/bsd-user/
H A Dsignal.c370 struct sigaction act; in dump_core_and_abort() local
403 memset(&act, 0, sizeof(act)); in dump_core_and_abort()
404 sigfillset(&act.sa_mask); in dump_core_and_abort()
405 act.sa_handler = SIG_DFL; in dump_core_and_abort()
415 sigsuspend(&act.sa_mask); in dump_core_and_abort()
669 act != NULL && act->_sa_handler != TARGET_SIG_DFL) { in do_sigaction()
683 if (act) { in do_sigaction()
686 k->sa_mask = act->sa_mask; in do_sigaction()
840 struct sigaction act; in signal_init() local
848 sigfillset(&act.sa_mask); in signal_init()
[all …]
/openbmc/linux/net/sched/
H A Dact_sample.c277 const struct tc_action *act) in tcf_offload_sample_get_group() argument
280 act->ops->get_psample_group(act, &entry->destructor); in tcf_offload_sample_get_group()
284 static int tcf_sample_offload_act_setup(struct tc_action *act, void *entry_data, in tcf_sample_offload_act_setup() argument
292 entry->sample.trunc_size = tcf_sample_trunc_size(act); in tcf_sample_offload_act_setup()
293 entry->sample.truncate = tcf_sample_truncate(act); in tcf_sample_offload_act_setup()
294 entry->sample.rate = tcf_sample_rate(act); in tcf_sample_offload_act_setup()
295 tcf_offload_sample_get_group(entry, act); in tcf_sample_offload_act_setup()
310 .act = tcf_sample_act,
H A Dact_pedit.c563 for (k = 0; k < tcf_pedit_nkeys(act); k++) { in tcf_pedit_offload_act_setup()
564 switch (tcf_pedit_cmd(act, k)) { in tcf_pedit_offload_act_setup()
575 entry->mangle.htype = tcf_pedit_htype(act, k); in tcf_pedit_offload_act_setup()
576 entry->mangle.mask = tcf_pedit_mask(act, k); in tcf_pedit_offload_act_setup()
577 entry->mangle.val = tcf_pedit_val(act, k); in tcf_pedit_offload_act_setup()
578 entry->mangle.offset = tcf_pedit_offset(act, k); in tcf_pedit_offload_act_setup()
579 entry->hw_stats = tc_act_hw_stats(act->hw_stats); in tcf_pedit_offload_act_setup()
585 u32 cmd = tcf_pedit_cmd(act, 0); in tcf_pedit_offload_act_setup()
600 for (k = 1; k < tcf_pedit_nkeys(act); k++) { in tcf_pedit_offload_act_setup()
601 if (cmd != tcf_pedit_cmd(act, k)) { in tcf_pedit_offload_act_setup()
[all …]
/openbmc/qemu/tests/tcg/multiarch/
H A Dnoexec.c.inc110 struct sigaction act;
113 memset(&act, 0, sizeof(act));
114 act.sa_sigaction = handle_segv;
115 act.sa_flags = SA_SIGINFO;
116 if (sigaction(SIGSEGV, &act, NULL) < 0) {
/openbmc/sdbusplus/include/sdbusplus/server/
H A Dobject.hpp77 action act = action::emit_object_added) : in object()
84 check_action(act); in object()
120 void check_action(action act) in check_action()
122 switch (act) in check_action()
/openbmc/linux/tools/bpf/bpftool/
H A Dtracelog.c127 const struct sigaction act = { in do_tracelog() local
145 sigaction(SIGHUP, &act, NULL); in do_tracelog()
146 sigaction(SIGINT, &act, NULL); in do_tracelog()
147 sigaction(SIGTERM, &act, NULL); in do_tracelog()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_matchall.c12 const struct flow_action_entry *act, in cxgb4_policer_validate() argument
15 if (act->police.exceed.act_id != FLOW_ACTION_DROP) { in cxgb4_policer_validate()
21 if (act->police.notexceed.act_id != FLOW_ACTION_PIPE && in cxgb4_policer_validate()
22 act->police.notexceed.act_id != FLOW_ACTION_ACCEPT) { in cxgb4_policer_validate()
29 !flow_action_is_last_entry(action, act)) { in cxgb4_policer_validate()
35 if (act->police.peakrate_bytes_ps || in cxgb4_policer_validate()
36 act->police.avrate || act->police.overhead) { in cxgb4_policer_validate()
42 if (act->police.rate_pkt_ps) { in cxgb4_policer_validate()
246 struct flow_action_entry *act; in cxgb4_matchall_mirror_alloc() local
251 flow_action_for_each(i, act, &cls->rule->action) { in cxgb4_matchall_mirror_alloc()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dtc.c542 struct mlx5e_tc_act *act; in mlx5e_rep_indr_replace_act() local
559 if (!act) in mlx5e_rep_indr_replace_act()
562 if (!act->offload_action) in mlx5e_rep_indr_replace_act()
579 struct mlx5e_tc_act *act; in mlx5e_rep_indr_destroy_act() local
586 act = mlx5e_tc_act_get(fl_act->id, ns_type); in mlx5e_rep_indr_destroy_act()
587 if (!act || !act->destroy_action) in mlx5e_rep_indr_destroy_act()
590 return act->destroy_action(priv, fl_act); in mlx5e_rep_indr_destroy_act()
601 struct mlx5e_tc_act *act; in mlx5e_rep_indr_stats_act() local
608 act = mlx5e_tc_act_get(fl_act->id, ns_type); in mlx5e_rep_indr_stats_act()
609 if (!act || !act->stats_action) in mlx5e_rep_indr_stats_act()
[all …]
/openbmc/linux/include/net/tc_act/
H A Dtc_gact.h19 static inline bool __is_tcf_gact_act(const struct tc_action *a, int act, in __is_tcf_gact_act() argument
29 if ((!is_ext && gact->tcf_action == act) || in __is_tcf_gact_act()
30 (is_ext && TC_ACT_EXT_CMP(gact->tcf_action, act))) in __is_tcf_gact_act()
/openbmc/linux/tools/testing/selftests/breakpoints/
H A Dbreakpoint_test_arm64.c203 struct sigaction act; in main() local
210 act.sa_handler = sigalrm; in main()
211 sigemptyset(&act.sa_mask); in main()
212 act.sa_flags = 0; in main()
213 sigaction(SIGALRM, &act, NULL); in main()
/openbmc/linux/tools/perf/bench/
H A Dfutex-lock-pi.c168 struct sigaction act; in bench_futex_lock_pi() local
179 memset(&act, 0, sizeof(act)); in bench_futex_lock_pi()
180 sigfillset(&act.sa_mask); in bench_futex_lock_pi()
181 act.sa_sigaction = toggle_done; in bench_futex_lock_pi()
182 sigaction(SIGINT, &act, NULL); in bench_futex_lock_pi()
H A Dfutex-hash.c127 struct sigaction act; in bench_futex_hash() local
145 memset(&act, 0, sizeof(act)); in bench_futex_hash()
146 sigfillset(&act.sa_mask); in bench_futex_hash()
147 act.sa_sigaction = toggle_done; in bench_futex_hash()
148 sigaction(SIGINT, &act, NULL); in bench_futex_hash()
H A Dfutex-requeue.c170 struct sigaction act; in bench_futex_requeue() local
181 memset(&act, 0, sizeof(act)); in bench_futex_requeue()
182 sigfillset(&act.sa_mask); in bench_futex_requeue()
183 act.sa_sigaction = toggle_done; in bench_futex_requeue()
184 sigaction(SIGINT, &act, NULL); in bench_futex_requeue()
/openbmc/linux/arch/alpha/kernel/
H A Dsignal.c60 const struct osf_sigaction __user *, act, in SYSCALL_DEFINE3()
66 if (act) { in SYSCALL_DEFINE3()
68 if (!access_ok(act, sizeof(*act)) || in SYSCALL_DEFINE3()
69 __get_user(new_ka.sa.sa_handler, &act->sa_handler) || in SYSCALL_DEFINE3()
70 __get_user(new_ka.sa.sa_flags, &act->sa_flags) || in SYSCALL_DEFINE3()
71 __get_user(mask, &act->sa_mask)) in SYSCALL_DEFINE3()
77 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE3()
90 SYSCALL_DEFINE5(rt_sigaction, int, sig, const struct sigaction __user *, act, in SYSCALL_DEFINE5() argument
101 if (act) { in SYSCALL_DEFINE5()
103 if (copy_from_user(&new_ka.sa, act, sizeof(*act))) in SYSCALL_DEFINE5()
[all …]
/openbmc/linux/tools/testing/selftests/powerpc/math/
H A Dvmx_signal.c76 struct sigaction act; in signal_vmx_c() local
77 act.sa_sigaction = signal_vmx_sig; in signal_vmx_c()
78 act.sa_flags = SA_SIGINFO; in signal_vmx_c()
79 rc = sigaction(SIGUSR1, &act, NULL); in signal_vmx_c()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_txrx_lib.h19 const unsigned int act) in ice_set_rx_bufs_act() argument
29 buf->act = act; in ice_set_rx_bufs_act()
36 if (sinfo_frags < rx_ring->nr_frags && act == ICE_XDP_CONSUMED) { in ice_set_rx_bufs_act()
/openbmc/linux/lib/
H A Dasn1_decoder.c340 unsigned char act; in asn1_ber_decoder() local
343 act = machine[pc + 1]; in asn1_ber_decoder()
345 act = machine[pc + 2]; in asn1_ber_decoder()
346 ret = actions[act](context, hdr, tag, data + dp, len); in asn1_ber_decoder()
434 unsigned char act; in asn1_ber_decoder() local
436 act = machine[pc + 2]; in asn1_ber_decoder()
438 act = machine[pc + 1]; in asn1_ber_decoder()
439 ret = actions[act](context, hdr, 0, data + tdp, len); in asn1_ber_decoder()
/openbmc/linux/kernel/irq/
H A Dinternals.h170 #define for_each_action_of_desc(desc, act) \ argument
171 for (act = desc->action; act; act = act->next)
321 static inline void irq_setup_timings(struct irq_desc *desc, struct irqaction *act) in irq_setup_timings() argument
330 if (act->flags & __IRQF_TIMER) in irq_setup_timings()
398 struct irqaction *act) {}; in irq_setup_timings() argument
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_tc.c218 if (act->police.peakrate_bytes_ps || in otx2_policer_validate()
219 act->police.avrate || act->police.overhead) { in otx2_policer_validate()
363 struct flow_action_entry *act; in otx2_tc_parse_actions() local
379 switch (act->id) { in otx2_tc_parse_actions()
387 target = act->dev; in otx2_tc_parse_actions()
421 burst = act->police.burst; in otx2_tc_parse_actions()
429 burst = act->police.burst_pkt; in otx2_tc_parse_actions()
435 mark = act->mark; in otx2_tc_parse_actions()
440 req->index = act->rx_queue; in otx2_tc_parse_actions()
480 struct flow_action_entry *act; in otx2_tc_process_vlan() local
[all …]
/openbmc/linux/tools/testing/selftests/timers/
H A Dset-timer-lat.c254 struct sigaction act; in main() local
259 sigfillset(&act.sa_mask); in main()
260 act.sa_flags = 0; in main()
261 act.sa_handler = sigalarm; in main()
262 sigaction(signum, &act, NULL); in main()
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_rps.c164 u8 act; in wait_for_freq() local
168 return act; in wait_for_freq()
171 if (act == freq) in wait_for_freq()
172 return act; in wait_for_freq()
176 return act; in wait_for_freq()
697 int act = f; in live_rps_frequency_cs() local
701 if (act < f) in live_rps_frequency_cs()
706 act, intel_gpu_freq(rps, act), count, in live_rps_frequency_cs()
835 int act = f; in live_rps_frequency_srm() local
839 if (act < f) in live_rps_frequency_srm()
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_flower.c37 const struct flow_action_entry *act) in prestera_flower_parse_goto_action() argument
41 if (act->chain_index <= chain_index) in prestera_flower_parse_goto_action()
49 act->chain_index); in prestera_flower_parse_goto_action()
67 const struct flow_action_entry *act; in prestera_flower_parse_actions() local
77 act = flow_action_first_entry_get(flow_action); in prestera_flower_parse_actions()
78 if (act->hw_stats & FLOW_ACTION_HW_STATS_DISABLED) { in prestera_flower_parse_actions()
92 flow_action_for_each(i, act, flow_action) { in prestera_flower_parse_actions()
93 switch (act->id) { in prestera_flower_parse_actions()
118 act->police.rate_bytes_ps; in prestera_flower_parse_actions()
119 rule->re_arg.police.burst = act->police.burst; in prestera_flower_parse_actions()
[all …]
/openbmc/linux/drivers/input/serio/
H A Dgscps2.c95 u8 act, append; /* position in buffer[] */ member
137 ps2port->act = ps2port->append = 0; in gscps2_flush()
251 while (ps2port->act != ps2port->append) { in gscps2_interrupt()
261 status = ps2port->buffer[ps2port->act].str; in gscps2_interrupt()
262 data = ps2port->buffer[ps2port->act].data; in gscps2_interrupt()
264 ps2port->act = ((ps2port->act+1) & BUFFER_SIZE); in gscps2_interrupt()
/openbmc/linux/tools/testing/selftests/powerpc/nx-gzip/
H A Dgzfht_test.c375 struct sigaction act; in main() local
380 act.sa_handler = 0; in main()
381 act.sa_sigaction = nxu_sigsegv_handler; in main()
382 act.sa_flags = SA_SIGINFO; in main()
383 act.sa_restorer = 0; in main()
384 sigemptyset(&act.sa_mask); in main()
385 sigaction(SIGSEGV, &act, NULL); in main()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp6000_pcie.c221 if (act != NFP_CPP_ACTION_RW && act != 0) { in compute_bar()
297 tgt, act, tok, offset, size, width); in reconfigure_bar()
341 if (act == 0) in matching_bar()
342 act = NFP_CPP_ACTION_RW; in matching_bar()
357 (baract == act) && in matching_bar()
385 int tgt, int act, int tok, in find_unused_bar_noblock() argument
399 tgt, act, tok, offset, size, width); in find_unused_bar_noblock()
410 tgt, act, tok, offset, size, width)) in find_unused_bar_noblock()
418 int tgt, int act, int tok, in find_unused_bar_and_lock() argument
458 u32 tgt, u32 act, u32 tok, in nfp_alloc_bar() argument
[all …]

12345678910>>...32