Home
last modified time | relevance | path

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

/linux/lib/
H 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 static 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/
H A Dtraps.c95 unsigned long bugaddr = regs->pc; in handle_BUG() local
98 if (!is_valid_bugaddr(bugaddr)) in handle_BUG()
101 bug = find_bug(bugaddr); in handle_BUG()
107 tt = report_bug(bugaddr, regs); in handle_BUG()
109 regs->pc += instruction_size(bugaddr); in handle_BUG()
/linux/include/linux/
H 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/
H A Dtraps.c1492 unsigned long bugaddr; in do_program_check() local
1506 bugaddr = regs->nip; in do_program_check()
1510 if (!is_kernel_addr(bugaddr) && !(regs->msr & MSR_IR)) in do_program_check()
1511 bugaddr += PAGE_OFFSET; in do_program_check()
1514 report_bug(bugaddr, regs) == BUG_TRAP_TYPE_WARN) { in do_program_check()