Home
last modified time | relevance | path

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

12345678910>>...58

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Ddr_action.c793 if (!action) in dr_action_create_generic()
798 action->data = action + 1; in dr_action_create_generic()
814 if (!action) in mlx5dr_action_create_dest_table_num()
834 if (!action) in mlx5dr_action_create_dest_table()
913 if (!action) in mlx5dr_action_create_mult_dest_tbl()
957 if (!action) in mlx5dr_action_create_dest_flow_fw_table()
976 if (!action) in mlx5dr_action_create_flow_counter()
989 if (!action) in mlx5dr_action_create_tag()
1010 if (!action) in mlx5dr_action_create_flow_sampler()
1192 if (!action) in mlx5dr_action_create_push_vlan()
[all …]
A Dfs_dr.c39 if (!action) in set_miss_action()
47 action = NULL; in set_miss_action()
120 if (action) { in mlx5_cmd_dr_destroy_flow_table()
290 if (fte->action.action & MLX5_FLOW_CONTEXT_ACTION_DECAP) { in mlx5_cmd_dr_create_fte()
312 fte->action.pkt_reformat->action.dr_action; in mlx5_cmd_dr_create_fte()
339 if (fte->action.action & MLX5_FLOW_CONTEXT_ACTION_MOD_HDR) in mlx5_cmd_dr_create_fte()
341 fte->action.modify_hdr->action.dr_action; in mlx5_cmd_dr_create_fte()
365 fte->action.pkt_reformat->action.dr_action; in mlx5_cmd_dr_create_fte()
369 if (fte->action.action & MLX5_FLOW_CONTEXT_ACTION_DROP) { in mlx5_cmd_dr_create_fte()
587 pkt_reformat->action.dr_action = action; in mlx5_cmd_dr_packet_reformat_alloc()
[all …]
/linux/kernel/irq/
A Dhandle.c68 if (action->thread->flags & PF_EXITING) 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()
157 trace_irq_handler_entry(irq, action); in __handle_irq_event_percpu()
158 res = action->handler(irq, action->dev_id); in __handle_irq_event_percpu()
162 irq, action->handler)) in __handle_irq_event_percpu()
171 if (unlikely(!action->thread_fn)) { in __handle_irq_event_percpu()
172 warn_no_thread(irq, action); in __handle_irq_event_percpu()
176 __irq_wake_thread(desc, action); in __handle_irq_event_percpu()
[all …]
A Dmanage.c1177 ret = action->thread_fn(action->irq, action->dev_id); in irq_forced_thread_fn()
1198 ret = action->thread_fn(action->irq, action->dev_id); in irq_thread_fn()
1942 if (action->secondary && action->secondary->thread) { in __free_irq()
1973 return action; in __free_irq()
2008 if (!action) in free_irq()
2157 if (!action) in request_threaded_irq()
2301 if (!action) in request_nmi()
2439 action = desc->action; in __free_percpu_irq()
2440 if (!action || action->percpu_dev_id != dev_id) { in __free_percpu_irq()
2586 if (!action) in __request_percpu_irq()
[all …]
A Dspurious.c65 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()
110 action = desc->action; in try_one_irq()
195 struct irqaction *action; in __report_bad_irq() local
216 printk(KERN_ERR "[<%p>] %ps", action->handler, action->handler); in __report_bad_irq()
217 if (action->thread_fn) in __report_bad_irq()
219 action->thread_fn, action->thread_fn); in __report_bad_irq()
239 struct irqaction *action; in try_misrouted_irq() local
265 action = desc->action; in try_misrouted_irq()
[all …]
A Dproc.c303 struct irqaction *action; in name_unique() local
309 if ((action != new_action) && action->name && in name_unique()
324 if (!desc->dir || action->dir || !action->name || in register_handler_proc()
325 !name_unique(irq, action)) in register_handler_proc()
419 proc_remove(action->dir); in unregister_handler_proc()
466 struct irqaction *action; in show_interrupts() local
525 action = desc->action; in show_interrupts()
526 if (action) { in show_interrupts()
527 seq_printf(p, " %s", action->name); in show_interrupts()
528 while ((action = action->next) != NULL) in show_interrupts()
[all …]
A Dpm.c33 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 …]
/linux/drivers/net/ethernet/intel/ice/
A Dice_fltr.c140 info.fltr_act = action; in ice_fltr_add_mac_to_list()
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
238 enum ice_sw_fwd_act_type action, in ice_fltr_prepare_mac_and_broadcast() argument
267 enum ice_sw_fwd_act_type action, in ice_fltr_prepare_vlan() argument
292 enum ice_sw_fwd_act_type action, in ice_fltr_prepare_eth() argument
314 enum ice_sw_fwd_act_type action) in ice_fltr_add_mac() argument
352 enum ice_sw_fwd_act_type action) in ice_fltr_add_vlan() argument
[all …]
A Dice_fltr.h10 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/lib/
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/tools/testing/selftests/drivers/net/mlxsw/
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
194 local action=$1
205 skip_sw dst_ip 192.0.2.2 action drop
208 matchall skip_sw action $action_args
214 matchall skip_sw action $action_args
220 matchall skip_sw action $action_args
223 skip_sw dst_ip 192.0.2.2 action drop
249 local action=$1
[all …]
/linux/drivers/platform/x86/intel/speed_select_if/
A Disst_if_mbox_msr.c108 struct msrl_action action; in isst_if_mbox_proc_cmd() local
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()
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()
136 action.mbox_cmd->parameter, in isst_if_mbox_proc_cmd()
137 action.mbox_cmd->req_data); in isst_if_mbox_proc_cmd()
[all …]
/linux/security/integrity/ima/
A Dima_policy.c77 int action; member
717 action |= entry->action & IMA_DO_MASK; in ima_match_policy()
720 action &= ~IMA_HASH; in ima_match_policy()
730 actmask &= ~(entry->action | entry->action << 1); in ima_match_policy()
732 actmask &= ~(entry->action | entry->action >> 1); in ima_match_policy()
745 return action; in ima_match_policy()
1347 entry->action = UNKNOWN; in ima_parse_rule()
1365 entry->action = MEASURE; in ima_parse_rule()
1397 entry->action = AUDIT; in ima_parse_rule()
1405 entry->action = HASH; in ima_parse_rule()
[all …]
A Dima_main.c243 if (action) { in process_measurement()
257 if (!action) in process_measurement()
285 iint->flags |= action; in process_measurement()
286 action &= IMA_DO_MASK; in process_measurement()
291 action ^= IMA_MEASURE; in process_measurement()
301 action ^= IMA_HASH; in process_measurement()
306 if (!action) { in process_measurement()
331 action |= IMA_MEASURE; in process_measurement()
361 if (action & IMA_AUDIT) in process_measurement()
440 int action; in ima_file_mprotect() local
[all …]
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_dpipe.c81 struct devlink_dpipe_action action = {0}; in mlxsw_sp_dpipe_table_erif_actions_dump() local
113 struct devlink_dpipe_action *action) in mlxsw_sp_erif_match_action_prepare() argument
142 action_value->action = action; in mlxsw_sp_erif_entry_prepare()
196 struct devlink_dpipe_action action = {0}; in mlxsw_sp_dpipe_table_erif_entries_dump() local
209 &action_value, &action); in mlxsw_sp_dpipe_table_erif_entries_dump()
446 action_value->action = action; in mlxsw_sp_dpipe_table_host_entry_prepare()
637 &action, type); in mlxsw_sp_dpipe_table_host_entries_dump()
938 struct devlink_dpipe_action *action; in mlxsw_sp_dpipe_table_adj_match_action_prepare() local
975 struct devlink_dpipe_action *action; in mlxsw_sp_dpipe_table_adj_entry_prepare() local
1014 action_value->action = action; in mlxsw_sp_dpipe_table_adj_entry_prepare()
[all …]
/linux/drivers/net/wireless/marvell/libertas/
A Dhost.h398 __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/drivers/net/ethernet/mscc/
A Docelot_flower.c166 filter->action.pcp_dei_ena = true; in ocelot_flower_parse_ingress_vlan_modify()
167 filter->action.vid = a->vlan.vid; in ocelot_flower_parse_ingress_vlan_modify()
168 filter->action.pcp = a->vlan.prio; in ocelot_flower_parse_ingress_vlan_modify()
249 filter->action.port_mask = 0; in ocelot_flower_parse_action()
250 filter->action.police_ena = true; in ocelot_flower_parse_action()
266 filter->action.port_mask = 0; in ocelot_flower_parse_action()
268 filter->action.cpu_qu_num = 0; in ocelot_flower_parse_action()
288 filter->action.police_ena = true; in ocelot_flower_parse_action()
327 filter->action.vlan_pop_cnt++; in ocelot_flower_parse_action()
362 filter->action.qos_ena = true; in ocelot_flower_parse_action()
[all …]
/linux/drivers/of/
A Ddynamic.c82 switch (action) { in of_reconfig_notify()
117 switch (action) { in of_reconfig_get_state_change()
149 switch (action) { in of_reconfig_get_state_change()
201 return of_reconfig_notify(action, &pr); in of_property_notify()
484 switch (ce->action) { in __of_changeset_entry_dump()
510 switch (ce->action) { in __of_changeset_entry_invert()
547 switch (ce->action) { in __of_changeset_entry_notify()
561 (int)ce->action); in __of_changeset_entry_notify()
579 switch (ce->action) { in __of_changeset_entry_apply()
640 switch (ce->action) { in __of_changeset_entry_apply()
[all …]
/linux/arch/mips/cavium-octeon/
A Dsmp.c56 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()
82 if (action & 1) { in mailbox_interrupt()
88 action >>= 1; in mailbox_interrupt()
110 unsigned int action) in octeon_send_ipi_mask() argument
476 if (action & 1) in octeon_78xx_send_ipi_single()
478 action >>= 1; in octeon_78xx_send_ipi_single()
[all …]
/linux/tools/testing/selftests/net/forwarding/
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 \
115 action mirred egress redirect dev $mpls2
122 action vlan pop_eth \
123 action mpls pop protocol teb \
[all …]
A Dtc_flower.sh45 $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
131 $tcflags src_ip 192.0.2.1 action drop
163 $tcflags ip_flags frag action continue
169 $tcflags ip_flags nofrag action drop
[all …]
/linux/drivers/platform/mellanox/
A Dmlxbf-bootctl.c63 if (sysfs_streq(boot_names[i].name, action)) in mlxbf_bootctl_reset_action_to_val()
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()
124 int ret, action; in mlxbf_bootctl_store() local
126 action = mlxbf_bootctl_reset_action_to_val(buf); in mlxbf_bootctl_store()
127 if (action < 0) in mlxbf_bootctl_store()
128 return action; in mlxbf_bootctl_store()
[all …]
/linux/scripts/
A Dasn1_compiler.c304 struct action *action; member
685 struct action *action; member
857 struct action *action, **ppaction; in parse_type() local
1088 action = malloc(sizeof(struct action)); in parse_type()
1118 element->action = action; in parse_type()
1119 cursor->action = action; in parse_type()
1295 struct action *action; in render() local
1328 for (action = action_list; action; action = action->next) { in render()
1338 for (action = action_list; action; action = action->next) in render()
1340 action->name, action->index); in render()
[all …]
/linux/arch/mips/sibyte/sb1250/
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()
/linux/arch/mips/sibyte/bcm1480/
A Dsmp.c67 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()

Completed in 86 milliseconds

12345678910>>...58