函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\module.c Create Date:2022-07-27 12:00:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Keep in sync with MODULE_FLAGS_BUF_SIZE !!!

函数原型:static char *module_flags(struct module *mod, char *buf)

返回类型:char

参数:

类型参数名称
struct module *mod
char *buf
4299  bx等于0
4301  BUG_ON(state == Still setting it up. )
4302  如果 same bits as kernel:taint_flags state恒等于 Going away. state恒等于 Full formed, running module_init.
4305  buf[bx++]等于'('
4306  bx加等于module_flags_taint(mod, buf + bx)
4308  如果state恒等于 Going away. buf[bx++]等于'-'
4311  如果state恒等于 Full formed, running module_init. buf[bx++]等于'+'
4313  buf[bx++]等于')'
4315  buf[bx]等于'\0'
4317  返回:buf
调用者
名称描述
m_show
print_modulesDon't grab lock, we're oopsing.