函数逻辑报告

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

函数名称:print_tainted - return a string to represent the kernel taint state.* For individual taint flag meanings, see Documentation/admin-guide/sysctl/kernel.rst* The string is overwritten by the next call to print_tainted(),* but is always NULL terminated.

函数原型:const char *print_tainted(void)

返回类型:char

参数:

393  BUILD_BUG_ON - break compile if a condition is true(ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(TAINT_FORCED_RMMOD could be a per-module flag but the module* is being removed anyway.) != TAINT_FLAGS_COUNT)
395  如果tainted_mask
399  s等于buf输出格式化串
400 i小于TAINT_FLAGS_COUNT循环
405  s等于0
406  否则snprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@
409  返回:buf
调用者
名称描述
print_kernel_ident
debug_rt_mutex_print_deadlock
check_hung_task
dump_stack_print_infodump_stack_print_info - print generic debug info for dump_stack()*@log_lvl: log level* Arch-specific dump_stack() implementations can use this function to* print out the same debug information as the generic dump_stack().