/kernel/irq/ |
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() 939 if (!desc->action || in can_request_irq() 940 irqflags & desc->action->flags & IRQF_SHARED) in can_request_irq() 1045 static int irq_wait_for_interrupt(struct irqaction *action) in irq_wait_for_interrupt() argument 1053 &action->thread_flags)) { in irq_wait_for_interrupt() 1062 &action->thread_flags)) { in irq_wait_for_interrupt() 1076 struct irqaction *action) in irq_finalize_oneshot() argument [all …]
|
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 | 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 | 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 …]
|
D | chip.c | 464 struct irqaction *action; in handle_nested_irq() local 473 action = desc->action; in handle_nested_irq() 474 if (unlikely(!action || irqd_irq_disabled(&desc->irq_data))) { in handle_nested_irq() 484 for_each_action_of_desc(desc, action) in handle_nested_irq() 485 action_ret |= action->thread_fn(action->irq, action->dev_id); in handle_nested_irq() 520 if (desc->action && desc->action->name) in irq_may_run() 521 name = desc->action->name; in irq_may_run() 564 if (unlikely(!desc->action || irqd_irq_disabled(&desc->irq_data))) { in handle_simple_irq() 599 if (unlikely(!desc->action || irqd_irq_disabled(&desc->irq_data))) { in handle_untracked_irq() 659 if (unlikely(!desc->action || irqd_irq_disabled(&desc->irq_data))) { in handle_level_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() 190 bool is_early = desc->action && in resume_irqs() [all …]
|
D | internals.h | 117 void __irq_wake_thread(struct irq_desc *desc, struct irqaction *action); 122 extern void register_handler_proc(unsigned int irq, struct irqaction *action); 123 extern void unregister_handler_proc(unsigned int irq, struct irqaction *action); 128 struct irqaction *action) { } in register_handler_proc() argument 130 struct irqaction *action) { } in unregister_handler_proc() argument 166 for (act = desc->action; act; act = act->next) 273 return (desc->action && desc->action == &chained_action); in irq_desc_is_chained() 278 void irq_pm_install_action(struct irq_desc *desc, struct irqaction *action); 279 void irq_pm_remove_action(struct irq_desc *desc, struct irqaction *action); 283 irq_pm_install_action(struct irq_desc *desc, struct irqaction *action) { } in irq_pm_install_action() argument [all …]
|
D | debug.h | 24 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()
|
D | autoprobe.c | 47 if (!desc->action && irq_settings_can_probe(desc)) { in probe_irq_on() 70 if (!desc->action && irq_settings_can_probe(desc)) { in probe_irq_on()
|
D | cpuhotplug.c | 194 if (!irqd_affinity_is_managed(data) || !desc->action || in irq_restore_affinity_of_irq()
|
D | irqdesc.c | 249 struct irqaction *action; in actions_show() local 254 for_each_action_of_desc(desc, action) { in actions_show() 256 p, action->name); in actions_show()
|
/kernel/sched/ |
D | wait_bit.c | 42 wait_bit_action_f *action, unsigned mode) in __wait_on_bit() argument 49 ret = (*action)(&wbq_entry->key, mode); in __wait_on_bit() 59 wait_bit_action_f *action, unsigned mode) in out_of_line_wait_on_bit() argument 64 return __wait_on_bit(wq_head, &wq_entry, action, mode); in out_of_line_wait_on_bit() 69 void *word, int bit, wait_bit_action_f *action, in out_of_line_wait_on_bit_timeout() argument 77 return __wait_on_bit(wq_head, &wq_entry, action, mode); in out_of_line_wait_on_bit_timeout() 83 wait_bit_action_f *action, unsigned mode) in __wait_on_bit_lock() argument 90 ret = action(&wbq_entry->key, mode); in __wait_on_bit_lock() 112 wait_bit_action_f *action, unsigned mode) in out_of_line_wait_on_bit_lock() argument 117 return __wait_on_bit_lock(wq_head, &wq_entry, action, mode); in out_of_line_wait_on_bit_lock()
|
D | completion.c | 72 long (*action)(long), long timeout, int state) in do_wait_for_common() 85 timeout = action(timeout); in do_wait_for_common() 99 long (*action)(long), long timeout, int state) in __wait_for_common() 106 timeout = do_wait_for_common(x, action, timeout, state); in __wait_for_common()
|
/kernel/power/ |
D | qos.c | 100 enum pm_qos_req_action action, int value) in pm_qos_update_target() argument 113 switch (action) { in pm_qos_update_target() 138 trace_pm_qos_update_target(action, prev_value, curr_value); in pm_qos_update_target() 177 enum pm_qos_req_action action, s32 val) in pm_qos_update_flags() argument 186 switch (action) { in pm_qos_update_flags() 208 trace_pm_qos_update_flags(action, prev_value, curr_value); in pm_qos_update_flags() 246 enum pm_qos_req_action action, s32 value) in cpu_latency_qos_apply() argument 248 int ret = pm_qos_update_target(req->qos, &req->node, action, value); in cpu_latency_qos_apply() 500 enum pm_qos_req_action action, s32 value) in freq_qos_apply() argument 507 action, value); in freq_qos_apply() [all …]
|
D | wakeup_reason.c | 79 if (desc && desc->action && desc->action->name) in init_node() 80 p->irq_name = desc->action->name; in init_node()
|
/kernel/ |
D | auditfilter.c | 262 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() 646 data->action = krule->action; in audit_krule_to_data() 711 a->action != b->action || in audit_compare_rule() 835 new->action = old->action; in audit_dupe_rule() 1107 static void audit_log_rule_change(char *action, struct audit_krule *rule, int res) in audit_log_rule_change() argument 1119 audit_log_format(ab, " op=%s", action); in audit_log_rule_change() 1390 if (e->rule.action == AUDIT_NEVER || listtype == AUDIT_FILTER_EXCLUDE) in audit_filter()
|
D | seccomp.c | 954 static inline void seccomp_log(unsigned long syscall, long signr, u32 action, in seccomp_log() argument 959 switch (action) { in seccomp_log() 994 audit_seccomp(syscall, signr, action); in seccomp_log() 1194 u32 filter_ret, action; in __seccomp_filter() local 1212 action = filter_ret & SECCOMP_RET_ACTION_FULL; in __seccomp_filter() 1214 switch (action) { in __seccomp_filter() 1280 seccomp_log(this_syscall, 0, action, true); in __seccomp_filter() 1295 seccomp_log(this_syscall, SIGSYS, action, true); in __seccomp_filter() 1297 if (action != SECCOMP_RET_KILL_THREAD || in __seccomp_filter() 1312 seccomp_log(this_syscall, 0, action, match ? match->log : false); in __seccomp_filter() [all …]
|
D | softirq.c | 617 h->action(h); in __do_softirq() 621 vec_nr, softirq_to_name[vec_nr], h->action, in __do_softirq() 767 void open_softirq(int nr, void (*action)(struct softirq_action *)) in open_softirq() 769 softirq_vec[nr].action = action; in open_softirq()
|
D | signal.c | 73 return t->sighand->action[sig - 1].sa.sa_handler; in sig_handler() 533 t->sighand->action[i].sa.sa_handler = SIG_IGN; in ignore_signals() 546 struct k_sigaction *ka = &t->sighand->action[0]; in flush_signal_handlers() 561 void __user *handler = tsk->sighand->action[sig-1].sa.sa_handler; in unhandled_signal() 1340 struct k_sigaction *action; in force_sig_info_to_task() local 1344 action = &t->sighand->action[sig-1]; in force_sig_info_to_task() 1345 ignored = action->sa.sa_handler == SIG_IGN; in force_sig_info_to_task() 1348 action->sa.sa_handler = SIG_DFL; in force_sig_info_to_task() 1350 action->sa.sa_flags |= SA_IMMUTABLE; in force_sig_info_to_task() 1360 if (action->sa.sa_handler == SIG_DFL && in force_sig_info_to_task() [all …]
|
D | hung_task.c | 344 unsigned long action, void *hcpu) in hungtask_pm_notify() argument 346 switch (action) { in hungtask_pm_notify()
|
/kernel/trace/ |
D | blktrace.c | 69 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() 1162 int tc = t->action >> BLK_TC_SHIFT; in fill_rwbs() 1164 if ((t->action & ~__BLK_TN_CGROUP) == BLK_TN_MESSAGE) { in fill_rwbs() 1216 return te_blk_io_trace(ent)->action; in t_action() 1498 what = (t->action & ((1 << BLK_TC_SHIFT) - 1)) & ~__BLK_TA_CGROUP; in print_one_line() 1501 has_cg = t->action & __BLK_TA_CGROUP; in print_one_line() 1503 if ((t->action & ~__BLK_TN_CGROUP) == BLK_TN_MESSAGE) { in print_one_line()
|
D | trace_events_hist.c | 602 enum action_id action; member 3347 struct action_data *action; in cond_snapshot_update() local 3353 action = track_data->action_data; in cond_snapshot_update() 3358 if (!action->track_data.check_val(track_data->track_val, track_val)) in cond_snapshot_update() 3405 if (data->action == ACTION_SNAPSHOT) in snapshot_action() 3417 struct action_data *action; in track_data_snapshot_print() local 3426 action = snapshot_action(hist_data); in track_data_snapshot_print() 3427 if (!action) in track_data_snapshot_print() 3432 action->handler == HANDLER_ONMAX ? "onmax" : "onchange", in track_data_snapshot_print() 3433 action->track_data.var_str, track_data->track_val); in track_data_snapshot_print() [all …]
|
/kernel/gcov/ |
D | gcov.h | 59 void gcov_event(enum gcov_action action, struct gcov_info *info);
|
D | fs.c | 838 void gcov_event(enum gcov_action action, struct gcov_info *info) in gcov_event() argument 844 switch (action) { in gcov_event()
|
/kernel/time/ |
D | timekeeping.c | 757 static void timekeeping_update(struct timekeeper *tk, unsigned int action) in timekeeping_update() argument 759 if (action & TK_CLEAR_NTP) { in timekeeping_update() 768 update_pvclock_gtod(tk, action & TK_CLOCK_WAS_SET); in timekeeping_update() 774 if (action & TK_CLOCK_WAS_SET) in timekeeping_update() 781 if (action & TK_MIRROR) in timekeeping_update()
|