Home
last modified time | relevance | path

Searched refs:action (Results 1 – 25 of 1781) sorted by relevance

12345678910>>...72

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/ !
Ddr_action.c781 struct mlx5dr_action *action; in mlx5dr_actions_build_ste_arr() local
785 action = actions[i]; in mlx5dr_actions_build_ste_arr()
786 action_type = action->action_type; in mlx5dr_actions_build_ste_arr()
794 dest_action = action; in mlx5dr_actions_build_ste_arr()
795 ret = dr_action_get_dest_tbl_addr(matcher, action->dest_tbl, in mlx5dr_actions_build_ste_arr()
802 action->range->hit_tbl_action->dest_tbl, in mlx5dr_actions_build_ste_arr()
808 action->range->miss_tbl_action->dest_tbl, in mlx5dr_actions_build_ste_arr()
813 attr.range.definer_id = action->range->definer_id; in mlx5dr_actions_build_ste_arr()
814 attr.range.min = action->range->min; in mlx5dr_actions_build_ste_arr()
815 attr.range.max = action->range->max; in mlx5dr_actions_build_ste_arr()
[all …]
Dfs_dr.c26 struct mlx5dr_action *action = NULL; in set_miss_action() local
32 action = mlx5dr_action_create_dest_table(next_tbl); in set_miss_action()
33 if (!action) in set_miss_action()
37 err = mlx5dr_table_set_miss_action(ft->fs_dr_table.dr_table, action); in set_miss_action()
38 if (err && action) { in set_miss_action()
39 err = mlx5dr_action_destroy(action); in set_miss_action()
43 action = NULL; in set_miss_action()
45 ft->fs_dr_table.miss_action = action; in set_miss_action()
102 struct mlx5dr_action *action = ft->fs_dr_table.miss_action; in mlx5_cmd_dr_destroy_flow_table() local
114 if (action) { in mlx5_cmd_dr_destroy_flow_table()
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ !
Dmlx5hws_action.c72 enum mlx5hws_action_type mlx5hws_action_get_type(struct mlx5hws_action *action) in mlx5hws_action_get_type() argument
74 return action->type; in mlx5hws_action_get_type()
141 static int hws_action_get_shared_stc(struct mlx5hws_action *action, in hws_action_get_shared_stc() argument
144 struct mlx5hws_context *ctx = action->ctx; in hws_action_get_shared_stc()
152 if (unlikely(!(action->flags & MLX5HWS_ACTION_FLAG_HWS_FDB))) { in hws_action_get_shared_stc()
153 pr_warn("HWS: Invalid action->flags: %d\n", action->flags); in hws_action_get_shared_stc()
168 static void hws_action_put_shared_stc(struct mlx5hws_action *action, in hws_action_put_shared_stc() argument
173 struct mlx5hws_context *ctx = action->ctx; in hws_action_put_shared_stc()
429 static void hws_action_fill_stc_attr(struct mlx5hws_action *action, in hws_action_fill_stc_attr() argument
435 switch (action->type) { in hws_action_fill_stc_attr()
[all …]
/linux-6.12.1/kernel/irq/ !
Dhandle.c52 static void warn_no_thread(unsigned int irq, struct irqaction *action) in warn_no_thread() argument
54 if (test_and_set_bit(IRQTF_WARNED, &action->thread_flags)) in warn_no_thread()
58 "but no thread function available.", irq, action->name); in warn_no_thread()
61 void __irq_wake_thread(struct irq_desc *desc, struct irqaction *action) in __irq_wake_thread() argument
68 if (action->thread->flags & PF_EXITING) in __irq_wake_thread()
75 if (test_and_set_bit(IRQTF_RUNTHREAD, &action->thread_flags)) in __irq_wake_thread()
123 desc->threads_oneshot |= action->thread_mask; in __irq_wake_thread()
136 wake_up_process(action->thread); in __irq_wake_thread()
143 struct irqaction *action; in __handle_irq_event_percpu() local
147 for_each_action_of_desc(desc, action) { in __handle_irq_event_percpu()
[all …]
Dmanage.c192 struct irqaction *action; in irq_set_thread_affinity() local
194 for_each_action_of_desc(desc, action) { in irq_set_thread_affinity()
195 if (action->thread) { in irq_set_thread_affinity()
196 set_bit(IRQTF_AFFINITY, &action->thread_flags); in irq_set_thread_affinity()
197 wake_up_process(action->thread); in irq_set_thread_affinity()
199 if (action->secondary && action->secondary->thread) { in irq_set_thread_affinity()
200 set_bit(IRQTF_AFFINITY, &action->secondary->thread_flags); in irq_set_thread_affinity()
201 wake_up_process(action->secondary->thread); in irq_set_thread_affinity()
951 if (!desc->action || in can_request_irq()
952 irqflags & desc->action->flags & IRQF_SHARED) in can_request_irq()
[all …]
Dspurious.c52 return !irqd_irq_disabled(&desc->irq_data) && desc->action; in irq_wait_for_poll()
65 struct irqaction *action; in try_one_irq() local
89 action = desc->action; in try_one_irq()
90 if (!action || !(action->flags & IRQF_SHARED) || in try_one_irq()
91 (action->flags & __IRQF_TIMER)) in try_one_irq()
110 action = desc->action; in try_one_irq()
111 } while ((desc->istate & IRQS_PENDING) && action); in try_one_irq()
195 struct irqaction *action; in __report_bad_irq() local
215 for_each_action_of_desc(desc, action) { in __report_bad_irq()
216 printk(KERN_ERR "[<%p>] %ps", action->handler, action->handler); in __report_bad_irq()
[all …]
/linux-6.12.1/drivers/md/dm-vdo/ !
Daction-manager.c28 struct action { struct
36 struct action *next; argument
56 struct action actions[2];
57 struct action *current_action;
207 struct action *action = manager->current_action; in launch_current_action() local
208 int result = vdo_start_operation(&manager->state, action->operation); in launch_current_action()
211 if (action->parent != NULL) in launch_current_action()
212 vdo_set_completion_result(action->parent, result); in launch_current_action()
215 action->conclusion = no_conclusion; in launch_current_action()
220 if (action->zone_action == NULL) { in launch_current_action()
[all …]
/linux-6.12.1/lib/ !
Dnotifier-error-inject.c33 struct notifier_err_inject_action *action; in notifier_err_inject_callback() local
35 for (action = err_inject->actions; action->name; action++) { in notifier_err_inject_callback()
36 if (action->val == val) { in notifier_err_inject_callback()
37 err = action->error; in notifier_err_inject_callback()
42 pr_info("Injecting error (%d) to %s\n", err, action->name); in notifier_err_inject_callback()
53 struct notifier_err_inject_action *action; in notifier_err_inject_init() local
65 for (action = err_inject->actions; action->name; action++) { in notifier_err_inject_init()
68 action_dir = debugfs_create_dir(action->name, actions_dir); in notifier_err_inject_init()
75 debugfs_create_errno("error", mode, action_dir, &action->error); in notifier_err_inject_init()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ !
Dvlan.c12 u32 *action, struct netlink_ext_ack *extack) in add_vlan_prio_tag_rewrite_action() argument
18 mlx5e_get_match_headers_value(*action, in add_vlan_prio_tag_rewrite_action()
22 mlx5e_get_match_headers_criteria(*action, in add_vlan_prio_tag_rewrite_action()
28 &prio_tag_act, parse_attr, action, in add_vlan_prio_tag_rewrite_action()
36 u32 *action, in parse_tc_vlan_action() argument
55 *action |= MLX5_FLOW_CONTEXT_ACTION_VLAN_POP_2; in parse_tc_vlan_action()
57 *action |= MLX5_FLOW_CONTEXT_ACTION_VLAN_POP; in parse_tc_vlan_action()
67 *action |= MLX5_FLOW_CONTEXT_ACTION_VLAN_PUSH_2; in parse_tc_vlan_action()
69 *action |= MLX5_FLOW_CONTEXT_ACTION_VLAN_PUSH; in parse_tc_vlan_action()
106 err = parse_tc_vlan_action(priv, &vlan_act, attr->esw_attr, &attr->action, extack, NULL); in mlx5e_tc_act_vlan_add_push_action()
[all …]
/linux-6.12.1/drivers/platform/x86/intel/speed_select_if/ !
Disst_if_mbox_msr.c106 struct msrl_action action; in isst_if_mbox_proc_cmd() local
109 action.mbox_cmd = (struct isst_if_mbox_cmd *)cmd_ptr; in isst_if_mbox_proc_cmd()
111 if (isst_if_mbox_cmd_invalid(action.mbox_cmd)) in isst_if_mbox_proc_cmd()
114 if (isst_if_mbox_cmd_set_req(action.mbox_cmd) && in isst_if_mbox_proc_cmd()
125 ret = smp_call_function_single(action.mbox_cmd->logical_cpu, in isst_if_mbox_proc_cmd()
126 msrl_update_func, &action, 1); in isst_if_mbox_proc_cmd()
130 if (!action.err && !resume && isst_if_mbox_cmd_set_req(action.mbox_cmd)) in isst_if_mbox_proc_cmd()
131 action.err = isst_store_cmd(action.mbox_cmd->command, in isst_if_mbox_proc_cmd()
132 action.mbox_cmd->sub_command, in isst_if_mbox_proc_cmd()
133 action.mbox_cmd->logical_cpu, 1, in isst_if_mbox_proc_cmd()
[all …]
/linux-6.12.1/tools/testing/selftests/drivers/net/mlxsw/ !
Dtc_restrictions.sh48 skip_sw dst_ip 192.0.2.2 action drop
65 skip_sw dst_ip 192.0.2.2 action drop
74 skip_sw dst_ip 192.0.2.2 action drop
97 action mirred egress redirect dev $swp2
115 action mirred egress redirect dev $swp2
125 action mirred egress redirect dev $swp2
132 action mirred egress redirect dev $swp2
151 action mirred egress mirror dev $swp2
158 action mirred egress mirror dev $swp2 \
159 action mirred egress mirror dev $swp1
[all …]
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/ !
Dmld-mac.c20 u32 action) in iwl_mvm_mld_mac_ctxt_cmd_common() argument
27 cmd->action = cpu_to_le32(action); in iwl_mvm_mld_mac_ctxt_cmd_common()
90 le32_to_cpu(cmd->action), ret); in iwl_mvm_mld_mac_ctxt_send_cmd()
96 u32 action, bool force_assoc_off) in iwl_mvm_mld_mac_ctxt_cmd_sta() argument
104 iwl_mvm_mld_mac_ctxt_cmd_common(mvm, vif, &cmd, action); in iwl_mvm_mld_mac_ctxt_cmd_sta()
161 u32 action) in iwl_mvm_mld_mac_ctxt_cmd_listener() argument
167 iwl_mvm_mld_mac_ctxt_cmd_common(mvm, vif, &cmd, action); in iwl_mvm_mld_mac_ctxt_cmd_listener()
180 u32 action) in iwl_mvm_mld_mac_ctxt_cmd_ibss() argument
186 iwl_mvm_mld_mac_ctxt_cmd_common(mvm, vif, &cmd, action); in iwl_mvm_mld_mac_ctxt_cmd_ibss()
197 u32 action) in iwl_mvm_mld_mac_ctxt_cmd_p2p_device() argument
[all …]
/linux-6.12.1/tools/perf/tests/shell/lib/ !
Dperf_json_output_lint.py10 ap.add_argument('--no-args', action='store_true')
11 ap.add_argument('--interval', action='store_true')
12 ap.add_argument('--system-wide-no-aggr', action='store_true')
13 ap.add_argument('--system-wide', action='store_true')
14 ap.add_argument('--event', action='store_true')
15 ap.add_argument('--per-core', action='store_true')
16 ap.add_argument('--per-thread', action='store_true')
17 ap.add_argument('--per-cache', action='store_true')
18 ap.add_argument('--per-cluster', action='store_true')
19 ap.add_argument('--per-die', action='store_true')
[all …]
/linux-6.12.1/tools/testing/selftests/net/forwarding/ !
Dtc_actions.sh59 local action=$1
67 dst_ip 192.0.2.2 action drop
77 action mirred egress $action dev $swp2
83 check_err $? "Did not match incoming $action packet"
89 log_test "mirred egress $classifier $action ($tcflags)"
97 $tcflags dst_ip 192.0.2.2 action drop
106 $tcflags dst_ip 192.0.2.2 action ok
132 skip_hw dst_ip 192.0.2.2 action drop
134 $tcflags dst_ip 192.0.2.2 action mirred egress redirect \
144 $tcflags dst_ip 192.0.2.2 action trap
[all …]
Dtc_mpls_l2vpn.sh84 action mpls mac_push label 102 \
85 action vlan push_eth dst_mac $mpls2mac src_mac $mpls1mac \
86 action mirred egress redirect dev $mpls1
93 action vlan pop_eth \
94 action mpls pop protocol teb \
95 action mirred egress redirect dev $edge1
113 action mpls mac_push label 101 \
114 action vlan push_eth dst_mac $mpls1mac src_mac $mpls2mac \
115 action mirred egress redirect dev $mpls2
122 action vlan pop_eth \
[all …]
/linux-6.12.1/net/mac80211/tests/ !
Dmfp.c19 u8 action; member
27 .action = WLAN_PUB_ACTION_DSE_ENABLEMENT,
35 .action = WLAN_PUB_ACTION_DSE_ENABLEMENT,
43 .action = WLAN_PUB_ACTION_DSE_ENABLEMENT,
52 .action = WLAN_PUB_ACTION_DSE_ENABLEMENT,
61 .action = WLAN_PUB_ACTION_DSE_ENABLEMENT,
71 .action = WLAN_PUB_ACTION_DSE_ENABLEMENT,
82 .action = WLAN_PUB_ACTION_DSE_ENABLEMENT,
90 .action = WLAN_PUB_ACTION_DSE_ENABLEMENT,
98 .action = WLAN_PUB_ACTION_DSE_ENABLEMENT,
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/ice/ !
Dice_fltr.c227 const u8 *mac, enum ice_sw_fwd_act_type action) in ice_fltr_add_mac_to_list() argument
234 info.fltr_act = action; in ice_fltr_add_mac_to_list()
279 enum ice_sw_fwd_act_type action) in ice_fltr_add_eth_to_list() argument
285 info.fltr_act = action; in ice_fltr_add_eth_to_list()
307 enum ice_sw_fwd_act_type action, in ice_fltr_prepare_mac() argument
313 if (ice_fltr_add_mac_to_list(vsi, &tmp_list, mac, action)) { in ice_fltr_prepare_mac()
332 enum ice_sw_fwd_act_type action, in ice_fltr_prepare_mac_and_broadcast() argument
341 if (ice_fltr_add_mac_to_list(vsi, &tmp_list, mac, action) || in ice_fltr_prepare_mac_and_broadcast()
342 ice_fltr_add_mac_to_list(vsi, &tmp_list, broadcast, action)) { in ice_fltr_prepare_mac_and_broadcast()
383 enum ice_sw_fwd_act_type action, in ice_fltr_prepare_eth() argument
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/ !
Dspectrum_dpipe.c81 struct devlink_dpipe_action action = {0}; in mlxsw_sp_dpipe_table_erif_actions_dump() local
84 action.type = DEVLINK_DPIPE_ACTION_TYPE_FIELD_MODIFY; in mlxsw_sp_dpipe_table_erif_actions_dump()
85 action.header = &mlxsw_sp_dpipe_header_metadata; in mlxsw_sp_dpipe_table_erif_actions_dump()
86 action.field_id = MLXSW_SP_DPIPE_FIELD_METADATA_L3_FORWARD; in mlxsw_sp_dpipe_table_erif_actions_dump()
88 err = devlink_dpipe_action_put(skb, &action); in mlxsw_sp_dpipe_table_erif_actions_dump()
92 action.type = DEVLINK_DPIPE_ACTION_TYPE_FIELD_MODIFY; in mlxsw_sp_dpipe_table_erif_actions_dump()
93 action.header = &mlxsw_sp_dpipe_header_metadata; in mlxsw_sp_dpipe_table_erif_actions_dump()
94 action.field_id = MLXSW_SP_DPIPE_FIELD_METADATA_L3_DROP; in mlxsw_sp_dpipe_table_erif_actions_dump()
96 return devlink_dpipe_action_put(skb, &action); in mlxsw_sp_dpipe_table_erif_actions_dump()
113 struct devlink_dpipe_action *action) in mlxsw_sp_erif_match_action_prepare() argument
[all …]
/linux-6.12.1/security/integrity/ima/ !
Dima_policy.c100 int action; member
148 {.action = DONT_MEASURE, .fsmagic = PROC_SUPER_MAGIC, .flags = IMA_FSMAGIC},
149 {.action = DONT_MEASURE, .fsmagic = SYSFS_MAGIC, .flags = IMA_FSMAGIC},
150 {.action = DONT_MEASURE, .fsmagic = DEBUGFS_MAGIC, .flags = IMA_FSMAGIC},
151 {.action = DONT_MEASURE, .fsmagic = TMPFS_MAGIC, .flags = IMA_FSMAGIC},
152 {.action = DONT_MEASURE, .fsmagic = DEVPTS_SUPER_MAGIC, .flags = IMA_FSMAGIC},
153 {.action = DONT_MEASURE, .fsmagic = BINFMTFS_MAGIC, .flags = IMA_FSMAGIC},
154 {.action = DONT_MEASURE, .fsmagic = SECURITYFS_MAGIC, .flags = IMA_FSMAGIC},
155 {.action = DONT_MEASURE, .fsmagic = SELINUX_MAGIC, .flags = IMA_FSMAGIC},
156 {.action = DONT_MEASURE, .fsmagic = SMACK_MAGIC, .flags = IMA_FSMAGIC},
[all …]
/linux-6.12.1/arch/loongarch/kernel/ !
Dparavirt.c56 static void pv_send_ipi_single(int cpu, unsigned int action) in pv_send_ipi_single() argument
61 if (unlikely(action == ACTION_BOOT_CPU)) { in pv_send_ipi_single()
62 native_ops.send_ipi_single(cpu, action); in pv_send_ipi_single()
66 old = atomic_fetch_or(BIT(action), &info->message); in pv_send_ipi_single()
76 static void pv_send_ipi_mask(const struct cpumask *mask, unsigned int action) in pv_send_ipi_mask() argument
85 if (unlikely(action == ACTION_BOOT_CPU)) { in pv_send_ipi_mask()
86 native_ops.send_ipi_mask(mask, action); in pv_send_ipi_mask()
90 action = BIT(action); in pv_send_ipi_mask()
93 old = atomic_fetch_or(action, &info->message); in pv_send_ipi_mask()
127 u32 action; in pv_ipi_interrupt() local
[all …]
/linux-6.12.1/drivers/net/wireless/marvell/libertas/ !
Dhost.h400 __le16 action; member
446 __le16 action; member
497 __le16 action; member
503 __le16 action; member
549 __le16 action; member
562 __le16 action; member
571 __le16 action; member
582 __le16 action; member
589 __le16 action; member
598 __le16 action; member
[all …]
/linux-6.12.1/include/drm/ !
Ddrm_managed.h25 #define drmm_add_action(dev, action, data) \ argument
26 __drmm_add_action(dev, action, data, #action)
29 drmres_release_t action,
41 #define drmm_add_action_or_reset(dev, action, data) \ argument
42 __drmm_add_action_or_reset(dev, action, data, #action)
45 drmres_release_t action,
49 drmres_release_t action,
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/flower/ !
Dqos_conf.c120 static int nfp_policer_validate(const struct flow_action *action, in nfp_policer_validate() argument
148 !flow_action_is_last_entry(action, act)) { in nfp_policer_validate()
169 struct flow_action_entry *paction = &flow->rule->action.entries[0]; in nfp_flower_install_rate_limiter()
170 u32 action_num = flow->rule->action.num_entries; in nfp_flower_install_rate_limiter()
172 struct flow_action_entry *action = NULL; in nfp_flower_install_rate_limiter() local
210 if (!flow_offload_has_one_action(&flow->rule->action)) { in nfp_flower_install_rate_limiter()
223 action = paction + i; in nfp_flower_install_rate_limiter()
224 if (action->id != FLOW_ACTION_POLICE) { in nfp_flower_install_rate_limiter()
230 err = nfp_policer_validate(&flow->rule->action, action, extack, true); in nfp_flower_install_rate_limiter()
234 if (action->police.rate_bytes_ps > 0) { in nfp_flower_install_rate_limiter()
[all …]
/linux-6.12.1/drivers/net/ethernet/mscc/ !
Docelot_flower.c191 filter->action.vid_replace_ena = true; in ocelot_flower_parse_ingress_vlan_modify()
192 filter->action.pcp_dei_ena = true; in ocelot_flower_parse_ingress_vlan_modify()
193 filter->action.vid = a->vlan.vid; in ocelot_flower_parse_ingress_vlan_modify()
194 filter->action.pcp = a->vlan.prio; in ocelot_flower_parse_ingress_vlan_modify()
220 filter->action.tag_a_tpid_sel = tpid; in ocelot_flower_parse_egress_vlan_modify()
221 filter->action.push_outer_tag = OCELOT_ES0_TAG; in ocelot_flower_parse_egress_vlan_modify()
222 filter->action.tag_a_vid_sel = OCELOT_ES0_VID_PLUS_CLASSIFIED_VID; in ocelot_flower_parse_egress_vlan_modify()
223 filter->action.vid_a_val = a->vlan.vid; in ocelot_flower_parse_egress_vlan_modify()
224 filter->action.pcp_a_val = a->vlan.prio; in ocelot_flower_parse_egress_vlan_modify()
225 filter->action.tag_a_pcp_sel = OCELOT_ES0_PCP; in ocelot_flower_parse_egress_vlan_modify()
[all …]
/linux-6.12.1/drivers/gpu/drm/xe/ !
Dxe_guc_ct.h42 int xe_guc_ct_send(struct xe_guc_ct *ct, const u32 *action, u32 len,
44 int xe_guc_ct_send_locked(struct xe_guc_ct *ct, const u32 *action, u32 len,
46 int xe_guc_ct_send_recv(struct xe_guc_ct *ct, const u32 *action, u32 len,
49 xe_guc_ct_send_block(struct xe_guc_ct *ct, const u32 *action, u32 len) in xe_guc_ct_send_block() argument
51 return xe_guc_ct_send_recv(ct, action, len, NULL); in xe_guc_ct_send_block()
55 int xe_guc_ct_send_g2h_handler(struct xe_guc_ct *ct, const u32 *action,
59 int xe_guc_ct_send_recv_no_fail(struct xe_guc_ct *ct, const u32 *action,
62 xe_guc_ct_send_block_no_fail(struct xe_guc_ct *ct, const u32 *action, u32 len) in xe_guc_ct_send_block_no_fail() argument
64 return xe_guc_ct_send_recv_no_fail(ct, action, len, NULL); in xe_guc_ct_send_block_no_fail()

12345678910>>...72