Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/lib/
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()
127 static inline struct bug_entry *module_find_bug(unsigned long bugaddr) in module_find_bug() argument
133 struct bug_entry *find_bug(unsigned long bugaddr) in find_bug() argument
138 if (bugaddr == bug_addr(bug)) in find_bug()
141 return module_find_bug(bugaddr); in find_bug()
144 enum bug_trap_type report_bug(unsigned long bugaddr, struct pt_regs *regs) in report_bug() argument
150 if (!is_valid_bugaddr(bugaddr)) in report_bug()
153 bug = find_bug(bugaddr); in report_bug()
195 __warn(file, line, (void *)bugaddr, BUG_GET_TAINT(bug), regs, in report_bug()
[all …]
/kernel/linux/linux-5.10/arch/sh/kernel/
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()
/kernel/linux/linux-5.10/include/linux/
Dbug.h39 struct bug_entry *find_bug(unsigned long bugaddr);
50 static inline void *find_bug(unsigned long bugaddr) in find_bug() argument
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dtraps.c1485 unsigned long bugaddr; in program_check_exception() local
1499 bugaddr = regs->nip; in program_check_exception()
1503 if (!is_kernel_addr(bugaddr) && !(regs->msr & MSR_IR)) in program_check_exception()
1504 bugaddr += PAGE_OFFSET; in program_check_exception()
1507 report_bug(bugaddr, regs) == BUG_TRAP_TYPE_WARN) { in program_check_exception()