Home
last modified time | relevance | path

Searched refs:bugaddr (Results 1 – 4 of 4) sorted by relevance

/linux/lib/
A Dbug.c67 static struct bug_entry *module_find_bug(unsigned long bugaddr) in module_find_bug() argument
78 if (bugaddr == bug_addr(bug)) in module_find_bug()
124 static inline struct bug_entry *module_find_bug(unsigned long bugaddr) in module_find_bug() argument
146 struct bug_entry *find_bug(unsigned long bugaddr) in find_bug() argument
151 if (bugaddr == bug_addr(bug)) in find_bug()
154 return module_find_bug(bugaddr); in find_bug()
157 enum bug_trap_type report_bug(unsigned long bugaddr, struct pt_regs *regs) in report_bug() argument
163 if (!is_valid_bugaddr(bugaddr)) in report_bug()
166 bug = find_bug(bugaddr); in report_bug()
199 __warn(file, line, (void *)bugaddr, BUG_GET_TAINT(bug), regs, in report_bug()
[all …]
/linux/arch/sh/kernel/
A Dtraps.c93 unsigned long bugaddr = regs->pc; in handle_BUG() local
96 if (!is_valid_bugaddr(bugaddr)) in handle_BUG()
99 bug = find_bug(bugaddr); in handle_BUG()
105 tt = report_bug(bugaddr, regs); in handle_BUG()
107 regs->pc += instruction_size(bugaddr); in handle_BUG()
/linux/include/linux/
A Dbug.h42 struct bug_entry *find_bug(unsigned long bugaddr);
53 static inline void *find_bug(unsigned long bugaddr) in find_bug() argument
/linux/arch/powerpc/kernel/
A Dtraps.c1472 unsigned long bugaddr; in do_program_check() local
1486 bugaddr = regs->nip; in do_program_check()
1490 if (!is_kernel_addr(bugaddr) && !(regs->msr & MSR_IR)) in do_program_check()
1491 bugaddr += PAGE_OFFSET; in do_program_check()
1494 report_bug(bugaddr, regs) == BUG_TRAP_TYPE_WARN) { in do_program_check()
1497 entry = search_exception_tables(bugaddr); in do_program_check()
1499 regs_set_return_ip(regs, extable_fixup(entry) + regs->nip - bugaddr); in do_program_check()

Completed in 15 milliseconds