函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:m_show

函数原型:static int m_show(struct seq_file *m, void *p)

返回类型:int

参数:

类型参数名称
struct seq_file *m
void *p
4340  mod等于list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(p, structmodule, list)
4345  如果state恒等于 Still setting it up. 则返回:0
4348  seq_printf(m, "%s %u", Unique handle for this module , Total size. + Total size. )
4350  print_unload_info(m, mod)
4353  seq_printf(m, " %s", state == Going away. ? "Unloading" : state == Full formed, running module_init. ? "Loading" : "Live")
4358  value等于如果privateNULL否则 The actual code + data.
4359  seq_printf(m, " 0x%px", value)
4362  如果 same bits as kernel:taint_flags seq_printf(m, " %s", Keep in sync with MODULE_FLAGS_BUF_SIZE !!! )
4365  seq_puts(m, "\n")
4366  返回:0