函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\panic.c Create Date:2022-07-27 09:59:16
Last Modify:2022-05-22 10:57:01 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:add_taint: add a taint flag if not already set.*@flag: one of the TAINT_* constants.*@lockdep_ok: whether lock debugging is still OK.* If something bad has gone wrong, you'll want @lockdebug_ok = false, but for

函数原型:void add_taint(unsigned flag, enum lockdep_ok lockdep_ok)

返回类型:void

参数:

类型参数名称
unsignedflag
enum lockdep_oklockdep_ok
433  如果lockdep_ok恒等于LOCKDEP_NOW_UNRELIABLE__debug_locks_off()则打印警告信息("Disabling lock debugging due to kernel taint\n")
436  set_bit - Atomically set a bit in memory*@nr: the bit to set*@addr: the address to start counting from* This is a relaxed atomic operation (no implied memory barriers).* Note that @nr may be almost arbitrarily large; this function is not
调用者
名称描述
intel_workarounds
init_amd_k7
__mc_scan_banks
winchip_machine_checkMachine check handler for WinChip C6:
pentium_machine_checkMachine check handler for Pentium class Intel CPUs:
generic_get_mtrr
__warn
proc_taint
param_check_unsafe
__schedule_bugPrint scheduling while atomic bug:
add_taint_module
check_module_license_and_versions
print_bad_pteThis function is called to print an error when a bad pte* is found. For example, we might have a PFN-mapped pte in* a region that doesn't allow it.* The calling function must still handle the error.
bad_page
end_report
oops_end
unaccount_page_cache_page