Home
last modified time | relevance | path

Searched refs:handler (Results 1 – 25 of 211) sorted by relevance

123456789

/arch/arm/probes/uprobes/
Dactions-arm.c195 [PROBES_PRELOAD_IMM] = {.handler = probes_simulate_nop},
196 [PROBES_PRELOAD_REG] = {.handler = probes_simulate_nop},
197 [PROBES_BRANCH_IMM] = {.handler = simulate_blx1},
198 [PROBES_MRS] = {.handler = simulate_mrs},
199 [PROBES_BRANCH_REG] = {.handler = simulate_blx2bx},
200 [PROBES_CLZ] = {.handler = probes_simulate_nop},
201 [PROBES_SATURATING_ARITHMETIC] = {.handler = probes_simulate_nop},
202 [PROBES_MUL1] = {.handler = probes_simulate_nop},
203 [PROBES_MUL2] = {.handler = probes_simulate_nop},
204 [PROBES_SWP] = {.handler = probes_simulate_nop},
[all …]
/arch/arm/probes/kprobes/
Dactions-arm.c298 [PROBES_PRELOAD_IMM] = {.handler = probes_simulate_nop},
299 [PROBES_PRELOAD_REG] = {.handler = probes_simulate_nop},
300 [PROBES_BRANCH_IMM] = {.handler = simulate_blx1},
301 [PROBES_MRS] = {.handler = simulate_mrs},
302 [PROBES_BRANCH_REG] = {.handler = simulate_blx2bx},
303 [PROBES_CLZ] = {.handler = emulate_rd12rm0_noflags_nopc},
305 .handler = emulate_rd12rn16rm0_rwflags_nopc},
306 [PROBES_MUL1] = {.handler = emulate_rdlo12rdhi16rn0rm8_rwflags_nopc},
307 [PROBES_MUL2] = {.handler = emulate_rd16rn12rm0rs8_rwflags_nopc},
308 [PROBES_SWP] = {.handler = emulate_rd12rn16rm0_rwflags_nopc},
[all …]
Dactions-thumb.c621 [PROBES_T16_ADD_SP] = {.handler = t16_simulate_add_sp_imm},
622 [PROBES_T16_CBZ] = {.handler = t16_simulate_cbz},
623 [PROBES_T16_SIGN_EXTEND] = {.handler = t16_emulate_loregs_rwflags},
626 [PROBES_T16_SEV] = {.handler = probes_emulate_none},
627 [PROBES_T16_WFE] = {.handler = probes_simulate_nop},
629 [PROBES_T16_CMP] = {.handler = t16_emulate_loregs_rwflags},
630 [PROBES_T16_ADDSUB] = {.handler = t16_emulate_loregs_noitrwflags},
631 [PROBES_T16_LOGICAL] = {.handler = t16_emulate_loregs_noitrwflags},
632 [PROBES_T16_LDR_LIT] = {.handler = t16_simulate_ldr_literal},
633 [PROBES_T16_BLX] = {.handler = t16_simulate_bxblx},
[all …]
Dactions-common.c130 probes_insn_handler_t *handler = 0; in kprobe_decode_ldmstm() local
137 handler = emulate_generic_r0_12_noflags; in kprobe_decode_ldmstm()
143 handler = emulate_generic_r2_14_noflags; in kprobe_decode_ldmstm()
150 handler = emulate_ldm_r3_15; in kprobe_decode_ldmstm()
154 if (handler) { in kprobe_decode_ldmstm()
158 asi->insn_handler = handler; in kprobe_decode_ldmstm()
164 handler = is_ldm ? simulate_ldm1_pc : simulate_stm1_pc; in kprobe_decode_ldmstm()
166 handler = simulate_ldm1stm1; in kprobe_decode_ldmstm()
167 asi->insn_handler = handler; in kprobe_decode_ldmstm()
/arch/powerpc/sysdev/
Dpmi.c29 struct list_head handler; member
102 struct pmi_handler *handler; in pmi_notify_handlers() local
105 list_for_each_entry(handler, &data->handler, node) { in pmi_notify_handlers()
106 pr_debug("pmi: notifying handler %p\n", handler); in pmi_notify_handlers()
107 if (handler->type == data->msg.type) in pmi_notify_handlers()
108 handler->handle_pmi_message(data->msg); in pmi_notify_handlers()
138 INIT_LIST_HEAD(&data->handler); in pmi_of_probe()
178 struct pmi_handler *handler, *tmp; in pmi_of_remove() local
185 list_for_each_entry_safe(handler, tmp, &data->handler, node) in pmi_of_remove()
186 list_del(&handler->node); in pmi_of_remove()
[all …]
/arch/arm64/kernel/probes/
Ddecode-insn.c86 api->handler = simulate_b_cond; in arm_probe_decode_insn()
89 api->handler = simulate_cbz_cbnz; in arm_probe_decode_insn()
92 api->handler = simulate_tbz_tbnz; in arm_probe_decode_insn()
94 api->handler = simulate_adr_adrp; in arm_probe_decode_insn()
97 api->handler = simulate_b_bl; in arm_probe_decode_insn()
101 api->handler = simulate_br_blr_ret; in arm_probe_decode_insn()
103 api->handler = simulate_ldr_literal; in arm_probe_decode_insn()
105 api->handler = simulate_ldrsw_literal; in arm_probe_decode_insn()
/arch/m68k/atari/
Dstdma.c68 int stdma_try_lock(irq_handler_t handler, void *data) in stdma_try_lock() argument
79 stdma_isr = handler; in stdma_try_lock()
103 void stdma_lock(irq_handler_t handler, void *data) in stdma_lock() argument
108 wait_event(stdma_wait, stdma_try_lock(handler, data)); in stdma_lock()
147 int stdma_is_locked_by(irq_handler_t handler) in stdma_is_locked_by() argument
153 result = stdma_locked && (stdma_isr == handler); in stdma_is_locked_by()
/arch/sh/drivers/dma/
Ddmabrg.c69 void (*handler)(void *); member
75 dmabrg_handlers[i].handler(dmabrg_handlers[i].data); in dmabrg_call_handler()
125 int dmabrg_request_irq(unsigned int dmairq, void(*handler)(void*), in dmabrg_request_irq()
128 if ((dmairq > 9) || !handler) in dmabrg_request_irq()
130 if (dmabrg_handlers[dmairq].handler) in dmabrg_request_irq()
133 dmabrg_handlers[dmairq].handler = handler; in dmabrg_request_irq()
145 dmabrg_handlers[dmairq].handler = NULL; in dmabrg_free_irq()
/arch/mips/lib/
Dmemcpy.S115 #define EXC(insn, type, reg, addr, handler) \ argument
119 PTR_WD 9b, handler; \
128 PTR_WD 9b, handler; \
149 #define LOAD(reg, addr, handler) EXC(ld, LD_INSN, reg, addr, handler) argument
150 #define LOADL(reg, addr, handler) EXC(ldl, LD_INSN, reg, addr, handler) argument
151 #define LOADR(reg, addr, handler) EXC(ldr, LD_INSN, reg, addr, handler) argument
152 #define STOREL(reg, addr, handler) EXC(sdl, ST_INSN, reg, addr, handler) argument
153 #define STORER(reg, addr, handler) EXC(sdr, ST_INSN, reg, addr, handler) argument
154 #define STORE(reg, addr, handler) EXC(sd, ST_INSN, reg, addr, handler) argument
186 #define LOAD(reg, addr, handler) EXC(lw, LD_INSN, reg, addr, handler) argument
[all …]
/arch/um/include/shared/
Dirq_kern.h17 irq_handler_t handler, unsigned long irqflags,
56 irq_handler_t handler, unsigned long irqflags,
63 irq_handler_t handler, unsigned long irqflags, in um_request_irq_tt() argument
68 return um_request_irq(irq, fd, type, handler, irqflags, in um_request_irq_tt()
/arch/m68k/mac/
Diop.c142 void (*handler)(struct iop_msg *); member
270 iop_listeners[IOP_NUM_SCC][i].handler = NULL; in iop_init()
272 iop_listeners[IOP_NUM_ISM][i].handler = NULL; in iop_init()
309 void (*handler)(struct iop_msg *), in iop_listen()
314 if (iop_listeners[iop_num][chan].handler && handler) return -EINVAL; in iop_listen()
316 iop_listeners[iop_num][chan].handler = handler; in iop_listen()
394 if (msg->handler) (*msg->handler)(msg); in iop_handle_send()
417 msg->handler = iop_listeners[iop_num][chan].handler; in iop_handle_recv()
432 if (msg->handler) { in iop_handle_recv()
433 (*msg->handler)(msg); in iop_handle_recv()
[all …]
/arch/powerpc/kvm/
Dbook3s_rtas.c117 void (*handler)(struct kvm_vcpu *vcpu, struct rtas_args *args); member
123 { .name = "ibm,set-xive", .handler = kvm_rtas_set_xive },
124 { .name = "ibm,get-xive", .handler = kvm_rtas_get_xive },
125 { .name = "ibm,int-off", .handler = kvm_rtas_int_off },
126 { .name = "ibm,int-on", .handler = kvm_rtas_int_on },
132 struct rtas_handler *handler; member
149 if (rtas_name_matches(d->handler->name, name)) { in rtas_token_undefine()
190 d->handler = h; in rtas_token_define()
263 d->handler->handler(vcpu, &args); in kvmppc_rtas_hcall()
/arch/microblaze/kernel/
Dunwind.c198 const struct trap_handler_info *handler = in microblaze_unwind_inner() local
213 for (; handler->start_addr; ++handler) { in microblaze_unwind_inner()
214 if ((return_to >= handler->start_addr) in microblaze_unwind_inner()
215 && (return_to <= handler->end_addr)) { in microblaze_unwind_inner()
217 printk("%s%s\n", loglvl, handler->trap_name); in microblaze_unwind_inner()
/arch/mips/cavium-octeon/
DKconfig37 bool "Lock the TLB handler in L2"
44 bool "Lock the exception handler in L2"
48 Lock the low level exception handler into L2.
51 bool "Lock the interrupt handler in L2"
55 Lock the low level interrupt handler into L2.
58 bool "Lock the 2nd level interrupt handler in L2"
62 Lock the 2nd level interrupt handler in L2.
/arch/mips/kernel/
Dr4k-bugs64.c186 void *handler; in check_daddi() local
192 handler = set_except_vector(EXCCODE_OV, handle_daddi_ov); in check_daddi()
216 set_except_vector(EXCCODE_OV, handler); in check_daddi()
227 handler = set_except_vector(EXCCODE_OV, handle_daddi_ov); in check_daddi()
234 set_except_vector(EXCCODE_OV, handler); in check_daddi()
Dsignal32.c47 s32 handler; variable
51 err |= __get_user(handler, &act->sa_handler);
52 new_ka.sa.sa_handler = (void __user *)(s64)handler;
/arch/powerpc/include/asm/
Dkexec.h83 extern int crash_shutdown_register(crash_shutdown_t handler);
84 extern int crash_shutdown_unregister(crash_shutdown_t handler);
161 static inline int crash_shutdown_register(crash_shutdown_t handler) in crash_shutdown_register() argument
166 static inline int crash_shutdown_unregister(crash_shutdown_t handler) in crash_shutdown_unregister() argument
/arch/m68k/ifpsp060/
Dfskeleton.S71 | is present. The routine below should point to the operating system handler
83 bral trap | jump to trap handler
90 | is present. The routine below should point to the operating system handler
102 bral trap | jump to trap handler
108 | is present. The routine below should point to the operating system handler
121 bral trap | jump to trap handler
127 | is present. The routine below should point to the operating system handler
140 bral trap | jump to trap handler
146 | is present. The routine below should point to the operating system handler
159 bral trap | jump to trap handler
[all …]
/arch/riscv/kvm/
Dvcpu_sbi_base.c72 .handler = kvm_sbi_ext_base_handler,
91 .handler = kvm_sbi_ext_forward_handler,
97 .handler = kvm_sbi_ext_forward_handler,
/arch/powerpc/platforms/pseries/
Devent_sources.c12 irq_handler_t handler, in request_event_sources_irqs() argument
25 rc = request_irq(virq, handler, 0, name, NULL); in request_event_sources_irqs()
/arch/alpha/kernel/
Dirq_alpha.c217 init_rtc_irq(irq_handler_t handler) in init_rtc_irq() argument
221 if (!handler) in init_rtc_irq()
222 handler = rtc_timer_interrupt; in init_rtc_irq()
223 if (request_irq(RTC_IRQ, handler, 0, "timer", NULL)) in init_rtc_irq()
/arch/m68k/fpsp040/
Dx_bsun.S4 | fpsp_bsun --- FPSP handler for branch/set on unordered exception
8 | The real_bsun handler will need to perform further corrective
/arch/mips/sgi-ip22/
Dip22-int.c281 struct irq_chip *handler; in arch_init_irq() local
284 handler = &ip22_local0_irq_type; in arch_init_irq()
286 handler = &ip22_local1_irq_type; in arch_init_irq()
288 handler = &ip22_local2_irq_type; in arch_init_irq()
290 handler = &ip22_local3_irq_type; in arch_init_irq()
292 irq_set_chip_and_handler(i, handler, handle_level_irq); in arch_init_irq()
/arch/xtensa/kernel/
Dtraps.c84 void* handler; member
438 #define set_handler(type, cause, handler) \ argument
443 per_cpu(exc_table, cpu).type[cause] = (handler);\
449 __init trap_set_handler(int cause, xtensa_exception_handler *handler) in trap_set_handler() argument
453 set_handler(default_handler, cause, handler); in trap_set_handler()
502 void *handler = dispatch_init_table[i].handler; in trap_init() local
505 set_handler(default_handler, cause, handler); in trap_init()
507 set_handler(fast_user_handler, cause, handler); in trap_init()
509 set_handler(fast_kernel_handler, cause, handler); in trap_init()
/arch/m68k/kernel/
Dints.c75 void __init m68k_setup_auto_interrupt(void (*handler)(unsigned int, struct pt_regs *)) in m68k_setup_auto_interrupt()
77 if (handler) in m68k_setup_auto_interrupt()
78 *auto_irqhandler_fixup = (u32)handler; in m68k_setup_auto_interrupt()

123456789