Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:m_show

Proto:static int m_show(struct seq_file *m, void *p)

Type:int

Parameter:

TypeParameterName
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  If state == Still setting it up. Then Return 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 = If private Then NULL Else The actual code + data.
4359  seq_printf(m, " 0x%px", value)
4362  If same bits as kernel:taint_flags Then seq_printf(m, " %s", Keep in sync with MODULE_FLAGS_BUF_SIZE !!! )
4365  seq_puts(m, "\n")
4366  Return 0