Home
last modified time | relevance | path

Searched refs:hook (Results 1 – 17 of 17) sorted by relevance

/arch/arm64/kernel/
Ddebug-monitors.c190 void register_step_hook(struct step_hook *hook) in register_step_hook() argument
193 list_add_rcu(&hook->node, &step_hook); in register_step_hook()
197 void unregister_step_hook(struct step_hook *hook) in unregister_step_hook() argument
200 list_del_rcu(&hook->node); in unregister_step_hook()
213 struct step_hook *hook; in call_step_hook() local
218 list_for_each_entry_rcu(hook, &step_hook, node) { in call_step_hook()
219 retval = hook->fn(regs, esr); in call_step_hook()
278 void register_break_hook(struct break_hook *hook) in register_break_hook() argument
281 list_add_rcu(&hook->node, &break_hook); in register_break_hook()
285 void unregister_break_hook(struct break_hook *hook) in unregister_break_hook() argument
[all …]
Dtraps.c331 void register_undef_hook(struct undef_hook *hook) in register_undef_hook() argument
336 list_add(&hook->node, &undef_hook); in register_undef_hook()
340 void unregister_undef_hook(struct undef_hook *hook) in unregister_undef_hook() argument
345 list_del(&hook->node); in unregister_undef_hook()
351 struct undef_hook *hook; in call_undef_hook() local
381 list_for_each_entry(hook, &undef_hook, node) in call_undef_hook()
382 if ((instr & hook->instr_mask) == hook->instr_val && in call_undef_hook()
383 (regs->pstate & hook->pstate_mask) == hook->pstate_val) in call_undef_hook()
384 fn = hook->fn; in call_undef_hook()
Darmv8_deprecated.c69 struct undef_hook *hook; in register_emulation_hooks() local
73 for (hook = ops->hooks; hook->instr_mask; hook++) in register_emulation_hooks()
74 register_undef_hook(hook); in register_emulation_hooks()
81 struct undef_hook *hook; in remove_emulation_hooks() local
85 for (hook = ops->hooks; hook->instr_mask; hook++) in remove_emulation_hooks()
86 unregister_undef_hook(hook); in remove_emulation_hooks()
/arch/avr32/kernel/
Dtraps.c135 void register_undef_hook(struct undef_hook *hook) in register_undef_hook() argument
138 list_add(&hook->node, &undef_hook); in register_undef_hook()
142 void unregister_undef_hook(struct undef_hook *hook) in unregister_undef_hook() argument
145 list_del(&hook->node); in unregister_undef_hook()
189 struct undef_hook *hook; in do_illegal_opcode() local
221 list_for_each_entry(hook, &undef_hook, node) { in do_illegal_opcode()
222 if ((insn & hook->insn_mask) == hook->insn_val) { in do_illegal_opcode()
223 if (hook->fn(regs, insn) == 0) { in do_illegal_opcode()
/arch/arm64/include/asm/
Ddebug-monitors.h91 void register_step_hook(struct step_hook *hook);
92 void unregister_step_hook(struct step_hook *hook);
101 void register_break_hook(struct break_hook *hook);
102 void unregister_break_hook(struct break_hook *hook);
Dtraps.h34 void register_undef_hook(struct undef_hook *hook);
35 void unregister_undef_hook(struct undef_hook *hook);
/arch/avr32/include/asm/
Dtraps.h20 void register_undef_hook(struct undef_hook *hook);
21 void unregister_undef_hook(struct undef_hook *hook);
/arch/arm/include/asm/
Dtraps.h18 void register_undef_hook(struct undef_hook *hook);
19 void unregister_undef_hook(struct undef_hook *hook);
/arch/arm/kernel/
Dtraps.c381 void register_undef_hook(struct undef_hook *hook) in register_undef_hook() argument
386 list_add(&hook->node, &undef_hook); in register_undef_hook()
390 void unregister_undef_hook(struct undef_hook *hook) in unregister_undef_hook() argument
395 list_del(&hook->node); in unregister_undef_hook()
402 struct undef_hook *hook; in call_undef_hook() local
407 list_for_each_entry(hook, &undef_hook, node) in call_undef_hook()
408 if ((instr & hook->instr_mask) == hook->instr_val && in call_undef_hook()
409 (regs->ARM_cpsr & hook->cpsr_mask) == hook->cpsr_val) in call_undef_hook()
410 fn = hook->fn; in call_undef_hook()
/arch/blackfin/kernel/
Dipipe.c191 void (*hook)(void); in __ipipe_syscall_root() local
201 hook = (__typeof__(hook))__ipipe_irq_tail_hook; in __ipipe_syscall_root()
202 hook(); in __ipipe_syscall_root()
/arch/arm/mach-omap1/
Dams-delta-fiq-handler.S221 hksw: @Is hook switch interrupt requested?
222 tst r13, #HOOK_SWITCH_MASK @ is hook switch status bit set?
/arch/arm/boot/dts/
Dbcm911360_entphn.dts52 hook {
Drk3288-veyron-sdmmc.dtsi80 /* This is where we actually hook up CD */
/arch/arc/kernel/
Dentry.S175 ; PRE Sys Call Ptrace hook
188 ; Restore the sys-call args. Mere invocation of the hook abv could have
/arch/ia64/include/asm/sn/
Dsn_sal.h313 ia64_sn_plat_specific_err_print(int (*hook)(const char*, ...), char *rec) in ia64_sn_plat_specific_err_print()
321 SAL_CALL_REENTRANT(ret_stuff, SN_SAL_PRINT_ERROR, (u64)hook, (u64)rec, 0, 0, 0, 0, 0); in ia64_sn_plat_specific_err_print()
/arch/arm/common/
Dmcpm_head.S180 @ If a platform-specific CPU setup hook is needed, it is
/arch/m68k/ifpsp060/src/
Dfpsp.S4389 # supplied bsun hook.
4420 bra.l _real_bsun # branch to user bsun hook