/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_action.c | 666 struct mlx5dr_action *action; in mlx5dr_actions_build_ste_arr() local 670 action = actions[i]; in mlx5dr_actions_build_ste_arr() 671 action_type = action->action_type; in mlx5dr_actions_build_ste_arr() 678 dest_action = action; in mlx5dr_actions_build_ste_arr() 679 dest_tbl = action->dest_tbl; in mlx5dr_actions_build_ste_arr() 702 if (!action->dest_tbl->fw_tbl.rx_icm_addr) { in mlx5dr_actions_build_ste_arr() 728 attr.ctr_id = action->ctr->ctr_id + in mlx5dr_actions_build_ste_arr() 729 action->ctr->offset; in mlx5dr_actions_build_ste_arr() 732 attr.flow_tag = action->flow_tag->flow_tag; in mlx5dr_actions_build_ste_arr() 737 attr.decap_index = action->rewrite->index; in mlx5dr_actions_build_ste_arr() [all …]
|
D | fs_dr.c | 33 struct mlx5dr_action *action = NULL; in set_miss_action() local 39 action = mlx5dr_action_create_dest_table(next_tbl); in set_miss_action() 40 if (!action) in set_miss_action() 44 err = mlx5dr_table_set_miss_action(ft->fs_dr_table.dr_table, action); in set_miss_action() 45 if (err && action) { in set_miss_action() 46 err = mlx5dr_action_destroy(action); in set_miss_action() 50 action = NULL; in set_miss_action() 52 ft->fs_dr_table.miss_action = action; in set_miss_action() 109 struct mlx5dr_action *action = ft->fs_dr_table.miss_action; in mlx5_cmd_dr_destroy_flow_table() local 121 if (action) { in mlx5_cmd_dr_destroy_flow_table() [all …]
|
/linux-6.1.9/kernel/irq/ |
D | handle.c | 52 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 …]
|
D | manage.c | 190 struct irqaction *action; in irq_set_thread_affinity() local 192 for_each_action_of_desc(desc, action) in irq_set_thread_affinity() 193 if (action->thread) in irq_set_thread_affinity() 194 set_bit(IRQTF_AFFINITY, &action->thread_flags); in irq_set_thread_affinity() 938 if (!desc->action || in can_request_irq() 939 irqflags & desc->action->flags & IRQF_SHARED) in can_request_irq() 1044 static int irq_wait_for_interrupt(struct irqaction *action) in irq_wait_for_interrupt() argument 1052 &action->thread_flags)) { in irq_wait_for_interrupt() 1061 &action->thread_flags)) { in irq_wait_for_interrupt() 1075 struct irqaction *action) in irq_finalize_oneshot() argument [all …]
|
D | spurious.c | 52 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.1.9/lib/ |
D | notifier-error-inject.c | 33 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.1.9/drivers/platform/x86/intel/speed_select_if/ |
D | isst_if_mbox_msr.c | 108 struct msrl_action action; in isst_if_mbox_proc_cmd() local 111 action.mbox_cmd = (struct isst_if_mbox_cmd *)cmd_ptr; in isst_if_mbox_proc_cmd() 113 if (isst_if_mbox_cmd_invalid(action.mbox_cmd)) in isst_if_mbox_proc_cmd() 116 if (isst_if_mbox_cmd_set_req(action.mbox_cmd) && in isst_if_mbox_proc_cmd() 127 ret = smp_call_function_single(action.mbox_cmd->logical_cpu, in isst_if_mbox_proc_cmd() 128 msrl_update_func, &action, 1); in isst_if_mbox_proc_cmd() 132 if (!action.err && !resume && isst_if_mbox_cmd_set_req(action.mbox_cmd)) in isst_if_mbox_proc_cmd() 133 action.err = isst_store_cmd(action.mbox_cmd->command, in isst_if_mbox_proc_cmd() 134 action.mbox_cmd->sub_command, in isst_if_mbox_proc_cmd() 135 action.mbox_cmd->logical_cpu, 1, in isst_if_mbox_proc_cmd() [all …]
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
D | vlan.c | 12 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 56 *action |= MLX5_FLOW_CONTEXT_ACTION_VLAN_POP_2; in parse_tc_vlan_action() 58 *action |= MLX5_FLOW_CONTEXT_ACTION_VLAN_POP; in parse_tc_vlan_action() 76 *action |= MLX5_FLOW_CONTEXT_ACTION_VLAN_PUSH_2; in parse_tc_vlan_action() 85 *action |= MLX5_FLOW_CONTEXT_ACTION_VLAN_PUSH; in parse_tc_vlan_action() 123 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.1.9/tools/testing/selftests/drivers/net/mlxsw/ |
D | tc_restrictions.sh | 48 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.1.9/security/integrity/ima/ |
D | ima_policy.c | 76 int action; member 124 {.action = DONT_MEASURE, .fsmagic = PROC_SUPER_MAGIC, .flags = IMA_FSMAGIC}, 125 {.action = DONT_MEASURE, .fsmagic = SYSFS_MAGIC, .flags = IMA_FSMAGIC}, 126 {.action = DONT_MEASURE, .fsmagic = DEBUGFS_MAGIC, .flags = IMA_FSMAGIC}, 127 {.action = DONT_MEASURE, .fsmagic = TMPFS_MAGIC, .flags = IMA_FSMAGIC}, 128 {.action = DONT_MEASURE, .fsmagic = DEVPTS_SUPER_MAGIC, .flags = IMA_FSMAGIC}, 129 {.action = DONT_MEASURE, .fsmagic = BINFMTFS_MAGIC, .flags = IMA_FSMAGIC}, 130 {.action = DONT_MEASURE, .fsmagic = SECURITYFS_MAGIC, .flags = IMA_FSMAGIC}, 131 {.action = DONT_MEASURE, .fsmagic = SELINUX_MAGIC, .flags = IMA_FSMAGIC}, 132 {.action = DONT_MEASURE, .fsmagic = SMACK_MAGIC, .flags = IMA_FSMAGIC}, [all …]
|
/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_fltr.c | 222 const u8 *mac, enum ice_sw_fwd_act_type action) in ice_fltr_add_mac_to_list() argument 229 info.fltr_act = action; in ice_fltr_add_mac_to_list() 274 enum ice_sw_fwd_act_type action) in ice_fltr_add_eth_to_list() argument 280 info.fltr_act = action; in ice_fltr_add_eth_to_list() 302 enum ice_sw_fwd_act_type action, in ice_fltr_prepare_mac() argument 308 if (ice_fltr_add_mac_to_list(vsi, &tmp_list, mac, action)) { in ice_fltr_prepare_mac() 327 enum ice_sw_fwd_act_type action, in ice_fltr_prepare_mac_and_broadcast() argument 336 if (ice_fltr_add_mac_to_list(vsi, &tmp_list, mac, action) || in ice_fltr_prepare_mac_and_broadcast() 337 ice_fltr_add_mac_to_list(vsi, &tmp_list, broadcast, action)) { in ice_fltr_prepare_mac_and_broadcast() 378 enum ice_sw_fwd_act_type action, in ice_fltr_prepare_eth() argument [all …]
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_dpipe.c | 81 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.1.9/tools/testing/selftests/bpf/ |
D | ima_setup.sh | 129 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-6.1.9/drivers/net/wireless/marvell/libertas/ |
D | host.h | 400 __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.1.9/tools/perf/tests/shell/lib/ |
D | perf_json_output_lint.py | 10 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-die', action='store_true') 18 ap.add_argument('--per-node', action='store_true') 19 ap.add_argument('--per-socket', action='store_true')
|
/linux-6.1.9/tools/testing/selftests/net/forwarding/ |
D | tc_mpls_l2vpn.sh | 84 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.1.9/drivers/net/ethernet/netronome/nfp/flower/ |
D | qos_conf.c | 120 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.1.9/drivers/net/ethernet/mscc/ |
D | ocelot_flower.c | 191 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.1.9/drivers/platform/mellanox/ |
D | mlxbf-bootctl.c | 58 static int mlxbf_bootctl_reset_action_to_val(const char *action) in mlxbf_bootctl_reset_action_to_val() argument 63 if (sysfs_streq(boot_names[i].name, action)) in mlxbf_bootctl_reset_action_to_val() 70 static const char *mlxbf_bootctl_action_to_string(int action) in mlxbf_bootctl_action_to_string() argument 75 if (boot_names[i].value == action) in mlxbf_bootctl_action_to_string() 113 int action; in mlxbf_bootctl_show() local 115 action = mlxbf_bootctl_smc(smc_op, 0); in mlxbf_bootctl_show() 116 if (action < 0) in mlxbf_bootctl_show() 117 return action; in mlxbf_bootctl_show() 119 return sprintf(buf, "%s\n", mlxbf_bootctl_action_to_string(action)); in mlxbf_bootctl_show() 124 int ret, action; in mlxbf_bootctl_store() local [all …]
|
/linux-6.1.9/arch/mips/sibyte/sb1250/ |
D | smp.c | 56 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()
|
/linux-6.1.9/arch/mips/cavium-octeon/ |
D | smp.c | 56 u64 action; in mailbox_interrupt() local 71 action = cvmx_read_csr(mbox_clrx); in mailbox_interrupt() 74 action &= 0xff; in mailbox_interrupt() 76 action &= 0xffff; in mailbox_interrupt() 79 cvmx_write_csr(mbox_clrx, action); in mailbox_interrupt() 81 for (i = 0; i < ARRAY_SIZE(octeon_message_functions) && action;) { in mailbox_interrupt() 82 if (action & 1) { in mailbox_interrupt() 88 action >>= 1; in mailbox_interrupt() 99 void octeon_send_ipi_single(int cpu, unsigned int action) in octeon_send_ipi_single() argument 106 cvmx_write_csr(CVMX_CIU_MBOX_SETX(coreid), action); in octeon_send_ipi_single() [all …]
|
/linux-6.1.9/arch/mips/sibyte/bcm1480/ |
D | smp.c | 67 static void bcm1480_send_ipi_single(int cpu, unsigned int action) in bcm1480_send_ipi_single() argument 69 __raw_writeq((((u64)action)<< 48), mailbox_0_set_regs[cpu]); in bcm1480_send_ipi_single() 73 unsigned int action) in bcm1480_send_ipi_mask() argument 78 bcm1480_send_ipi_single(i, action); in bcm1480_send_ipi_mask() 162 unsigned int action; in bcm1480_mailbox_interrupt() local 166 action = (__raw_readq(mailbox_0_regs[cpu]) >> 48) & 0xffff; in bcm1480_mailbox_interrupt() 169 __raw_writeq(((u64)action)<<48, mailbox_0_clear_regs[cpu]); in bcm1480_mailbox_interrupt() 171 if (action & SMP_RESCHEDULE_YOURSELF) in bcm1480_mailbox_interrupt() 174 if (action & SMP_CALL_FUNCTION) { in bcm1480_mailbox_interrupt()
|
/linux-6.1.9/include/drm/ |
D | drm_managed.h | 25 #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,
|
/linux-6.1.9/drivers/of/ |
D | dynamic.c | 76 int of_reconfig_notify(unsigned long action, struct of_reconfig_data *p) in of_reconfig_notify() argument 82 switch (action) { in of_reconfig_notify() 85 pr_debug("notify %-15s %pOF\n", action_names[action], in of_reconfig_notify() 91 pr_debug("notify %-15s %pOF:%s\n", action_names[action], in of_reconfig_notify() 97 rc = blocking_notifier_call_chain(&of_reconfig_chain, action, p); in of_reconfig_notify() 111 int of_reconfig_get_state_change(unsigned long action, struct of_reconfig_data *pr) in of_reconfig_get_state_change() argument 117 switch (action) { in of_reconfig_get_state_change() 149 switch (action) { in of_reconfig_get_state_change() 189 int of_property_notify(int action, struct device_node *np, in of_property_notify() argument 201 return of_reconfig_notify(action, &pr); in of_property_notify() [all …]
|
/linux-6.1.9/tools/testing/selftests/powerpc/signal/ |
D | sigreturn_unaligned.c | 27 struct sigaction action; in test_sigreturn_unaligned() local 29 memset(&action, 0, sizeof(action)); in test_sigreturn_unaligned() 30 action.sa_sigaction = sigusr1_handler; in test_sigreturn_unaligned() 31 action.sa_flags = SA_SIGINFO; in test_sigreturn_unaligned() 33 FAIL_IF(sigaction(SIGUSR1, &action, NULL) == -1); in test_sigreturn_unaligned()
|