函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched.h Create Date:2022-07-27 06:58:33
Last Modify:2021-07-28 10:30:23 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:task_index_to_char

函数原型:static inline char task_index_to_char(unsigned int state)

返回类型:char

参数:

类型参数名称
unsigned intstate
1431  state_char[]等于"RSDTtXZPI"
1433  BUILD_BUG_ON - break compile if a condition is true(1 + log2 - log base 2 of 32-bit or a 64-bit unsigned value*@n: parameter* constant-capable log of base 2 calculation* - this can be used to initialise global variables from constant data, hence* the massive ternary operator construction* selects the (TASK_REPORT_MAX) != state_char的长度 - 1)
1435  返回:state_char[state]
调用者
名称描述
trace_ctxwake_printTRACE_CTX an TRACE_WAKE
trace_ctxwake_raw
trace_ctxwake_hex
task_state_to_char