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

Proto:const char *print_tainted(void)

Type:char

Parameter:Nothing

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  If tainted_mask Then
399  s = buf + sprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@fmt: The format string to use*@...: Arguments for the format string* The function returns the number of characters written* into @buf
400  When i < TAINT_FLAGS_COUNT cycle
405  s = 0
406  Else 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  Return buf
Caller
NameDescribe
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().