Home
last modified time | relevance | path

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

12345678910>>...47

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_action.c660 struct mlx5dr_action *action; in mlx5dr_actions_build_ste_arr() local
664 action = actions[i]; in mlx5dr_actions_build_ste_arr()
665 action_type = action->action_type; in mlx5dr_actions_build_ste_arr()
672 dest_action = action; in mlx5dr_actions_build_ste_arr()
673 if (!action->dest_tbl.is_fw_tbl) { in mlx5dr_actions_build_ste_arr()
674 if (action->dest_tbl.tbl->dmn != dmn) { in mlx5dr_actions_build_ste_arr()
679 if (action->dest_tbl.tbl->level <= matcher->tbl->level) { in mlx5dr_actions_build_ste_arr()
685 action->dest_tbl.tbl->rx.s_anchor->chunk->icm_addr : in mlx5dr_actions_build_ste_arr()
686 action->dest_tbl.tbl->tx.s_anchor->chunk->icm_addr; in mlx5dr_actions_build_ste_arr()
692 if (!action->dest_tbl.fw_tbl.rx_icm_addr) { in mlx5dr_actions_build_ste_arr()
[all …]
Dfs_dr.c32 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()
101 struct mlx5dr_action *action = ft->fs_dr_table.miss_action; in mlx5_cmd_dr_destroy_flow_table() local
113 if (action) { in mlx5_cmd_dr_destroy_flow_table()
[all …]
/Linux-v5.4/kernel/irq/
Dhandle.c50 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 …]
Dmanage.c190 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()
755 if (!desc->action || in can_request_irq()
756 irqflags & desc->action->flags & IRQF_SHARED) in can_request_irq()
861 static int irq_wait_for_interrupt(struct irqaction *action) in irq_wait_for_interrupt() argument
869 &action->thread_flags)) { in irq_wait_for_interrupt()
878 &action->thread_flags)) { in irq_wait_for_interrupt()
892 struct irqaction *action) in irq_finalize_oneshot() argument
[all …]
Dspurious.c51 return !irqd_irq_disabled(&desc->irq_data) && desc->action; in irq_wait_for_poll()
64 struct irqaction *action; in try_one_irq() local
88 action = desc->action; in try_one_irq()
89 if (!action || !(action->flags & IRQF_SHARED) || in try_one_irq()
90 (action->flags & __IRQF_TIMER)) in try_one_irq()
109 action = desc->action; in try_one_irq()
110 } while ((desc->istate & IRQS_PENDING) && action); in try_one_irq()
194 struct irqaction *action; in __report_bad_irq() local
214 for_each_action_of_desc(desc, action) { in __report_bad_irq()
215 printk(KERN_ERR "[<%p>] %ps", action->handler, action->handler); in __report_bad_irq()
[all …]
Dproc.c281 struct irqaction *action; in name_unique() local
286 for_each_action_of_desc(desc, action) { in name_unique()
287 if ((action != new_action) && action->name && in name_unique()
288 !strcmp(new_action->name, action->name)) { in name_unique()
297 void register_handler_proc(unsigned int irq, struct irqaction *action) in register_handler_proc() argument
302 if (!desc->dir || action->dir || !action->name || in register_handler_proc()
303 !name_unique(irq, action)) in register_handler_proc()
306 snprintf(name, MAX_NAMELEN, "%s", action->name); in register_handler_proc()
309 action->dir = proc_mkdir(name, desc->dir); in register_handler_proc()
395 void unregister_handler_proc(unsigned int irq, struct irqaction *action) in unregister_handler_proc() argument
[all …]
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()
72 if (!desc->action || irq_desc_is_chained(desc) || in suspend_device_irq()
165 bool is_early = desc->action && in resume_irqs()
[all …]
/Linux-v5.4/security/integrity/ima/
Dima_policy.c65 int action; member
97 {.action = DONT_MEASURE, .fsmagic = PROC_SUPER_MAGIC, .flags = IMA_FSMAGIC},
98 {.action = DONT_MEASURE, .fsmagic = SYSFS_MAGIC, .flags = IMA_FSMAGIC},
99 {.action = DONT_MEASURE, .fsmagic = DEBUGFS_MAGIC, .flags = IMA_FSMAGIC},
100 {.action = DONT_MEASURE, .fsmagic = TMPFS_MAGIC, .flags = IMA_FSMAGIC},
101 {.action = DONT_MEASURE, .fsmagic = DEVPTS_SUPER_MAGIC, .flags = IMA_FSMAGIC},
102 {.action = DONT_MEASURE, .fsmagic = BINFMTFS_MAGIC, .flags = IMA_FSMAGIC},
103 {.action = DONT_MEASURE, .fsmagic = SECURITYFS_MAGIC, .flags = IMA_FSMAGIC},
104 {.action = DONT_MEASURE, .fsmagic = SELINUX_MAGIC, .flags = IMA_FSMAGIC},
105 {.action = DONT_MEASURE, .fsmagic = SMACK_MAGIC, .flags = IMA_FSMAGIC},
[all …]
Dima_main.c202 int rc = 0, action, must_appraise = 0; in process_measurement() local
217 action = ima_get_action(inode, cred, secid, mask, func, &pcr, in process_measurement()
221 if (!action && !violation_check) in process_measurement()
224 must_appraise = action & IMA_APPRAISE; in process_measurement()
227 if (action & IMA_FILE_APPRAISE) in process_measurement()
232 if (action) { in process_measurement()
239 ima_rdwr_violation_check(file, iint, action & IMA_MEASURE, in process_measurement()
246 if (!action) in process_measurement()
265 !(action & IMA_FAIL_UNVERIFIABLE_SIGS))) { in process_measurement()
274 iint->flags |= action; in process_measurement()
[all …]
/Linux-v5.4/lib/
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-v5.4/drivers/platform/x86/intel_speed_select_if/
Disst_if_mbox_msr.c108 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.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_dpipe.c80 struct devlink_dpipe_action action = {0}; in mlxsw_sp_dpipe_table_erif_actions_dump() local
83 action.type = DEVLINK_DPIPE_ACTION_TYPE_FIELD_MODIFY; in mlxsw_sp_dpipe_table_erif_actions_dump()
84 action.header = &mlxsw_sp_dpipe_header_metadata; in mlxsw_sp_dpipe_table_erif_actions_dump()
85 action.field_id = MLXSW_SP_DPIPE_FIELD_METADATA_L3_FORWARD; in mlxsw_sp_dpipe_table_erif_actions_dump()
87 err = devlink_dpipe_action_put(skb, &action); in mlxsw_sp_dpipe_table_erif_actions_dump()
91 action.type = DEVLINK_DPIPE_ACTION_TYPE_FIELD_MODIFY; in mlxsw_sp_dpipe_table_erif_actions_dump()
92 action.header = &mlxsw_sp_dpipe_header_metadata; in mlxsw_sp_dpipe_table_erif_actions_dump()
93 action.field_id = MLXSW_SP_DPIPE_FIELD_METADATA_L3_DROP; in mlxsw_sp_dpipe_table_erif_actions_dump()
95 return devlink_dpipe_action_put(skb, &action); in mlxsw_sp_dpipe_table_erif_actions_dump()
112 struct devlink_dpipe_action *action) in mlxsw_sp_erif_match_action_prepare() argument
[all …]
/Linux-v5.4/drivers/net/wireless/marvell/libertas/
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-v5.4/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink_trap.sh59 local action
67 action=$(devlink_trap_action_get $trap_name)
68 if [ $action != "trap" ]; then
73 action=$(devlink_trap_action_get $trap_name)
74 if [ $action != "drop" ]; then
81 action=$(devlink_trap_action_get $trap_name)
82 if [ $action != $orig_action ]; then
87 action=$(devlink_trap_action_get $trap_name)
88 if [ $action != $orig_action ]; then
174 local action
[all …]
/Linux-v5.4/arch/mips/sibyte/sb1250/
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-v5.4/arch/mips/sibyte/bcm1480/
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()
/Linux-v5.4/drivers/of/
Ddynamic.c76 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()
110 int of_reconfig_get_state_change(unsigned long action, struct of_reconfig_data *pr) in of_reconfig_get_state_change() argument
116 switch (action) { in of_reconfig_get_state_change()
148 switch (action) { in of_reconfig_get_state_change()
188 int of_property_notify(int action, struct device_node *np, in of_property_notify() argument
200 return of_reconfig_notify(action, &pr); in of_property_notify()
[all …]
/Linux-v5.4/arch/mips/cavium-octeon/
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()
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.4/drivers/gpu/drm/i915/gt/uc/
Dintel_guc.c330 int intel_guc_send_nop(struct intel_guc *guc, const u32 *action, u32 len, in intel_guc_send_nop() argument
333 WARN(1, "Unexpected send: action=%#x\n", *action); in intel_guc_send_nop()
345 int intel_guc_send_mmio(struct intel_guc *guc, const u32 *action, u32 len, in intel_guc_send_mmio() argument
357 GEM_BUG_ON(*action & ~INTEL_GUC_MSG_CODE_MASK); in intel_guc_send_mmio()
360 GEM_BUG_ON(*action != INTEL_GUC_ACTION_REGISTER_COMMAND_TRANSPORT_BUFFER && in intel_guc_send_mmio()
361 *action != INTEL_GUC_ACTION_DEREGISTER_COMMAND_TRANSPORT_BUFFER); in intel_guc_send_mmio()
367 intel_uncore_write(uncore, guc_send_reg(guc, i), action[i]); in intel_guc_send_mmio()
389 action[0], ret, status); in intel_guc_send_mmio()
432 u32 action[2]; in intel_guc_sample_forcewake() local
434 action[0] = INTEL_GUC_ACTION_SAMPLE_FORCEWAKE; in intel_guc_sample_forcewake()
[all …]
/Linux-v5.4/scripts/
Dasn1_compiler.c291 struct action { struct
292 struct action *next; argument
297 static struct action *action_list; argument
304 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()
1089 if (!action) { in parse_type()
1093 action->index = 0; in parse_type()
1094 action->name = cursor->content; in parse_type()
[all …]
/Linux-v5.4/arch/arm/probes/
Ddecode.c343 int action, probes_opcode_t insn, in run_checkers() argument
355 probes_check_t *checker_func = (*p)[action].checker; in run_checkers()
472 int action = d->decoder.action; in probes_decode_insn() local
474 err = run_checkers(checkers, action, origin_insn, asi, h); in probes_decode_insn()
477 return actions[action].decoder(insn, asi, h); in probes_decode_insn()
483 int action = d->handler.action; in probes_decode_insn() local
485 err = run_checkers(checkers, action, origin_insn, asi, h); in probes_decode_insn()
488 asi->insn_handler = actions[action].handler; in probes_decode_insn()
495 int action = d->handler.action; in probes_decode_insn() local
497 err = run_checkers(checkers, action, origin_insn, asi, h); in probes_decode_insn()
[all …]
/Linux-v5.4/arch/mips/kernel/
Dsmp-bmips.c62 static void bmips43xx_send_ipi_single(int cpu, unsigned int action);
63 static void bmips5000_send_ipi_single(int cpu, unsigned int action);
279 static void bmips5000_send_ipi_single(int cpu, unsigned int action) in bmips5000_send_ipi_single() argument
281 write_c0_brcm_action(ACTION_SET_IPI(cpu, action == SMP_CALL_FUNCTION)); in bmips5000_send_ipi_single()
286 int action = irq - IPI0_IRQ; in bmips5000_ipi_interrupt() local
288 write_c0_brcm_action(ACTION_CLR_IPI(smp_processor_id(), action)); in bmips5000_ipi_interrupt()
290 if (action == 0) in bmips5000_ipi_interrupt()
299 unsigned int action) in bmips5000_send_ipi_mask() argument
304 bmips5000_send_ipi_single(i, action); in bmips5000_send_ipi_mask()
320 static void bmips43xx_send_ipi_single(int cpu, unsigned int action) in bmips43xx_send_ipi_single() argument
[all …]
/Linux-v5.4/tools/testing/selftests/net/forwarding/
Dtc_flower.sh42 $tcflags dst_mac $dummy_mac action drop
44 $tcflags dst_mac $h2mac action drop
68 $tcflags src_mac $dummy_mac action drop
70 $tcflags src_mac $h1mac action drop
92 $tcflags dst_ip 198.51.100.2 action drop
94 $tcflags dst_ip 192.0.2.2 action drop
96 $tcflags dst_ip 192.0.2.0/24 action drop
126 $tcflags src_ip 198.51.100.1 action drop
128 $tcflags src_ip 192.0.2.1 action drop
130 $tcflags src_ip 192.0.2.0/24 action drop
[all …]
/Linux-v5.4/arch/mips/dec/
Dkn02xa-berr.c58 int action = MIPS_BE_FATAL; in dec_kn02xa_be_backend() local
80 action = MIPS_BE_FIXUP; in dec_kn02xa_be_backend()
82 if (action != MIPS_BE_FIXUP) in dec_kn02xa_be_backend()
86 if (action != MIPS_BE_FIXUP && address < 0x10000000) in dec_kn02xa_be_backend()
95 return action; in dec_kn02xa_be_backend()
106 int action = dec_kn02xa_be_backend(regs, 0, 1); in dec_kn02xa_be_interrupt() local
108 if (action == MIPS_BE_DISCARD) in dec_kn02xa_be_interrupt()
/Linux-v5.4/drivers/infiniband/core/
Duverbs_std_types_flow_action.c41 struct ib_flow_action *action = uobject->object; in uverbs_free_flow_action() local
44 ret = ib_destroy_usecnt(&action->usecnt, why, uobject); in uverbs_free_flow_action()
48 return action->device->ops.destroy_flow_action(action); in uverbs_free_flow_action()
315 struct ib_flow_action *action; in UVERBS_HANDLER() local
326 action = ib_dev->ops.create_flow_action_esp(ib_dev, &esp_attr.hdr, in UVERBS_HANDLER()
328 if (IS_ERR(action)) in UVERBS_HANDLER()
329 return PTR_ERR(action); in UVERBS_HANDLER()
331 uverbs_flow_action_fill_action(action, uobj, ib_dev, in UVERBS_HANDLER()
342 struct ib_flow_action *action = uobj->object; in UVERBS_HANDLER() local
346 if (!action->device->ops.modify_flow_action_esp) in UVERBS_HANDLER()
[all …]

12345678910>>...47