Home
last modified time | relevance | path

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

12

/kernel/irq/
A Dmanage.c196 if (action->secondary && action->secondary->thread) { in irq_set_thread_affinity()
1131 irqreturn_t ret = action->thread_fn(action->irq, action->dev_id); in irq_thread_fn()
1221 if (!action || !action->thread) in wake_up_and_wait_for_irq_thread_ready()
1909 if (action->secondary && action->secondary->thread) in __free_irq()
1971 if (!action) in free_irq()
2111 if (!action) in request_threaded_irq()
2252 if (!action) in request_nmi()
2357 action = desc->action; in __free_percpu_irq()
2358 if (!action || action->percpu_dev_id != dev_id) { in __free_percpu_irq()
2481 if (!action) in __request_percpu_irq()
[all …]
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()
159 trace_irq_handler_exit(irq, action, res); 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()
[all …]
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()
155 struct irqaction *action; in __report_bad_irq() local
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()
192 struct irqaction *action; in try_misrouted_irq() local
216 action = READ_ONCE(desc->action); in try_misrouted_irq()
[all …]
A Dproc.c299 struct irqaction *action; in name_unique() local
302 for_each_action_of_desc(desc, action) { in name_unique()
303 if ((action != new_action) && action->name && in name_unique()
315 if (!desc->dir || action->dir || !action->name || !name_unique(irq, action)) in register_handler_proc()
409 proc_remove(action->dir); in unregister_handler_proc()
456 struct irqaction *action; in show_interrupts() local
513 action = desc->action; in show_interrupts()
514 if (action) { in show_interrupts()
515 seq_printf(p, " %s", action->name); in show_interrupts()
516 while ((action = action->next) != NULL) in show_interrupts()
[all …]
A Dpm.c29 void irq_pm_install_action(struct irq_desc *desc, struct irqaction *action) in irq_pm_install_action() argument
33 if (action->flags & IRQF_FORCE_RESUME) in irq_pm_install_action()
39 if (action->flags & IRQF_NO_SUSPEND) in irq_pm_install_action()
41 else if (action->flags & IRQF_COND_SUSPEND) in irq_pm_install_action()
52 void irq_pm_remove_action(struct irq_desc *desc, struct irqaction *action) in irq_pm_remove_action() argument
56 if (action->flags & IRQF_FORCE_RESUME) in irq_pm_remove_action()
59 if (action->flags & IRQF_NO_SUSPEND) in irq_pm_remove_action()
61 else if (action->flags & IRQF_COND_SUSPEND) in irq_pm_remove_action()
70 if (!desc->action || irq_desc_is_chained(desc) || in suspend_device_irq()
182 bool is_early = desc->action && desc->action->flags & IRQF_EARLY_RESUME; in resume_irqs()
A Dchip.c574 struct irqaction *action; in handle_nested_irq() local
583 action = desc->action; in handle_nested_irq()
590 action_ret |= action->thread_fn(action->irq, action->dev_id); in handle_nested_irq()
791 struct irqaction *action = desc->action; in handle_fasteoi_nmi() local
801 res = action->handler(irq, action->dev_id); in handle_fasteoi_nmi()
900 struct irqaction *action = desc->action; in handle_percpu_devid_irq() local
913 if (likely(action)) { in handle_percpu_devid_irq()
915 res = action->handler(irq, raw_cpu_ptr(action->percpu_dev_id)); in handle_percpu_devid_irq()
943 struct irqaction *action = desc->action; in handle_percpu_devid_fasteoi_nmi() local
950 res = action->handler(irq, raw_cpu_ptr(action->percpu_dev_id)); in handle_percpu_devid_fasteoi_nmi()
[all …]
A Dinternals.h116 void __irq_wake_thread(struct irq_desc *desc, struct irqaction *action);
123 extern void register_handler_proc(unsigned int irq, struct irqaction *action);
124 extern void unregister_handler_proc(unsigned int irq, struct irqaction *action);
129 struct irqaction *action) { } in register_handler_proc() argument
131 struct irqaction *action) { } in unregister_handler_proc() argument
147 for (act = desc->action; act; act = act->next)
271 return (desc->action && desc->action == &chained_action); in irq_desc_is_chained()
281 void irq_pm_install_action(struct irq_desc *desc, struct irqaction *action);
282 void irq_pm_remove_action(struct irq_desc *desc, struct irqaction *action);
286 irq_pm_install_action(struct irq_desc *desc, struct irqaction *action) { } in irq_pm_install_action() argument
[all …]
A Ddebug.h24 printk("->action(): %p\n", desc->action); in print_irq_desc()
25 if (desc->action) { in print_irq_desc()
27 desc->action->handler, desc->action->handler); in print_irq_desc()
A Dautoprobe.c47 if (!desc->action && irq_settings_can_probe(desc)) { in probe_irq_on()
68 if (!desc->action && irq_settings_can_probe(desc)) { in probe_irq_on()
/kernel/sched/
A Dwait_bit.c45 wait_bit_action_f *action, unsigned mode) in __wait_on_bit() argument
52 ret = (*action)(&wbq_entry->key, mode); in __wait_on_bit()
62 wait_bit_action_f *action, unsigned mode) in out_of_line_wait_on_bit() argument
67 return __wait_on_bit(wq_head, &wq_entry, action, mode); in out_of_line_wait_on_bit()
72 unsigned long *word, int bit, wait_bit_action_f *action, in out_of_line_wait_on_bit_timeout() argument
80 return __wait_on_bit(wq_head, &wq_entry, action, mode); in out_of_line_wait_on_bit_timeout()
86 wait_bit_action_f *action, unsigned mode) in __wait_on_bit_lock() argument
93 ret = action(&wbq_entry->key, mode); in __wait_on_bit_lock()
115 wait_bit_action_f *action, unsigned mode) in out_of_line_wait_on_bit_lock() argument
120 return __wait_on_bit_lock(wq_head, &wq_entry, action, mode); in out_of_line_wait_on_bit_lock()
A Dcompletion.c87 long (*action)(long), long timeout, int state) in do_wait_for_common()
100 timeout = action(timeout); in do_wait_for_common()
114 long (*action)(long), long timeout, int state) in __wait_for_common()
121 timeout = do_wait_for_common(x, action, timeout, state); in __wait_for_common()
/kernel/power/
A Dqos.c99 enum pm_qos_req_action action, int value) in pm_qos_update_target() argument
112 switch (action) { in pm_qos_update_target()
137 trace_pm_qos_update_target(action, prev_value, curr_value); in pm_qos_update_target()
176 enum pm_qos_req_action action, s32 val) in pm_qos_update_flags() argument
185 switch (action) { in pm_qos_update_flags()
207 trace_pm_qos_update_flags(action, prev_value, curr_value); in pm_qos_update_flags()
250 enum pm_qos_req_action action, s32 value) in cpu_latency_qos_apply() argument
252 int ret = pm_qos_update_target(req->qos, &req->node, action, value); in cpu_latency_qos_apply()
504 enum pm_qos_req_action action, s32 value) in freq_qos_apply() argument
511 action, value); in freq_qos_apply()
[all …]
/kernel/
A Dreboot.c943 switch (action) { in hw_protection_action_str()
1008 hw_failure_emergency_action = action; in hw_failure_emergency_schedule()
1029 enum hw_protection_action action) in __hw_protection_trigger() argument
1033 if (action == HWPROT_ACT_DEFAULT) in __hw_protection_trigger()
1034 action = hw_protection_action; in __hw_protection_trigger()
1037 hw_protection_action_str(action), reason); in __hw_protection_trigger()
1047 hw_failure_emergency_schedule(action, ms_until_forced); in __hw_protection_trigger()
1048 if (action == HWPROT_ACT_REBOOT) in __hw_protection_trigger()
1056 enum hw_protection_action *action) in hw_protection_action_parse() argument
1059 *action = HWPROT_ACT_SHUTDOWN; in hw_protection_action_parse()
[all …]
A Dauditfilter.c262 if (unlikely(rule->action == AUDIT_POSSIBLE)) { in audit_to_entry_common()
266 if (rule->action != AUDIT_NEVER && rule->action != AUDIT_ALWAYS) in audit_to_entry_common()
278 entry->rule.action = rule->action; in audit_to_entry_common()
647 data->action = krule->action; in audit_krule_to_data()
713 a->action != b->action || in audit_compare_rule()
837 new->action = old->action; in audit_dupe_rule()
1109 static void audit_log_rule_change(char *action, struct audit_krule *rule, int res) in audit_log_rule_change() argument
1121 audit_log_format(ab, " op=%s", action); in audit_log_rule_change()
1400 if (e->rule.action == AUDIT_NEVER || listtype == AUDIT_FILTER_EXCLUDE) in audit_filter()
A Dseccomp.c998 switch (action) { in seccomp_log()
1033 audit_seccomp(syscall, signr, action); in seccomp_log()
1245 u32 filter_ret, action; in __seccomp_filter() local
1260 action = filter_ret & SECCOMP_RET_ACTION_FULL; in __seccomp_filter()
1262 switch (action) { in __seccomp_filter()
1328 seccomp_log(this_syscall, 0, action, true); in __seccomp_filter()
1343 seccomp_log(this_syscall, SIGSYS, action, true); in __seccomp_filter()
1345 if (action != SECCOMP_RET_KILL_THREAD || in __seccomp_filter()
2048 u32 action; in seccomp_get_action_avail() local
2050 if (copy_from_user(&action, uaction, sizeof(action))) in seccomp_get_action_avail()
[all …]
A Dsoftirq.c579 h->action(); in handle_softirqs()
583 vec_nr, softirq_to_name[vec_nr], h->action, in handle_softirqs()
750 void open_softirq(int nr, void (*action)(void)) in open_softirq()
752 softirq_vec[nr].action = action; in open_softirq()
A Dsignal.c1299 struct k_sigaction *action; in force_sig_info_to_task() local
1303 action = &t->sighand->action[sig-1]; in force_sig_info_to_task()
1304 ignored = action->sa.sa_handler == SIG_IGN; in force_sig_info_to_task()
1307 action->sa.sa_handler = SIG_DFL; in force_sig_info_to_task()
1309 action->sa.sa_flags |= SA_IMMUTABLE; in force_sig_info_to_task()
1317 if (action->sa.sa_handler == SIG_DFL && in force_sig_info_to_task()
2871 &sighand->action[SIGKILL-1]); in get_signal()
2926 ka = &sighand->action[signr-1]; in get_signal()
4282 current->sighand->action[sig - 1].sa.sa_handler = action; in kernel_sigaction()
4283 if (action == SIG_IGN) { in kernel_sigaction()
[all …]
A Dhung_task.c451 unsigned long action, void *hcpu) in hungtask_pm_notify() argument
453 switch (action) { in hungtask_pm_notify()
A Dresource_kunit.c183 struct kunit *test, void (*action)(void *), void *ctx) in resource_test_add_action_or_abort()
186 kunit_add_action_or_reset(test, action, ctx), in resource_test_add_action_or_abort()
/kernel/trace/
A Dblktrace.c69 static void trace_note(struct blk_trace *bt, pid_t pid, int action, in trace_note() argument
101 t->action = action | (cgid ? __BLK_TN_CGROUP : 0); in trace_note()
295 t->action = what; in __blk_add_trace()
1119 int tc = t->action >> BLK_TC_SHIFT; in fill_rwbs()
1121 if ((t->action & ~__BLK_TN_CGROUP) == BLK_TN_MESSAGE) { in fill_rwbs()
1173 return te_blk_io_trace(ent)->action; in t_action()
1454 what = (t->action & ((1 << BLK_TC_SHIFT) - 1)) & ~__BLK_TA_CGROUP; in print_one_line()
1457 has_cg = t->action & __BLK_TA_CGROUP; in print_one_line()
1459 if ((t->action & ~__BLK_TN_CGROUP) == BLK_TN_MESSAGE) { in print_one_line()
A Dtrace_events_hist.c607 enum action_id action; member
3409 struct action_data *action; in cond_snapshot_update() local
3415 action = track_data->action_data; in cond_snapshot_update()
3479 struct action_data *action; in track_data_snapshot_print() local
3489 if (!action) in track_data_snapshot_print()
3750 data->action = ACTION_SAVE; in action_parse()
3772 data->action = ACTION_SNAPSHOT; in action_parse()
3796 data->action = ACTION_TRACE; in action_parse()
4120 if (data->action == ACTION_TRACE) in action_create()
4138 if (data->action == ACTION_SAVE) { in action_create()
[all …]
/kernel/gcov/
A Dgcov.h59 void gcov_event(enum gcov_action action, struct gcov_info *info);
/kernel/trace/rv/monitors/nrp/
A Dnrp.c61 static void handle_irq_entry(void *data, int irq, struct irqaction *action) in handle_irq_entry() argument
/kernel/trace/rv/monitors/sts/
A Dsts.c72 static void handle_irq_entry(void *data, int irq, struct irqaction *action) in handle_irq_entry() argument
/kernel/trace/rv/monitors/opid/
A Dopid.c72 static void handle_irq_entry(void *data, int irq, struct irqaction *action) in handle_irq_entry() argument

Completed in 81 milliseconds

12