Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\panic.c Create Date:2022-07-28 08:59:44
Last Modify:2022-05-22 10:57:01 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:void add_taint(unsigned flag, enum lockdep_ok lockdep_ok)

Type:void

Parameter:

TypeParameterName
unsignedflag
enum lockdep_oklockdep_ok
433  If lockdep_ok == LOCKDEP_NOW_UNRELIABLE && __debug_locks_off() Then pr_warn("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
Caller
NameDescribe
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