Home
last modified time | relevance | path

Searched refs:old_handler (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/arch/powerpc/kexec/
Dcrash.c117 int (*old_handler)(struct pt_regs *regs); in crash_kexec_prepare_cpus() local
168 old_handler = __debugger; in crash_kexec_prepare_cpus()
189 __debugger = old_handler; in crash_kexec_prepare_cpus()
354 int (*old_handler)(struct pt_regs *regs); in default_machine_crash_shutdown() local
373 old_handler = __debugger_fault_handler; in default_machine_crash_shutdown()
390 __debugger_fault_handler = old_handler; in default_machine_crash_shutdown()
/linux-6.6.21/arch/mips/dec/prom/
Dmemory.c33 char old_handler[0x80]; in pmax_setup_memory_region() local
37 memcpy(&old_handler, (void *)(CKSEG0 + 0x80), 0x80); in pmax_setup_memory_region()
50 memcpy((void *)(CKSEG0 + 0x80), &old_handler, 0x80); in pmax_setup_memory_region()
/linux-6.6.21/tools/testing/selftests/powerpc/
Dutils.c625 struct sigaction old_handler; in push_signal_handler() local
630 FAIL_IF_EXIT_MSG(sigaction(sig, &sa, &old_handler), in push_signal_handler()
633 return old_handler; in push_signal_handler()
636 struct sigaction pop_signal_handler(int sig, struct sigaction old_handler) in pop_signal_handler() argument
640 FAIL_IF_EXIT_MSG(sigaction(sig, &old_handler, &popped), in pop_signal_handler()
/linux-6.6.21/arch/sh/kernel/
Dtraps_32.c755 void *old_handler; in set_exception_table_vec() local
757 old_handler = exception_handling_table[vec]; in set_exception_table_vec()
759 return old_handler; in set_exception_table_vec()
/linux-6.6.21/tools/testing/selftests/powerpc/include/
Dutils.h116 struct sigaction pop_signal_handler(int sig, struct sigaction old_handler);
/linux-6.6.21/arch/mips/kernel/
Dtraps.c2022 unsigned long old_handler; in set_except_vector() local
2035 old_handler = xchg(&exception_handlers[n], handler); in set_except_vector()
2055 return (void *)old_handler; in set_except_vector()
2067 unsigned long old_handler = vi_handlers[n]; in set_vi_srs_handler() local
2158 return (void *)old_handler; in set_vi_srs_handler()