Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\module.c Create Date:2022-07-28 10:59:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Keep in sync with MODULE_FLAGS_BUF_SIZE !!!

Proto:static char *module_flags(struct module *mod, char *buf)

Type:char

Parameter:

TypeParameterName
struct module *mod
char *buf
4299  bx = 0
4301  BUG_ON(state == Still setting it up. )
4302  If same bits as kernel:taint_flags || state == Going away. || state == Full formed, running module_init. Then
4305  buf[bx++] = '('
4306  bx += module_flags_taint(mod, buf + bx)
4308  If state == Going away. Then buf[bx++] = '-'
4311  If state == Full formed, running module_init. Then buf[bx++] = '+'
4313  buf[bx++] = ')'
4315  buf[bx] = '\0'
4317  Return buf
Caller
NameDescribe
m_show
print_modulesDon't grab lock, we're oopsing.