| 函数逻辑报告 | 
| Source Code: kernel\panic.c | Create Date:2022-07-27 09:59:16 | 
| Last Modify:2022-05-22 10:57:01 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称: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
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| unsigned | flag | |
| enum lockdep_ok | lockdep_ok | 
| 433 | 如果lockdep_ok恒等于LOCKDEP_NOW_UNRELIABLE且__debug_locks_off()则打印警告信息("Disabling lock debugging due to kernel taint\n") | 
| 名称 | 描述 | 
|---|---|
| intel_workarounds | |
| init_amd_k7 | |
| __mc_scan_banks | |
| winchip_machine_check | Machine check handler for WinChip C6: | 
| pentium_machine_check | Machine check handler for Pentium class Intel CPUs: | 
| generic_get_mtrr | |
| __warn | |
| proc_taint | |
| param_check_unsafe | |
| __schedule_bug | Print scheduling while atomic bug: | 
| add_taint_module | |
| check_module_license_and_versions | |
| print_bad_pte | This 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 | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |