Home
last modified time | relevance | path

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

12345678910>>...18

/linux/drivers/s390/scsi/
A Dzfcp_erp.c62 if (act == curr_act) in zfcp_erp_action_is_running()
306 if (!act) { in zfcp_erp_action_enqueue()
570 if (!act->fsf_req_id) in zfcp_erp_strategy_check_fsfreq()
590 act->fsf_req_id = 0; in zfcp_erp_strategy_check_fsfreq()
625 if (!act) in zfcp_erp_timeout_handler()
632 struct zfcp_erp_action *act = from_timer(act, t, timer); in zfcp_erp_memwait_handler() local
683 switch (act->type) { in zfcp_erp_strategy_followup_failed()
701 switch (act->type) { in zfcp_erp_strategy_followup_success()
893 atomic_set(&act->adapter->stat_miss, act->adapter->stat_read_buf_num); in zfcp_erp_adapter_strategy_open_fsf()
1048 switch (act->step) { in zfcp_erp_port_strategy_open_common()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/flower/
A Daction.c96 if (act->mpls_mangle.ttl) { in nfp_fl_set_mpls()
142 out_dev = act->dev; in nfp_fl_pre_lag()
187 out_dev = act->dev; in nfp_fl_output()
528 mask = ~act->mangle.mask; in nfp_fl_set_eth()
529 exact = act->mangle.val; in nfp_fl_set_eth()
746 mask = ~act->mangle.mask; in nfp_fl_set_tport()
747 exact = act->mangle.val; in nfp_fl_set_tport()
900 htype = act->mangle.htype; in nfp_fl_pedit()
901 offset = act->mangle.offset; in nfp_fl_pedit()
997 switch (act->id) { in nfp_flower_loop_action()
[all …]
/linux/drivers/net/ethernet/mediatek/
A Dmtk_ppe_offload.c70 const void *src = &act->mangle.val; in mtk_flow_offload_mangle_eth()
72 if (act->mangle.offset > 8) in mtk_flow_offload_mangle_eth()
75 if (act->mangle.mask == 0xffff) { in mtk_flow_offload_mangle_eth()
88 u32 val = ntohl(act->mangle.val); in mtk_flow_mangle_ports()
90 switch (act->mangle.offset) { in mtk_flow_mangle_ports()
113 switch (act->mangle.offset) { in mtk_flow_mangle_ipv4()
176 struct flow_action_entry *act; in mtk_flow_offload_replace() local
219 switch (act->id) { in mtk_flow_offload_replace()
225 odev = act->dev; in mtk_flow_offload_replace()
234 data.vlan.id = act->vlan.vid; in mtk_flow_offload_replace()
[all …]
/linux/include/net/tc_act/
A Dtc_police.h47 static inline bool is_tcf_police(const struct tc_action *act) in is_tcf_police() argument
50 if (act->ops && act->ops->id == TCA_ID_POLICE) in is_tcf_police()
56 static inline u64 tcf_police_rate_bytes_ps(const struct tc_action *act) in tcf_police_rate_bytes_ps() argument
58 struct tcf_police *police = to_police(act); in tcf_police_rate_bytes_ps()
66 static inline u32 tcf_police_burst(const struct tc_action *act) in tcf_police_burst() argument
68 struct tcf_police *police = to_police(act); in tcf_police_burst()
106 struct tcf_police *police = to_police(act); in tcf_police_rate_pkt_ps()
114 static inline u32 tcf_police_burst_pkt(const struct tc_action *act) in tcf_police_burst_pkt() argument
116 struct tcf_police *police = to_police(act); in tcf_police_burst_pkt()
152 static inline u32 tcf_police_tcfp_mtu(const struct tc_action *act) in tcf_police_tcfp_mtu() argument
[all …]
/linux/tools/testing/selftests/powerpc/signal/
A Dsig_sc_double_restart.c99 struct sigaction act; in test_restart() local
102 memset(&act, 0, sizeof(act)); in test_restart()
103 sigaddset(&act.sa_mask, SIGUSR2); in test_restart()
104 act.sa_handler = SIGUSR1_handler; in test_restart()
105 act.sa_flags = SA_RESTART; in test_restart()
106 if (sigaction(SIGUSR1, &act, NULL) == -1) { in test_restart()
111 memset(&act, 0, sizeof(act)); in test_restart()
112 act.sa_handler = SIGUSR2_handler; in test_restart()
113 act.sa_flags = SA_RESTART; in test_restart()
114 if (sigaction(SIGUSR2, &act, NULL) == -1) { in test_restart()
A Dsignal_tm.c44 struct sigaction act; in test_signal_tm() local
46 act.sa_handler = signal_handler; in test_signal_tm()
47 act.sa_flags = 0; in test_signal_tm()
48 sigemptyset(&act.sa_mask); in test_signal_tm()
49 if (sigaction(SIGUSR1, &act, NULL) < 0) { in test_signal_tm()
53 if (sigaction(SIGALRM, &act, NULL) < 0) { in test_signal_tm()
A Dsignal.c39 struct sigaction act; in test_signal() local
43 act.sa_handler = signal_handler; in test_signal()
44 act.sa_flags = 0; in test_signal()
45 sigemptyset(&act.sa_mask); in test_signal()
46 if (sigaction(SIGUSR1, &act, NULL) < 0) { in test_signal()
50 if (sigaction(SIGALRM, &act, NULL) < 0) { in test_signal()
/linux/tools/testing/selftests/clone3/
A Dclone3_clear_sighand.c51 struct sigaction act; in test_clone3_clear_sighand() local
64 act.sa_handler = nop_handler; in test_clone3_clear_sighand()
65 ret = sigemptyset(&act.sa_mask); in test_clone3_clear_sighand()
70 act.sa_flags = 0; in test_clone3_clear_sighand()
73 ret = sigaction(SIGUSR1, &act, NULL); in test_clone3_clear_sighand()
80 ret = sigaction(SIGUSR2, &act, NULL); in test_clone3_clear_sighand()
94 ret = sigaction(SIGUSR1, NULL, &act); in test_clone3_clear_sighand()
98 if (act.sa_handler != SIG_DFL) in test_clone3_clear_sighand()
101 ret = sigaction(SIGUSR2, NULL, &act); in test_clone3_clear_sighand()
105 if (act.sa_handler != SIG_DFL) in test_clone3_clear_sighand()
/linux/tools/testing/selftests/syscall_user_dispatch/
A Dsud_test.c166 struct sigaction act; in TEST() local
174 memset(&act, 0, sizeof(act)); in TEST()
177 act.sa_sigaction = handle_sigsys; in TEST()
178 act.sa_flags = SA_SIGINFO; in TEST()
179 act.sa_mask = mask; in TEST()
181 ret = sigaction(SIGSYS, &act, NULL); in TEST()
221 struct sigaction act; in TEST_SIGNAL() local
230 memset(&act, 0, sizeof(act)); in TEST_SIGNAL()
233 act.sa_sigaction = handle_sigsys; in TEST_SIGNAL()
234 act.sa_flags = SA_SIGINFO; in TEST_SIGNAL()
[all …]
A Dsud_benchmark.c138 struct sigaction act; in main() local
143 memset(&act, 0, sizeof(act)); in main()
146 act.sa_sigaction = handle_sigsys; in main()
147 act.sa_flags = SA_SIGINFO; in main()
148 act.sa_mask = mask; in main()
155 ret = sigaction(SIGSYS, &act, NULL); in main()
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dcore_acl_flex_actions.c1147 if (IS_ERR(act)) { in mlxsw_afa_block_append_vlan_modify()
1266 if (IS_ERR(act)) in mlxsw_afa_block_append_drop_plain()
1283 char *act; in mlxsw_afa_block_append_drop_with_cookie() local
1329 if (IS_ERR(act)) in mlxsw_afa_block_append_trap()
1344 if (IS_ERR(act)) in mlxsw_afa_block_append_trap_and_forward()
1417 if (IS_ERR(act)) in mlxsw_afa_block_append_allocated_mirror()
1671 char *act; in mlxsw_afa_block_append_fwd() local
1770 if (IS_ERR(act)) in mlxsw_afa_block_append_allocated_counter()
1814 char *act; in mlxsw_afa_block_append_police() local
1952 if (IS_ERR(act)) in mlxsw_afa_block_append_mcrouter()
[all …]
A Dspectrum_flower.c24 const struct flow_action_entry *act; in mlxsw_sp_flower_parse_actions() local
49 switch (act->id) { in mlxsw_sp_flower_parse_actions()
66 act->cookie, extack); in mlxsw_sp_flower_parse_actions()
130 out_dev = act->dev; in mlxsw_sp_flower_parse_actions()
154 u8 prio = act->vlan.prio; in mlxsw_sp_flower_parse_actions()
155 u16 vid = act->vlan.vid; in mlxsw_sp_flower_parse_actions()
158 act->id, vid, in mlxsw_sp_flower_parse_actions()
166 act->priority, in mlxsw_sp_flower_parse_actions()
206 act->police.index, in mlxsw_sp_flower_parse_actions()
222 act->sample.rate, in mlxsw_sp_flower_parse_actions()
[all …]
/linux/include/trace/events/
A Dxdp.h33 TP_ARGS(dev, xdp, act),
37 __field(u32, act)
43 __entry->act = act;
62 __field(u32, act)
70 __entry->act = XDP_TX;
101 __field(u32, act)
124 __entry->act = XDP_REDIRECT;
198 __field(u32, act)
210 __entry->act = XDP_REDIRECT;
241 __field(u32, act)
[all …]
/linux/arch/mips/kernel/
A Dsignal32.c38 SYSCALL_DEFINE3(32_sigaction, long, sig, const struct compat_sigaction __user *, act,
45 if (act) {
49 if (!access_ok(act, sizeof(*act)))
51 err |= __get_user(handler, &act->sa_handler);
53 err |= __get_user(new_ka.sa.sa_flags, &act->sa_flags);
54 err |= __get_user(mask, &act->sa_mask.sig[0]);
61 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL);
/linux/drivers/net/hyperv/
A Dnetvsc_bpf.c30 u32 act = XDP_PASS; in netvsc_run_xdp() local
42 act = XDP_DROP; in netvsc_run_xdp()
49 act = XDP_DROP; in netvsc_run_xdp()
58 act = bpf_prog_run_xdp(prog, xdp); in netvsc_run_xdp()
60 switch (act) { in netvsc_run_xdp()
67 trace_xdp_exception(ndev, prog, act); in netvsc_run_xdp()
71 bpf_warn_invalid_xdp_action(act); in netvsc_run_xdp()
77 if (page && act != XDP_PASS && act != XDP_TX) { in netvsc_run_xdp()
82 return act; in netvsc_run_xdp()
/linux/drivers/input/serio/
A Dhp_sdc.c201 if (curr->act.semaphore) in hp_sdc_take()
202 up(curr->act.semaphore); in hp_sdc_take()
205 if (curr->act.irqhook) in hp_sdc_take()
328 if (curr->act.semaphore) in hp_sdc_tasklet()
329 up(curr->act.semaphore); in hp_sdc_tasklet()
335 if (curr->act.irqhook) in hp_sdc_tasklet()
351 uint8_t act; in hp_sdc_put() local
424 act = curr->seq[idx]; in hp_sdc_put()
441 act &= ~HP_SDC_ACT_PRECMD; in hp_sdc_put()
469 act &= ~HP_SDC_ACT_DATAOUT; in hp_sdc_put()
[all …]
/linux/drivers/s390/block/
A Ddasd_fba.c703 act = req->cpaddr; in dasd_fba_dump_sense()
707 while (act <= end) { in dasd_fba_dump_sense()
710 act, ((int *) act)[0], ((int *) act)[1]); in dasd_fba_dump_sense()
717 act++; in dasd_fba_dump_sense()
729 while (act <= end) { in dasd_fba_dump_sense()
732 act, ((int *) act)[0], ((int *) act)[1]); in dasd_fba_dump_sense()
739 act++; in dasd_fba_dump_sense()
744 act = last - 2; in dasd_fba_dump_sense()
747 while (act <= last) { in dasd_fba_dump_sense()
750 act, ((int *) act)[0], ((int *) act)[1]); in dasd_fba_dump_sense()
[all …]
/linux/net/sched/
A Dcls_api.c3038 struct tc_action *act; in tcf_exts_validate() local
3054 if (IS_ERR(act)) in tcf_exts_validate()
3055 return PTR_ERR(act); in tcf_exts_validate()
3058 exts->actions[0] = act; in tcf_exts_validate()
3129 if (nest == NULL || !act) in tcf_exts_dump()
3484 entry->dev = act->ops->get_dev(act, &entry->destructor); in tcf_mirred_get_dev()
3514 act->ops->get_psample_group(act, &entry->destructor); in tcf_sample_get_group()
3553 struct tc_action *act; in tc_setup_flow_action() local
3719 if (!is_tcf_pedit(act)) in tc_setup_flow_action()
3737 struct tc_action *act; in tcf_exts_num_actions() local
[all …]
A Dact_bpf.c39 struct tcf_bpf *prog = to_bpf(act); in tcf_bpf_act()
139 struct tcf_bpf *prog = to_bpf(act); in tcf_bpf_dump()
277 struct nlattr *est, struct tc_action **act, in tcf_bpf_init() argument
305 ret = tcf_idr_check_alloc(tn, &index, act, bind); in tcf_bpf_init()
307 ret = tcf_idr_create(tn, index, est, act, in tcf_bpf_init()
321 tcf_idr_release(*act, bind); in tcf_bpf_init()
347 prog = to_bpf(*act); in tcf_bpf_init()
379 tcf_idr_release(*act, bind); in tcf_bpf_init()
383 static void tcf_bpf_cleanup(struct tc_action *act) in tcf_bpf_cleanup() argument
387 tcf_bpf_prog_fill_cfg(to_bpf(act), &tmp); in tcf_bpf_cleanup()
[all …]
/linux/tools/testing/selftests/filesystems/
A Ddnotify_test.c18 struct sigaction act; in main() local
21 act.sa_sigaction = handler; in main()
22 sigemptyset(&act.sa_mask); in main()
23 act.sa_flags = SA_SIGINFO; in main()
24 sigaction(SIGRTMIN + 1, &act, NULL); in main()
/linux/Documentation/devicetree/bindings/pinctrl/
A Dmarvell,kirkwood-pinctrl.txt76 ptp-2(trig), sata0(act)
86 mpp21 21 gpio, ge1(txd1), sata0(act)
120 ptp-2(trig), sata0(act)
126 sata1(act)
131 sata1(act)
169 ptp-2(trig), sata0(act)
175 sata1(act)
180 sata1(act)
230 mpp10 10 gpo, spi(sck), uart0(txd), sata1(act)
239 sata1(act), lcd(extclk)
[all …]
/linux/tools/testing/selftests/powerpc/tm/
A Dtm-signal-msr-resv.c51 struct sigaction act; in tm_signal_msr_resv() local
55 act.sa_sigaction = signal_usr1; in tm_signal_msr_resv()
56 sigemptyset(&act.sa_mask); in tm_signal_msr_resv()
57 act.sa_flags = SA_SIGINFO; in tm_signal_msr_resv()
58 if (sigaction(SIGUSR1, &act, NULL) < 0) { in tm_signal_msr_resv()
/linux/drivers/platform/x86/intel/speed_select_if/
A Disst_if_mbox_msr.c97 struct msrl_action *act = info; in msrl_update_func() local
99 act->err = isst_if_send_mbox_cmd(act->mbox_cmd->command, in msrl_update_func()
100 act->mbox_cmd->sub_command, in msrl_update_func()
101 act->mbox_cmd->parameter, in msrl_update_func()
102 act->mbox_cmd->req_data, in msrl_update_func()
103 &act->mbox_cmd->resp_data); in msrl_update_func()
/linux/tools/testing/selftests/sigaltstack/
A Dsas.c113 struct sigaction act; in main() local
124 sigemptyset(&act.sa_mask); in main()
125 act.sa_flags = SA_ONSTACK | SA_SIGINFO; in main()
126 act.sa_sigaction = my_usr1; in main()
127 sigaction(SIGUSR1, &act, NULL); in main()
128 act.sa_sigaction = my_usr2; in main()
129 sigaction(SIGUSR2, &act, NULL); in main()
/linux/arch/sparc/kernel/
A Dsys_sparc_32.c162 struct old_sigaction __user *,act, in SYSCALL_DEFINE3()
166 return sys_sigaction(-sig, act, oact); in SYSCALL_DEFINE3()
170 const struct sigaction __user *, act, in SYSCALL_DEFINE5()
182 if (act) { in SYSCALL_DEFINE5()
184 if (copy_from_user(&new_ka.sa, act, sizeof(*act))) in SYSCALL_DEFINE5()
188 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in SYSCALL_DEFINE5()

Completed in 43 milliseconds

12345678910>>...18