函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kdb_lsmod - This function implements the 'lsmod' command. Lists* currently loaded kernel modules.* Mostly taken from userland lsmod.

函数原型:static int kdb_lsmod(int argc, const char **argv)

返回类型:int

参数:

类型参数名称
intargc
const char **argv
2028  如果argc不等于0则返回:KDB_ARGCOUNT
2031  kdb_printf("Module Size modstruct Used by\n")
2033  如果state恒等于 Still setting it up. 则继续下一循环
2036  kdb_printf("%-20s%8u 0x%px ", Unique handle for this module , Total size. , (void * )mod)
2041  如果state恒等于 Going away. kdb_printf(" (Unloading)")
2043  否则如果state恒等于 Full formed, running module_init. kdb_printf(" (Loading)")
2045  否则kdb_printf(" (Live)")
2047  kdb_printf(" 0x%px", The actual code + data. )
2061  返回:0