/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_action.c | 572 struct mlx5dr_action *action; in mlx5dr_actions_build_ste_arr() local 576 action = actions[i]; in mlx5dr_actions_build_ste_arr() 577 action_type = action->action_type; in mlx5dr_actions_build_ste_arr() 584 dest_action = action; in mlx5dr_actions_build_ste_arr() 585 dest_tbl = action->dest_tbl; in mlx5dr_actions_build_ste_arr() 608 if (!action->dest_tbl->fw_tbl.rx_icm_addr) { in mlx5dr_actions_build_ste_arr() 634 attr.ctr_id = action->ctr->ctr_id + in mlx5dr_actions_build_ste_arr() 635 action->ctr->offeset; in mlx5dr_actions_build_ste_arr() 638 attr.flow_tag = action->flow_tag->flow_tag; in mlx5dr_actions_build_ste_arr() 643 attr.decap_index = action->rewrite->index; in mlx5dr_actions_build_ste_arr() [all …]
|
D | fs_dr.c | 32 struct mlx5dr_action *action = NULL; in set_miss_action() local 38 action = mlx5dr_action_create_dest_table(next_tbl); in set_miss_action() 39 if (!action) in set_miss_action() 43 err = mlx5dr_table_set_miss_action(ft->fs_dr_table.dr_table, action); in set_miss_action() 44 if (err && action) { in set_miss_action() 45 err = mlx5dr_action_destroy(action); in set_miss_action() 47 action = NULL; in set_miss_action() 52 ft->fs_dr_table.miss_action = action; in set_miss_action() 108 struct mlx5dr_action *action = ft->fs_dr_table.miss_action; in mlx5_cmd_dr_destroy_flow_table() local 120 if (action) { in mlx5_cmd_dr_destroy_flow_table() [all …]
|
/Linux-v5.15/kernel/irq/ |
D | handle.c | 50 static void warn_no_thread(unsigned int irq, struct irqaction *action) in warn_no_thread() argument 52 if (test_and_set_bit(IRQTF_WARNED, &action->thread_flags)) in warn_no_thread() 56 "but no thread function available.", irq, action->name); in warn_no_thread() 59 void __irq_wake_thread(struct irq_desc *desc, struct irqaction *action) in __irq_wake_thread() argument 66 if (action->thread->flags & PF_EXITING) in __irq_wake_thread() 73 if (test_and_set_bit(IRQTF_RUNTHREAD, &action->thread_flags)) in __irq_wake_thread() 121 desc->threads_oneshot |= action->thread_mask; in __irq_wake_thread() 134 wake_up_process(action->thread); in __irq_wake_thread() 141 struct irqaction *action; in __handle_irq_event_percpu() local 145 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() 931 if (!desc->action || in can_request_irq() 932 irqflags & desc->action->flags & IRQF_SHARED) in can_request_irq() 1037 static int irq_wait_for_interrupt(struct irqaction *action) in irq_wait_for_interrupt() argument 1045 &action->thread_flags)) { in irq_wait_for_interrupt() 1054 &action->thread_flags)) { in irq_wait_for_interrupt() 1068 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 …]
|
D | pm.c | 33 void irq_pm_install_action(struct irq_desc *desc, struct irqaction *action) in irq_pm_install_action() argument 37 if (action->flags & IRQF_FORCE_RESUME) in irq_pm_install_action() 43 if (action->flags & IRQF_NO_SUSPEND) in irq_pm_install_action() 45 else if (action->flags & IRQF_COND_SUSPEND) in irq_pm_install_action() 57 void irq_pm_remove_action(struct irq_desc *desc, struct irqaction *action) in irq_pm_remove_action() argument 61 if (action->flags & IRQF_FORCE_RESUME) in irq_pm_remove_action() 64 if (action->flags & IRQF_NO_SUSPEND) in irq_pm_remove_action() 66 else if (action->flags & IRQF_COND_SUSPEND) in irq_pm_remove_action() 75 if (!desc->action || irq_desc_is_chained(desc) || in suspend_device_irq() 191 bool is_early = desc->action && in resume_irqs() [all …]
|
D | proc.c | 303 struct irqaction *action; in name_unique() local 308 for_each_action_of_desc(desc, action) { in name_unique() 309 if ((action != new_action) && action->name && in name_unique() 310 !strcmp(new_action->name, action->name)) { in name_unique() 319 void register_handler_proc(unsigned int irq, struct irqaction *action) in register_handler_proc() argument 324 if (!desc->dir || action->dir || !action->name || in register_handler_proc() 325 !name_unique(irq, action)) in register_handler_proc() 328 snprintf(name, MAX_NAMELEN, "%s", action->name); in register_handler_proc() 331 action->dir = proc_mkdir(name, desc->dir); in register_handler_proc() 417 void unregister_handler_proc(unsigned int irq, struct irqaction *action) in unregister_handler_proc() argument [all …]
|
/Linux-v5.15/drivers/net/ethernet/intel/ice/ |
D | ice_fltr.c | 133 const u8 *mac, enum ice_sw_fwd_act_type action) in ice_fltr_add_mac_to_list() argument 140 info.fltr_act = action; in ice_fltr_add_mac_to_list() 158 u16 vlan_id, enum ice_sw_fwd_act_type action) in ice_fltr_add_vlan_to_list() argument 165 info.fltr_act = action; in ice_fltr_add_vlan_to_list() 184 enum ice_sw_fwd_act_type action) in ice_fltr_add_eth_to_list() argument 190 info.fltr_act = action; in ice_fltr_add_eth_to_list() 212 enum ice_sw_fwd_act_type action, in ice_fltr_prepare_mac() argument 219 if (ice_fltr_add_mac_to_list(vsi, &tmp_list, mac, action)) { in ice_fltr_prepare_mac() 238 enum ice_sw_fwd_act_type action, in ice_fltr_prepare_mac_and_broadcast() argument 247 if (ice_fltr_add_mac_to_list(vsi, &tmp_list, mac, action) || in ice_fltr_prepare_mac_and_broadcast() [all …]
|
D | ice_fltr.h | 10 const u8 *mac, enum ice_sw_fwd_act_type action); 13 enum ice_sw_fwd_act_type action); 16 enum ice_sw_fwd_act_type action); 21 enum ice_sw_fwd_act_type action); 27 enum ice_sw_fwd_act_type action); 30 enum ice_sw_fwd_act_type action); 34 enum ice_sw_fwd_act_type action); 37 enum ice_sw_fwd_act_type action);
|
/Linux-v5.15/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-v5.15/security/integrity/ima/ |
D | ima_policy.c | 74 int action; member 117 {.action = DONT_MEASURE, .fsmagic = PROC_SUPER_MAGIC, .flags = IMA_FSMAGIC}, 118 {.action = DONT_MEASURE, .fsmagic = SYSFS_MAGIC, .flags = IMA_FSMAGIC}, 119 {.action = DONT_MEASURE, .fsmagic = DEBUGFS_MAGIC, .flags = IMA_FSMAGIC}, 120 {.action = DONT_MEASURE, .fsmagic = TMPFS_MAGIC, .flags = IMA_FSMAGIC}, 121 {.action = DONT_MEASURE, .fsmagic = DEVPTS_SUPER_MAGIC, .flags = IMA_FSMAGIC}, 122 {.action = DONT_MEASURE, .fsmagic = BINFMTFS_MAGIC, .flags = IMA_FSMAGIC}, 123 {.action = DONT_MEASURE, .fsmagic = SECURITYFS_MAGIC, .flags = IMA_FSMAGIC}, 124 {.action = DONT_MEASURE, .fsmagic = SELINUX_MAGIC, .flags = IMA_FSMAGIC}, 125 {.action = DONT_MEASURE, .fsmagic = SMACK_MAGIC, .flags = IMA_FSMAGIC}, [all …]
|
/Linux-v5.15/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-v5.15/tools/testing/selftests/drivers/net/mlxsw/ |
D | tc_restrictions.sh | 47 skip_sw dst_ip 192.0.2.2 action drop 64 skip_sw dst_ip 192.0.2.2 action drop 73 skip_sw dst_ip 192.0.2.2 action drop 96 action mirred egress redirect dev $swp2 114 action mirred egress redirect dev $swp2 124 action mirred egress redirect dev $swp2 131 action mirred egress redirect dev $swp2 150 action mirred egress mirror dev $swp2 157 action mirred egress mirror dev $swp2 \ 158 action mirred egress mirror dev $swp1 [all …]
|
/Linux-v5.15/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-v5.15/drivers/net/wireless/marvell/libertas/ |
D | host.h | 398 __le16 action; member 444 __le16 action; member 495 __le16 action; member 501 __le16 action; member 545 __le16 action; member 558 __le16 action; member 567 __le16 action; member 578 __le16 action; member 585 __le16 action; member 594 __le16 action; member [all …]
|
/Linux-v5.15/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 …]
|
D | tc_flower.sh | 45 $tcflags dst_mac $dummy_mac action drop 47 $tcflags dst_mac $h2mac action drop 71 $tcflags src_mac $dummy_mac action drop 73 $tcflags src_mac $h1mac action drop 95 $tcflags dst_ip 198.51.100.2 action drop 97 $tcflags dst_ip 192.0.2.2 action drop 99 $tcflags dst_ip 192.0.2.0/24 action drop 129 $tcflags src_ip 198.51.100.1 action drop 131 $tcflags src_ip 192.0.2.1 action drop 133 $tcflags src_ip 192.0.2.0/24 action drop [all …]
|
/Linux-v5.15/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-v5.15/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-v5.15/include/drm/ |
D | drm_managed.h | 24 #define drmm_add_action(dev, action, data) \ argument 25 __drmm_add_action(dev, action, data, #action) 28 drmres_release_t action, 40 #define drmm_add_action_or_reset(dev, action, data) \ argument 41 __drmm_add_action_or_reset(dev, action, data, #action) 44 drmres_release_t action,
|
/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/tools/testing/selftests/drivers/net/ocelot/ |
D | tc_flower_chains.sh | 136 skip_sw action goto chain $(IS1 0) 138 flower skip_sw action goto chain $(IS1 1) 140 flower skip_sw action goto chain $(IS1 2) 142 flower skip_sw action goto chain $(IS2 0 0) 154 flower skip_sw action goto chain $(IS2 1 0) 174 action vlan pop \ 175 action goto chain $(IS1 2) 179 action vlan push protocol 802.1Q id 100 183 action skbedit priority 7 \ 184 action goto chain $(IS1 1) [all …]
|
/Linux-v5.15/drivers/net/ethernet/mscc/ |
D | ocelot_flower.c | 157 if (!flow_action_basic_hw_stats_check(&f->rule->action, in ocelot_flower_parse_action() 175 flow_action_for_each(i, a, &f->rule->action) { in ocelot_flower_parse_action() 188 filter->action.mask_mode = OCELOT_MASK_MODE_PERMIT_DENY; in ocelot_flower_parse_action() 189 filter->action.port_mask = 0; in ocelot_flower_parse_action() 190 filter->action.police_ena = true; in ocelot_flower_parse_action() 191 filter->action.pol_ix = OCELOT_POLICER_DISCARD; in ocelot_flower_parse_action() 205 filter->action.mask_mode = OCELOT_MASK_MODE_PERMIT_DENY; in ocelot_flower_parse_action() 206 filter->action.port_mask = 0; in ocelot_flower_parse_action() 207 filter->action.cpu_copy_ena = true; in ocelot_flower_parse_action() 208 filter->action.cpu_qu_num = 0; in ocelot_flower_parse_action() [all …]
|