/kernel/irq/ |
D | manage.c | 191 struct irqaction *action; in irq_set_thread_affinity() local 193 for_each_action_of_desc(desc, action) in irq_set_thread_affinity() 194 if (action->thread) in irq_set_thread_affinity() 195 set_bit(IRQTF_AFFINITY, &action->thread_flags); in irq_set_thread_affinity() 847 if (!desc->action || in can_request_irq() 848 irqflags & desc->action->flags & IRQF_SHARED) in can_request_irq() 953 static int irq_wait_for_interrupt(struct irqaction *action) in irq_wait_for_interrupt() argument 961 &action->thread_flags)) { in irq_wait_for_interrupt() 970 &action->thread_flags)) { in irq_wait_for_interrupt() 984 struct irqaction *action) in irq_finalize_oneshot() argument [all …]
|
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 | 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 | chip.c | 465 struct irqaction *action; in handle_nested_irq() local 474 action = desc->action; in handle_nested_irq() 475 if (unlikely(!action || irqd_irq_disabled(&desc->irq_data))) { in handle_nested_irq() 485 for_each_action_of_desc(desc, action) in handle_nested_irq() 486 action_ret |= action->thread_fn(action->irq, action->dev_id); in handle_nested_irq() 521 if (desc->action && desc->action->name) in irq_may_run() 522 name = desc->action->name; in irq_may_run() 565 if (unlikely(!desc->action || irqd_irq_disabled(&desc->irq_data))) { in handle_simple_irq() 602 if (unlikely(!desc->action || irqd_irq_disabled(&desc->irq_data))) { in handle_untracked_irq() 662 if (unlikely(!desc->action || irqd_irq_disabled(&desc->irq_data))) { in handle_level_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 | 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 | 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 | irqdesc.c | 249 struct irqaction *action; in actions_show() local 254 for (action = desc->action; action != NULL; action = action->next) { in actions_show() 256 p, action->name); in actions_show()
|
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()
|
/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 | 102 enum pm_qos_req_action action, int value) in pm_qos_update_target() argument 115 switch (action) { in pm_qos_update_target() 140 trace_pm_qos_update_target(action, prev_value, curr_value); in pm_qos_update_target() 179 enum pm_qos_req_action action, s32 val) in pm_qos_update_flags() argument 188 switch (action) { in pm_qos_update_flags() 210 trace_pm_qos_update_flags(action, prev_value, curr_value); in pm_qos_update_flags() 248 enum pm_qos_req_action action, s32 value) in cpu_latency_qos_apply() argument 250 int ret = pm_qos_update_target(req->qos, &req->node, action, value); in cpu_latency_qos_apply() 497 enum pm_qos_req_action action, s32 value) in freq_qos_apply() argument 504 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 | 258 if (unlikely(rule->action == AUDIT_POSSIBLE)) { in audit_to_entry_common() 262 if (rule->action != AUDIT_NEVER && rule->action != AUDIT_ALWAYS) in audit_to_entry_common() 274 entry->rule.action = rule->action; in audit_to_entry_common() 638 data->action = krule->action; in audit_krule_to_data() 703 a->action != b->action || in audit_compare_rule() 827 new->action = old->action; in audit_dupe_rule() 1098 static void audit_log_rule_change(char *action, struct audit_krule *rule, int res) in audit_log_rule_change() argument 1110 audit_log_format(ab, " op=%s", action); in audit_log_rule_change() 1381 if (e->rule.action == AUDIT_NEVER || listtype == AUDIT_FILTER_EXCLUDE) in audit_filter()
|
D | seccomp.c | 964 static inline void seccomp_log(unsigned long syscall, long signr, u32 action, in seccomp_log() argument 969 switch (action) { in seccomp_log() 1004 audit_seccomp(syscall, signr, action); in seccomp_log() 1161 u32 filter_ret, action; in __seccomp_filter() local 1179 action = filter_ret & SECCOMP_RET_ACTION_FULL; in __seccomp_filter() 1181 switch (action) { in __seccomp_filter() 1247 seccomp_log(this_syscall, 0, action, true); in __seccomp_filter() 1262 seccomp_log(this_syscall, SIGSYS, action, true); in __seccomp_filter() 1264 if (action != SECCOMP_RET_KILL_THREAD || in __seccomp_filter() 1274 if (action == SECCOMP_RET_KILL_THREAD) in __seccomp_filter() [all …]
|
D | softirq.c | 305 h->action(h); in __do_softirq() 309 vec_nr, softirq_to_name[vec_nr], h->action, in __do_softirq() 498 void open_softirq(int nr, void (*action)(struct softirq_action *)) in open_softirq() 500 softirq_vec[nr].action = action; in open_softirq()
|
D | signal.c | 72 return t->sighand->action[sig - 1].sa.sa_handler; in sig_handler() 532 t->sighand->action[i].sa.sa_handler = SIG_IGN; in ignore_signals() 545 struct k_sigaction *ka = &t->sighand->action[0]; in flush_signal_handlers() 560 void __user *handler = tsk->sighand->action[sig-1].sa.sa_handler; in unhandled_signal() 1317 struct k_sigaction *action; in force_sig_info_to_task() local 1321 action = &t->sighand->action[sig-1]; in force_sig_info_to_task() 1322 ignored = action->sa.sa_handler == SIG_IGN; in force_sig_info_to_task() 1325 action->sa.sa_handler = SIG_DFL; in force_sig_info_to_task() 1335 if (action->sa.sa_handler == SIG_DFL && !t->ptrace) in force_sig_info_to_task() 1659 p->sighand->action[sig - 1].sa.sa_handler = SIG_DFL; in force_sigsegv() [all …]
|
D | hung_task.c | 260 unsigned long action, void *hcpu) in hungtask_pm_notify() argument 262 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() 293 t->action = what; in __blk_add_trace() 1216 int tc = t->action >> BLK_TC_SHIFT; in fill_rwbs() 1218 if ((t->action & ~__BLK_TN_CGROUP) == BLK_TN_MESSAGE) { in fill_rwbs() 1270 return te_blk_io_trace(ent)->action; in t_action() 1552 what = (t->action & ((1 << BLK_TC_SHIFT) - 1)) & ~__BLK_TA_CGROUP; in print_one_line() 1555 has_cg = t->action & __BLK_TA_CGROUP; in print_one_line() 1557 if ((t->action & ~__BLK_TN_CGROUP) == BLK_TN_MESSAGE) { in print_one_line()
|
D | trace_events_hist.c | 404 enum action_id action; member 2868 struct action_data *action; in cond_snapshot_update() local 2874 action = track_data->action_data; in cond_snapshot_update() 2879 if (!action->track_data.check_val(track_data->track_val, track_val)) in cond_snapshot_update() 2925 if (data->action == ACTION_SNAPSHOT) in snapshot_action() 2937 struct action_data *action; in track_data_snapshot_print() local 2946 action = snapshot_action(hist_data); in track_data_snapshot_print() 2947 if (!action) in track_data_snapshot_print() 2952 action->handler == HANDLER_ONMAX ? "onmax" : "onchange", in track_data_snapshot_print() 2953 action->track_data.var_str, track_data->track_val); in track_data_snapshot_print() [all …]
|
/kernel/gcov/ |
D | gcov.h | 58 void gcov_event(enum gcov_action action, struct gcov_info *info);
|
D | fs.c | 728 void gcov_event(enum gcov_action action, struct gcov_info *info) in gcov_event() argument 734 switch (action) { in gcov_event()
|
/kernel/time/ |
D | timekeeping.c | 737 static void timekeeping_update(struct timekeeper *tk, unsigned int action) in timekeeping_update() argument 739 if (action & TK_CLEAR_NTP) { in timekeeping_update() 748 update_pvclock_gtod(tk, action & TK_CLOCK_WAS_SET); in timekeeping_update() 754 if (action & TK_CLOCK_WAS_SET) in timekeeping_update() 761 if (action & TK_MIRROR) in timekeeping_update()
|