Home
last modified time | relevance | path

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

12345678910>>...72

/linux/tools/tracing/rtla/src/
H A Dactions.c18 self->list = calloc(self->size, sizeof(struct action)); in actions_init()
35 for (struct action *action = self->list; action < self->list + self->len; action++) { in actions_destroy() local
36 if (action->type == ACTION_SHELL) in actions_destroy()
37 free(action->command); in actions_destroy()
38 if (action->type == ACTION_TRACE_OUTPUT) in actions_destroy()
39 free(action->trace_output); in actions_destroy()
49 static struct action *
54 self->list = realloc(self->list, self->size * sizeof(struct action)); in actions_new()
66 struct action *action = actions_new(self); in actions_add_trace_output() local
69 action->type = ACTION_TRACE_OUTPUT; in actions_add_trace_output()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Daction.c70 enum mlx5hws_action_type mlx5hws_action_get_type(struct mlx5hws_action *action) in mlx5hws_action_get_type() argument
72 return action->type; in mlx5hws_action_get_type()
75 struct mlx5_core_dev *mlx5hws_action_get_dev(struct mlx5hws_action *action) in mlx5hws_action_get_dev() argument
77 return action->ctx->mdev; in mlx5hws_action_get_dev()
144 static int hws_action_get_shared_stc(struct mlx5hws_action *action, in hws_action_get_shared_stc() argument
147 struct mlx5hws_context *ctx = action->ctx; in hws_action_get_shared_stc()
155 if (unlikely(!(action->flags & MLX5HWS_ACTION_FLAG_HWS_FDB))) { in hws_action_get_shared_stc()
156 pr_warn("HWS: Invalid action->flags: %d\n", action->flags); in hws_action_get_shared_stc()
171 static void hws_action_put_shared_stc(struct mlx5hws_action *action, in hws_action_put_shared_stc() argument
176 struct mlx5hws_context *ctx = action->ctx; in hws_action_put_shared_stc()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A 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 …]
H A 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/kernel/irq/
H A 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()
166 const struct irqaction *action) in irqhandler_duration_check() argument
172 smp_processor_id(), irq, action->handler, in irqhandler_duration_check()
[all …]
H A Dmanage.c189 struct irqaction *action; in irq_set_thread_affinity() local
191 for_each_action_of_desc(desc, action) { in irq_set_thread_affinity()
192 if (action->thread) { in irq_set_thread_affinity()
193 set_bit(IRQTF_AFFINITY, &action->thread_flags); in irq_set_thread_affinity()
194 wake_up_process(action->thread); in irq_set_thread_affinity()
196 if (action->secondary && action->secondary->thread) { in irq_set_thread_affinity()
197 set_bit(IRQTF_AFFINITY, &action->secondary->thread_flags); in irq_set_thread_affinity()
198 wake_up_process(action->secondary->thread); in irq_set_thread_affinity()
897 if (!desc->action || irqflags & desc->action->flags & IRQF_SHARED) in can_request_irq()
1001 static void irq_thread_check_affinity(struct irq_desc *desc, struct irqaction *action) in irq_thread_check_affinity() argument
[all …]
H A Dspurious.c30 struct irqaction *action; in try_one_irq() local
54 action = desc->action; in try_one_irq()
55 if (!action || !(action->flags & IRQF_SHARED) || (action->flags & __IRQF_TIMER)) in try_one_irq()
74 action = desc->action; in try_one_irq()
75 } while ((desc->istate & IRQS_PENDING) && action); in try_one_irq()
155 struct irqaction *action; in __report_bad_irq() local
171 for_each_action_of_desc(desc, action) { in __report_bad_irq()
172 pr_err("[<%p>] %ps", action->handler, action->handler); in __report_bad_irq()
173 if (action->thread_fn) in __report_bad_irq()
174 pr_cont(" threaded [<%p>] %ps", action->thread_fn, action->thread_fn); in __report_bad_irq()
[all …]
/linux/drivers/md/dm-vdo/
H A 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/lib/
H A 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/scripts/
H A Dkernel-doc.py186 parser.add_argument("-v", "-verbose", "--verbose", action="store_true",
189 parser.add_argument("-d", "-debug", "--debug", action="store_true",
197 action="store_true",
202 parser.add_argument("-Wreturn", "--wreturn", action="store_true",
206 action="store_true",
210 "--wcontents-before-sections", action="store_true",
213 parser.add_argument("-Wall", "--wall", action="store_true",
216 parser.add_argument("-Werror", "--werror", action="store_true",
219 parser.add_argument("-export-file", "--export-file", action='append',
228 out_fmt.add_argument("-m", "-man", "--man", action="store_true",
[all …]
H A Dkernel-doc186 parser.add_argument("-v", "-verbose", "--verbose", action="store_true",
189 parser.add_argument("-d", "-debug", "--debug", action="store_true",
197 action="store_true",
202 parser.add_argument("-Wreturn", "--wreturn", action="store_true",
206 action="store_true",
210 "--wcontents-before-sections", action="store_true",
213 parser.add_argument("-Wall", "--wall", action="store_true",
216 parser.add_argument("-Werror", "--werror", action="store_true",
219 parser.add_argument("-export-file", "--export-file", action='append',
228 out_fmt.add_argument("-m", "-man", "--man", action="store_true",
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A 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()
108 &attr->action, extack, NULL); in mlx5e_tc_act_vlan_add_push_action()
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_guc_tlb_inval.c26 static int send_tlb_inval(struct xe_guc *guc, const u32 *action, int len) in send_tlb_inval() argument
30 xe_gt_assert(gt, action[1]); /* Seqno */ in send_tlb_inval()
33 return xe_guc_ct_send(&guc->ct, action, len, in send_tlb_inval()
44 u32 action[] = { in send_tlb_inval_all() local
50 return send_tlb_inval(guc, action, ARRAY_SIZE(action)); in send_tlb_inval_all()
65 u32 action[] = { in send_tlb_inval_ggtt() local
71 return send_tlb_inval(guc, action, ARRAY_SIZE(action)); in send_tlb_inval_ggtt()
108 u32 action[MAX_TLB_INVALIDATION_LEN]; in send_tlb_inval_ppgtt() local
115 action[len++] = XE_GUC_ACTION_TLB_INVALIDATION; in send_tlb_inval_ppgtt()
116 action[len++] = seqno; in send_tlb_inval_ppgtt()
[all …]
/linux/drivers/platform/x86/intel/speed_select_if/
H A Disst_if_mbox_msr.c107 struct msrl_action action; in isst_if_mbox_proc_cmd() local
110 action.mbox_cmd = (struct isst_if_mbox_cmd *)cmd_ptr; in isst_if_mbox_proc_cmd()
112 if (isst_if_mbox_cmd_invalid(action.mbox_cmd)) in isst_if_mbox_proc_cmd()
115 if (isst_if_mbox_cmd_set_req(action.mbox_cmd) && in isst_if_mbox_proc_cmd()
126 ret = smp_call_function_single(action.mbox_cmd->logical_cpu, in isst_if_mbox_proc_cmd()
127 msrl_update_func, &action, 1); in isst_if_mbox_proc_cmd()
131 if (!action.err && !resume && isst_if_mbox_cmd_set_req(action.mbox_cmd)) in isst_if_mbox_proc_cmd()
132 action.err = isst_store_cmd(action.mbox_cmd->command, in isst_if_mbox_proc_cmd()
133 action.mbox_cmd->sub_command, in isst_if_mbox_proc_cmd()
134 action.mbox_cmd->logical_cpu, 1, in isst_if_mbox_proc_cmd()
[all …]
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A 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/tools/perf/tests/shell/lib/
H A 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/sound/hda/codecs/realtek/
H A Drealtek.h177 void alc_fixup_gpio(struct hda_codec *codec, int action, unsigned int mask);
179 const struct hda_fixup *fix, int action);
181 const struct hda_fixup *fix, int action);
183 const struct hda_fixup *fix, int action);
185 const struct hda_fixup *fix, int action);
187 const struct hda_fixup *fix, int action);
258 const struct hda_fixup *fix, int action);
260 const struct hda_fixup *fix, int action);
262 const struct hda_fixup *fix, int action);
264 const struct hda_fixup *fix, int action);
[all …]
H A Dalc269.c184 const struct hda_fixup *fix, int action) in alc_fixup_headset_jack() argument
189 switch (action) { in alc_fixup_headset_jack()
1021 const struct hda_fixup *fix, int action) in alc269_fixup_pincfg_no_hp_to_lineout() argument
1025 if (action == HDA_FIXUP_ACT_PRE_PROBE) in alc269_fixup_pincfg_no_hp_to_lineout()
1031 int action) in alc269_fixup_pincfg_U7x7_headset_mic() argument
1043 const struct hda_fixup *fix, int action) in alc269_fixup_hweq() argument
1045 if (action == HDA_FIXUP_ACT_INIT) in alc269_fixup_hweq()
1050 const struct hda_fixup *fix, int action) in alc271_fixup_dmic() argument
1070 int action) in alc269vb_fixup_aspire_e1_coef() argument
1072 if (action == HDA_FIXUP_ACT_INIT) in alc269vb_fixup_aspire_e1_coef()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dmld-mac.c28 u32 action) in iwl_mvm_mld_mac_ctxt_cmd_common() argument
41 cmd->action = cpu_to_le32(action); in iwl_mvm_mld_mac_ctxt_cmd_common()
110 le32_to_cpu(cmd->action), ret); in iwl_mvm_mld_mac_ctxt_send_cmd()
116 u32 action, bool force_assoc_off) in iwl_mvm_mld_mac_ctxt_cmd_sta() argument
124 iwl_mvm_mld_mac_ctxt_cmd_common(mvm, vif, &cmd, action); in iwl_mvm_mld_mac_ctxt_cmd_sta()
181 u32 action) in iwl_mvm_mld_mac_ctxt_cmd_listener() argument
187 iwl_mvm_mld_mac_ctxt_cmd_common(mvm, vif, &cmd, action); in iwl_mvm_mld_mac_ctxt_cmd_listener()
200 u32 action) in iwl_mvm_mld_mac_ctxt_cmd_ibss() argument
206 iwl_mvm_mld_mac_ctxt_cmd_common(mvm, vif, &cmd, action); in iwl_mvm_mld_mac_ctxt_cmd_ibss()
217 u32 action) in iwl_mvm_mld_mac_ctxt_cmd_p2p_device() argument
[all …]
/linux/tools/testing/selftests/net/forwarding/
H A 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 …]
/linux/net/mac80211/tests/
H A 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/security/integrity/ima/
H A 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, .func = FILE_CHECK,
153 {.action = DONT_MEASURE, .fsmagic = DEVPTS_SUPER_MAGIC, .flags = IMA_FSMAGIC},
154 {.action = DONT_MEASURE, .fsmagic = BINFMTFS_MAGIC, .flags = IMA_FSMAGIC},
155 {.action = DONT_MEASURE, .fsmagic = SECURITYFS_MAGIC, .flags = IMA_FSMAGIC},
156 {.action = DONT_MEASURE, .fsmagic = SELINUX_MAGIC, .flags = IMA_FSMAGIC},
157 {.action = DONT_MEASURE, .fsmagic = SMACK_MAGIC, .flags = IMA_FSMAGIC},
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A 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/drivers/net/ethernet/mellanox/mlxsw/
H A 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/arch/loongarch/kernel/
H A Dparavirt.c55 static void pv_send_ipi_single(int cpu, unsigned int action) in pv_send_ipi_single() argument
60 if (unlikely(action == ACTION_BOOT_CPU)) { in pv_send_ipi_single()
61 native_ops.send_ipi_single(cpu, action); in pv_send_ipi_single()
65 old = atomic_fetch_or(BIT(action), &info->message); in pv_send_ipi_single()
75 static void pv_send_ipi_mask(const struct cpumask *mask, unsigned int action) in pv_send_ipi_mask() argument
84 if (unlikely(action == ACTION_BOOT_CPU)) { in pv_send_ipi_mask()
85 native_ops.send_ipi_mask(mask, action); in pv_send_ipi_mask()
89 action = BIT(action); in pv_send_ipi_mask()
92 old = atomic_fetch_or(action, &info->message); in pv_send_ipi_mask()
126 u32 action; in pv_ipi_interrupt() local
[all …]

12345678910>>...72