/kernel/ |
D | reboot.c | 321 struct sys_off_handler *handler; in sys_off_notify() local 324 handler = container_of(nb, struct sys_off_handler, nb); in sys_off_notify() 325 data.cb_data = handler->cb_data; in sys_off_notify() 329 return handler->sys_off_cb(&data); in sys_off_notify() 336 struct sys_off_handler *handler; in alloc_sys_off_handler() local 344 handler = &platform_sys_off_handler; in alloc_sys_off_handler() 345 if (handler->cb_data) in alloc_sys_off_handler() 353 handler = kzalloc(sizeof(*handler), flags); in alloc_sys_off_handler() 354 if (!handler) in alloc_sys_off_handler() 358 return handler; in alloc_sys_off_handler() [all …]
|
D | signal.c | 76 static inline bool sig_handler_ignored(void __user *handler, int sig) in sig_handler_ignored() argument 79 return handler == SIG_IGN || in sig_handler_ignored() 80 (handler == SIG_DFL && sig_kernel_ignore(sig)); in sig_handler_ignored() 85 void __user *handler; in sig_task_ignored() local 87 handler = sig_handler(t, sig); in sig_task_ignored() 94 handler == SIG_DFL && !(force && sig_kernel_only(sig))) in sig_task_ignored() 99 (handler == SIG_KTHREAD_KERNEL) && !force)) in sig_task_ignored() 102 return sig_handler_ignored(handler, sig); in sig_task_ignored() 561 void __user *handler = tsk->sighand->action[sig-1].sa.sa_handler; in unhandled_signal() local 565 if (handler != SIG_IGN && handler != SIG_DFL) in unhandled_signal() [all …]
|
D | kprobes.c | 2050 if (rp && rp->handler) { in __kretprobe_trampoline_handler() 2055 rp->handler(ri, regs); in __kretprobe_trampoline_handler() 2149 if (WARN_ON_ONCE(!data) || !rp->handler) in kretprobe_rethook_handler() 2157 rp->handler(ri, regs); in kretprobe_rethook_handler()
|
/kernel/trace/ |
D | rethook.c | 66 rcu_assign_pointer(rh->handler, NULL); in rethook_stop() 88 return (rethook_handler_t)rcu_dereference_check(rh->handler, in rethook_get_handler() 101 struct rethook *rethook_alloc(void *data, rethook_handler_t handler) in rethook_alloc() argument 105 if (!rh || !handler) { in rethook_alloc() 111 rcu_assign_pointer(rh->handler, handler); in rethook_alloc() 151 rethook_handler_t handler; in rethook_recycle() local 153 handler = rethook_get_handler(node->rethook); in rethook_recycle() 154 if (likely(handler)) in rethook_recycle() 170 rethook_handler_t handler = rethook_get_handler(rh); in rethook_try_get() local 174 if (unlikely(!handler)) in rethook_try_get() [all …]
|
D | trace_boot.c | 248 char *end, const char *handler, in trace_boot_hist_add_one_handler() argument 262 append_printf(bufp, end, ":%s(%s)", handler, p); in trace_boot_hist_add_one_handler() 302 const char *p, *handler; in trace_boot_hist_add_handlers() local 305 handler = xbc_node_get_data(hnode); in trace_boot_hist_add_handlers() 312 ret = trace_boot_hist_add_one_handler(node, bufp, end, handler, param); in trace_boot_hist_add_handlers() 318 ret = trace_boot_hist_add_one_handler(hnode, bufp, end, handler, param); in trace_boot_hist_add_handlers()
|
D | trace_events_hist.c | 601 enum handler_id handler; member 1214 if (data->handler == HANDLER_ONMATCH) { in find_match_var() 3432 action->handler == HANDLER_ONMAX ? "onmax" : "onchange", in track_data_snapshot_print() 3462 if (data->handler == HANDLER_ONMAX) in track_data_print() 3464 else if (data->handler == HANDLER_ONCHANGE) in track_data_print() 3574 if (data->handler == HANDLER_ONMAX) in track_data_create() 3582 if (data->handler == HANDLER_ONCHANGE) in track_data_create() 3644 enum handler_id handler) in action_parse() argument 3676 if (handler == HANDLER_ONMAX) in action_parse() 3678 else if (handler == HANDLER_ONCHANGE) in action_parse() [all …]
|
D | trace_kprobe.c | 87 return tk->rp.handler != NULL; in trace_kprobe_is_return() 285 tk->rp.handler = kretprobe_dispatcher; in alloc_trace_kprobe()
|
/kernel/irq/ |
D | devres.c | 52 irq_handler_t handler, irq_handler_t thread_fn, in devm_request_threaded_irq() argument 67 rc = request_threaded_irq(irq, handler, thread_fn, irqflags, devname, in devm_request_threaded_irq() 100 irq_handler_t handler, unsigned long irqflags, in devm_request_any_context_irq() argument 114 rc = request_any_context_irq(irq, handler, irqflags, devname, dev_id); in devm_request_any_context_irq() 220 irq_flow_handler_t handler) in devm_irq_alloc_generic_chip() argument 227 irq_base, reg_base, handler); in devm_irq_alloc_generic_chip()
|
D | manage.c | 1079 action->handler == irq_forced_secondary_handler) in irq_finalize_oneshot() 1370 if (new->handler == irq_default_primary_handler) in irq_setup_forced_threading() 1380 if (new->handler && new->thread_fn) { in irq_setup_forced_threading() 1385 new->secondary->handler = irq_forced_secondary_handler; in irq_setup_forced_threading() 1393 new->thread_fn = new->handler; in irq_setup_forced_threading() 1394 new->handler = irq_default_primary_handler; in irq_setup_forced_threading() 1536 new->handler = irq_nested_primary_handler; in __setup_irq() 1697 } else if (new->handler == irq_default_primary_handler && in __setup_irq() 1955 action->handler(irq, dev_id); in __free_irq() 2139 int request_threaded_irq(unsigned int irq, irq_handler_t handler, in request_threaded_irq() argument [all …]
|
D | generic-chip.c | 220 void __iomem *reg_base, irq_flow_handler_t handler) in irq_init_generic_chip() argument 227 gc->chip_types->handler = handler; in irq_init_generic_chip() 243 void __iomem *reg_base, irq_flow_handler_t handler) in irq_alloc_generic_chip() argument 250 handler); in irq_alloc_generic_chip() 287 irq_flow_handler_t handler, in __irq_alloc_domain_generic_chips() argument 328 NULL, handler); in __irq_alloc_domain_generic_chips() 429 irq_domain_set_info(d, virq, hw_irq, chip, gc, ct->handler, NULL, NULL); in irq_map_generic_chip() 503 irq_set_chip_and_handler(i, chip, ct->handler); in irq_setup_generic_chip() 527 irq_data_to_desc(d)->handle_irq = ct->handler; in irq_setup_alt_chip()
|
D | debug.h | 27 desc->action->handler, desc->action->handler); in print_irq_desc()
|
D | handle.c | 158 res = action->handler(irq, action->dev_id); in __handle_irq_event_percpu() 162 irq, action->handler)) in __handle_irq_event_percpu()
|
D | Kconfig | 50 # Edge style eoi based handler (cell) 145 Allow to specify the low level IRQ handler at run time.
|
D | spurious.c | 216 printk(KERN_ERR "[<%p>] %ps", action->handler, action->handler); in __report_bad_irq()
|
D | internals.h | 401 void __iomem *reg_base, irq_flow_handler_t handler); 406 void __iomem *reg_base, irq_flow_handler_t handler) { } in irq_init_generic_chip() argument
|
D | chip.c | 34 .handler = bad_chained_irq, 767 res = action->handler(irq, action->dev_id); in handle_fasteoi_nmi() 945 res = action->handler(irq, raw_cpu_ptr(action->percpu_dev_id)); in handle_percpu_devid_irq() 980 res = action->handler(irq, raw_cpu_ptr(action->percpu_dev_id)); in handle_percpu_devid_fasteoi_nmi()
|
D | irqdomain.c | 1414 void *chip_data, irq_flow_handler_t handler, in irq_domain_set_info() argument 1418 __irq_set_handler(virq, handler, 0, handler_name); in irq_domain_set_info() 1928 void *chip_data, irq_flow_handler_t handler, in irq_domain_set_info() argument 1931 irq_set_chip_and_handler_name(virq, chip, handler, handler_name); in irq_domain_set_info()
|
D | msi.c | 608 if (info->handler && info->handler_name) { in msi_domain_ops_init() 609 __irq_set_handler(virq, info->handler, 0, info->handler_name); in msi_domain_ops_init()
|
/kernel/time/ |
D | tick-oneshot.c | 62 void (*handler)(struct clock_event_device *), in tick_setup_oneshot() 65 newdev->event_handler = handler; in tick_setup_oneshot() 73 int tick_switch_to_oneshot(void (*handler)(struct clock_event_device *)) in tick_switch_to_oneshot() 95 dev->event_handler = handler; in tick_switch_to_oneshot()
|
D | tick-internal.h | 101 void (*handler)(struct clock_event_device *), 105 extern int tick_switch_to_oneshot(void (*handler)(struct clock_event_device *)); 115 void (*handler)(struct clock_event_device *), in tick_setup_oneshot()
|
D | tick-common.c | 211 void (*handler)(struct clock_event_device *) = NULL; in tick_setup_device() local 248 handler = td->evtdev->event_handler; in tick_setup_device() 275 tick_setup_oneshot(newdev, handler, next_event); in tick_setup_device()
|
/kernel/power/ |
D | poweroff.c | 33 .handler = handle_poweroff,
|
/kernel/events/ |
D | uprobes.c | 1145 if (!uc->handler && !uc->ret_handler) in __uprobe_register() 2082 if (uc->handler) { in handler_chain() 2083 rc = uc->handler(uc, regs); in handler_chain() 2085 "bad rc=0x%x from %ps()\n", rc, uc->handler); in handler_chain()
|
/kernel/debug/ |
D | debug_core.c | 990 .handler = sysrq_handle_dbg,
|
/kernel/rcu/ |
D | tree_stall.h | 1029 .handler = sysrq_show_rcu,
|