Home
last modified time | relevance | path

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

12345678910>>...17

/kernel/linux/linux-5.10/drivers/s390/scsi/
Dzfcp_erp.c57 static bool zfcp_erp_action_is_running(struct zfcp_erp_action *act) in zfcp_erp_action_is_running() argument
61 list_for_each_entry(curr_act, &act->adapter->erp_running_head, list) in zfcp_erp_action_is_running()
62 if (act == curr_act) in zfcp_erp_action_is_running()
67 static void zfcp_erp_action_ready(struct zfcp_erp_action *act) in zfcp_erp_action_ready() argument
69 struct zfcp_adapter *adapter = act->adapter; in zfcp_erp_action_ready()
71 list_move(&act->list, &adapter->erp_ready_head); in zfcp_erp_action_ready()
72 zfcp_dbf_rec_run("erardy1", act); in zfcp_erp_action_ready()
74 zfcp_dbf_rec_run("erardy2", act); in zfcp_erp_action_ready()
77 static void zfcp_erp_action_dismiss(struct zfcp_erp_action *act) in zfcp_erp_action_dismiss() argument
79 act->status |= ZFCP_STATUS_ERP_DISMISSED; in zfcp_erp_action_dismiss()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
Daction.c33 const struct flow_action_entry *act, in nfp_fl_push_mpls() argument
43 if (act->mpls_push.bos != ACT_MPLS_BOS_NOT_SET) { in nfp_fl_push_mpls()
44 mpls_lse |= act->mpls_push.bos << MPLS_LS_S_SHIFT; in nfp_fl_push_mpls()
51 if (act->mpls_push.tc != ACT_MPLS_TC_NOT_SET) in nfp_fl_push_mpls()
52 mpls_lse |= act->mpls_push.tc << MPLS_LS_TC_SHIFT; in nfp_fl_push_mpls()
55 mpls_lse |= act->mpls_push.label << MPLS_LS_LABEL_SHIFT; in nfp_fl_push_mpls()
56 mpls_lse |= act->mpls_push.ttl << MPLS_LS_TTL_SHIFT; in nfp_fl_push_mpls()
57 push_mpls->ethtype = act->mpls_push.proto; in nfp_fl_push_mpls()
65 const struct flow_action_entry *act) in nfp_fl_pop_mpls() argument
71 pop_mpls->ethtype = act->mpls_pop.proto; in nfp_fl_pop_mpls()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/signal/
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()
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()
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()
/kernel/linux/linux-5.10/tools/testing/selftests/clone3/
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()
/kernel/liteos_a/testsuites/unittest/extended/signal/full/
Dsignal_test_020.cpp52 struct sigaction act; in TestSigSuspend() local
54 act.sa_handler = SigHandler; in TestSigSuspend()
55 retValue = sigemptyset(&act.sa_mask); in TestSigSuspend()
59 act.sa_flags = 0; in TestSigSuspend()
60 sigaction(SIGINT, &act, nullptr); in TestSigSuspend()
61 sigaction(SIGQUIT, &act, nullptr); in TestSigSuspend()
62 sigaction(SIGUSR1, &act, nullptr); in TestSigSuspend()
63 sigaction(SIGALRM, &act, nullptr); in TestSigSuspend()
172 struct sigaction act; in TestSigSuspend() local
176 act.sa_handler = SigHandler; in TestSigSuspend()
[all …]
DIt_ipc_sigpause_001.cpp44 struct sigaction act; in Testcase() local
45 act.sa_handler = CatchAction3; in Testcase()
46 act.sa_flags = 0; in Testcase()
50 retval = sigemptyset(&act.sa_mask); in Testcase()
54 retval = sigaction(SIGUSR1, &act, NULL); in Testcase()
Dsignal_test_030.cpp45 struct sigaction act; in TestCase() local
47 act.sa_handler = SigPrint; in TestCase()
48 sigemptyset(&act.sa_mask); in TestCase()
49 act.sa_flags = 0; in TestCase()
55 ret = sigaction(SIGUSR1, &act, nullptr); in TestCase()
DIt_ipc_sigaction_001.cpp44 struct sigaction act, oldact; in Testcase() local
45 act.sa_handler = CatchAction1; in Testcase()
46 sigemptyset(&act.sa_mask); in Testcase()
47 act.sa_flags = 0; in Testcase()
51 ret = sigaction(SIGCHLD, &act, &oldact); in Testcase()
/kernel/linux/linux-5.10/include/net/tc_act/
Dtc_police.h43 static inline bool is_tcf_police(const struct tc_action *act) in is_tcf_police() argument
46 if (act->ops && act->ops->id == TCA_ID_POLICE) in is_tcf_police()
52 static inline u64 tcf_police_rate_bytes_ps(const struct tc_action *act) in tcf_police_rate_bytes_ps() argument
54 struct tcf_police *police = to_police(act); in tcf_police_rate_bytes_ps()
62 static inline u32 tcf_police_burst(const struct tc_action *act) in tcf_police_burst() argument
64 struct tcf_police *police = to_police(act); in tcf_police_burst()
100 static inline u32 tcf_police_tcfp_mtu(const struct tc_action *act) in tcf_police_tcfp_mtu() argument
102 struct tcf_police *police = to_police(act); in tcf_police_tcfp_mtu()
/kernel/linux/linux-5.10/arch/mips/kernel/
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);
/kernel/linux/linux-5.10/include/trace/events/
Dxdp.h31 const struct bpf_prog *xdp, u32 act),
33 TP_ARGS(dev, xdp, act),
37 __field(u32, act)
43 __entry->act = act;
49 __print_symbolic(__entry->act, __XDP_ACT_SYM_TAB),
62 __field(u32, act)
70 __entry->act = XDP_TX;
78 __print_symbolic(__entry->act, __XDP_ACT_SYM_TAB),
105 __field(u32, act)
115 __entry->act = XDP_REDIRECT;
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_actions.c1143 char *act = mlxsw_afa_block_append_action(block, in mlxsw_afa_block_append_vlan_modify() local
1147 if (IS_ERR(act)) { in mlxsw_afa_block_append_vlan_modify()
1149 return PTR_ERR(act); in mlxsw_afa_block_append_vlan_modify()
1151 mlxsw_afa_vlan_pack(act, MLXSW_AFA_VLAN_VLAN_TAG_CMD_NOP, in mlxsw_afa_block_append_vlan_modify()
1262 char *act = mlxsw_afa_block_append_action_trap(block, in mlxsw_afa_block_append_drop_plain() local
1266 if (IS_ERR(act)) in mlxsw_afa_block_append_drop_plain()
1267 return PTR_ERR(act); in mlxsw_afa_block_append_drop_plain()
1268 mlxsw_afa_trap_pack(act, MLXSW_AFA_TRAP_TRAP_ACTION_TRAP, in mlxsw_afa_block_append_drop_plain()
1283 char *act; in mlxsw_afa_block_append_drop_with_cookie() local
1293 act = mlxsw_afa_block_append_action_trap(block, MLXSW_AFA_TRAPWU_CODE, in mlxsw_afa_block_append_drop_with_cookie()
[all …]
Dspectrum_flower.c24 const struct flow_action_entry *act; in mlxsw_sp_flower_parse_actions() local
34 act = flow_action_first_entry_get(flow_action); in mlxsw_sp_flower_parse_actions()
35 if (act->hw_stats & FLOW_ACTION_HW_STATS_DISABLED) { in mlxsw_sp_flower_parse_actions()
37 } else if (act->hw_stats & FLOW_ACTION_HW_STATS_IMMEDIATE) { in mlxsw_sp_flower_parse_actions()
47 flow_action_for_each(i, act, flow_action) { in mlxsw_sp_flower_parse_actions()
48 switch (act->id) { in mlxsw_sp_flower_parse_actions()
65 act->cookie, extack); in mlxsw_sp_flower_parse_actions()
89 u32 chain_index = act->chain_index; in mlxsw_sp_flower_parse_actions()
129 out_dev = act->dev; in mlxsw_sp_flower_parse_actions()
137 struct net_device *out_dev = act->dev; in mlxsw_sp_flower_parse_actions()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/filesystems/
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()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/tm/
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()
Dtm-signal-context-chk-fpu.c76 struct sigaction act; in tm_signal_context_chk_fpu() local
83 act.sa_sigaction = signal_usr1; in tm_signal_context_chk_fpu()
84 sigemptyset(&act.sa_mask); in tm_signal_context_chk_fpu()
85 act.sa_flags = SA_SIGINFO; in tm_signal_context_chk_fpu()
86 if (sigaction(SIGUSR1, &act, NULL) < 0) { in tm_signal_context_chk_fpu()
/kernel/linux/linux-5.10/drivers/net/hyperv/
Dnetvsc_bpf.c30 u32 act = XDP_PASS; in netvsc_run_xdp() local
43 act = XDP_DROP; in netvsc_run_xdp()
56 act = bpf_prog_run_xdp(prog, xdp); in netvsc_run_xdp()
58 switch (act) { in netvsc_run_xdp()
65 trace_xdp_exception(ndev, prog, act); in netvsc_run_xdp()
69 bpf_warn_invalid_xdp_action(act); in netvsc_run_xdp()
75 if (page && act != XDP_PASS && act != XDP_TX) { in netvsc_run_xdp()
80 return act; in netvsc_run_xdp()
/kernel/linux/linux-5.10/drivers/input/serio/
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()
206 curr->act.irqhook(irq, dev_id, status, data); 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()
336 curr->act.irqhook(0, NULL, 0, 0); in hp_sdc_tasklet()
351 uint8_t act; in hp_sdc_put() local
424 act = curr->seq[idx]; in hp_sdc_put()
[all …]
/kernel/linux/linux-5.10/drivers/s390/block/
Ddasd_fba.c673 struct ccw1 *act, *end, *last; in dasd_fba_dump_sense() local
712 act = req->cpaddr; in dasd_fba_dump_sense()
713 for (last = act; last->flags & (CCW_FLAG_CC | CCW_FLAG_DC); last++); in dasd_fba_dump_sense()
714 end = min(act + 8, last); in dasd_fba_dump_sense()
716 while (act <= end) { in dasd_fba_dump_sense()
719 act, ((int *) act)[0], ((int *) act)[1]); in dasd_fba_dump_sense()
720 for (count = 0; count < 32 && count < act->count; in dasd_fba_dump_sense()
723 ((int *) (addr_t) act->cda) in dasd_fba_dump_sense()
726 act++; in dasd_fba_dump_sense()
733 if (act < ((struct ccw1 *)(addr_t) irb->scsw.cmd.cpa) - 2) { in dasd_fba_dump_sense()
[all …]
/kernel/linux/linux-5.10/drivers/platform/x86/intel_speed_select_if/
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()
/kernel/linux/linux-5.10/tools/testing/selftests/sigaltstack/
Dsas.c102 struct sigaction act; in main() local
109 sigemptyset(&act.sa_mask); in main()
110 act.sa_flags = SA_ONSTACK | SA_SIGINFO; in main()
111 act.sa_sigaction = my_usr1; in main()
112 sigaction(SIGUSR1, &act, NULL); in main()
113 act.sa_sigaction = my_usr2; in main()
114 sigaction(SIGUSR2, &act, NULL); in main()
/kernel/linux/linux-5.10/net/sched/
Dcls_api.c3060 struct tc_action *act; in tcf_exts_validate() local
3069 act = tcf_action_init_1(net, tp, tb[exts->police], in tcf_exts_validate()
3074 if (IS_ERR(act)) in tcf_exts_validate()
3075 return PTR_ERR(act); in tcf_exts_validate()
3077 act->type = exts->type = TCA_OLD_COMPAT; in tcf_exts_validate()
3078 exts->actions[0] = act; in tcf_exts_validate()
3147 struct tc_action *act = tcf_exts_first_act(exts); in tcf_exts_dump() local
3149 if (nest == NULL || !act) in tcf_exts_dump()
3151 if (tcf_action_dump_old(skb, act, 0, 0) < 0) in tcf_exts_dump()
3464 const struct tc_action *act) in tcf_act_get_cookie() argument
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/
Dmarvell,kirkwood-pinctrl.txt67 mpp5 5 gpo, nand(io7), uart0(txd), ptp(trig), sata0(act)
76 ptp-2(trig), sata0(act)
80 mpp15 15 gpio, sdio(d1), uart0(rts), uart1(txd), sata0(act)
86 mpp21 21 gpio, ge1(txd1), sata0(act)
100 mpp35 35 gpio, ge1(rxerr), sata0(act), mii(rxerr)
110 mpp4 4 gpio, nand(io6), uart0(rxd), ptp(clk), sata1(act)
111 mpp5 5 gpo, nand(io7), uart0(txd), ptp(trig), sata0(act)
118 mpp10 10 gpo, spi(sck), uart0(txd), ptp(trig), sata1(act)
120 ptp-2(trig), sata0(act)
124 mpp15 15 gpio, sdio(d1), uart0(rts), uart1(txd), sata0(act)
[all …]

12345678910>>...17