Home
last modified time | relevance | path

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

12345678910>>...57

/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/kernel/irq/
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-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
[all...]
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 …]
/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/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/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 …]
H A 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/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.c102 int action; member
151 {.action = DONT_MEASURE, .fsmagic = PROC_SUPER_MAGIC, .flags = IMA_FSMAGIC},
152 {.action = DONT_MEASURE, .fsmagic = SYSFS_MAGIC, .flags = IMA_FSMAGIC},
153 {.action = DONT_MEASURE, .fsmagic = DEBUGFS_MAGIC, .flags = IMA_FSMAGIC},
154 {.action = DONT_MEASURE, .fsmagic = TMPFS_MAGIC, .func = FILE_CHECK,
156 {.action = DONT_MEASURE, .fsmagic = DEVPTS_SUPER_MAGIC, .flags = IMA_FSMAGIC},
157 {.action = DONT_MEASURE, .fsmagic = BINFMTFS_MAGIC, .flags = IMA_FSMAGIC},
158 {.action = DONT_MEASURE, .fsmagic = SECURITYFS_MAGIC, .flags = IMA_FSMAGIC},
159 {.action = DONT_MEASURE, .fsmagic = SELINUX_MAGIC, .flags = IMA_FSMAGIC},
160 {.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/sound/hda/codecs/realtek/
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/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 …]
/linux/tools/testing/selftests/bpf/
H A Dima_setup.sh129 if [[ "${action}" == "setup" ]]; then
131 elif [[ "${action}" == "cleanup" ]]; then
133 elif [[ "${action}" == "run" ]]; then
135 elif [[ "${action}" == "modify-bin" ]]; then
137 elif [[ "${action}" == "restore-bin" ]]; then
139 elif [[ "${action}" == "load-policy" ]]; then
142 echo "Unknown action: ${action}"
/linux/Documentation/translations/zh_CN/security/
H A Dipe.rst262 op=EXECUTE integrity_verified=YES action=ALLOW
268 op=EXECUTE integrity_verified=YES action=ALLOW
270 op=READ integrity_verified=NO label=critical_t action=DENY
271 op=READ action=ALLOW
281 op=READ integrity_verified=NO label=critical_t action=DENY
286 op=EXECUTE integrity_verified=YES action=ALLOW
287 op=EXECUTE action=DENY
289 op=READ integrity_verified=NO label=critical_t action=DENY
295 DEFAULT op=EXECUTE action=DENY
296 op=EXECUTE integrity_verified=YES action=ALLOW
[all …]
/linux/drivers/net/wireless/marvell/libertas/
H A 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/drivers/net/ethernet/netronome/nfp/flower/
H A 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/arch/mips/sibyte/sb1250/
H A Dsmp.c56 static void sb1250_send_ipi_single(int cpu, unsigned int action) in sb1250_send_ipi_single() argument
58 __raw_writeq((((u64)action) << 48), mailbox_set_regs[cpu]); in sb1250_send_ipi_single()
62 unsigned int action) in sb1250_send_ipi_mask() argument
67 sb1250_send_ipi_single(i, action); in sb1250_send_ipi_mask()
151 unsigned int action; in sb1250_mailbox_interrupt() local
155 action = (____raw_readq(mailbox_regs[cpu]) >> 48) & 0xffff; in sb1250_mailbox_interrupt()
158 ____raw_writeq(((u64)action) << 48, mailbox_clear_regs[cpu]); in sb1250_mailbox_interrupt()
160 if (action & SMP_RESCHEDULE_YOURSELF) in sb1250_mailbox_interrupt()
163 if (action & SMP_CALL_FUNCTION) { in sb1250_mailbox_interrupt()

12345678910>>...57