函数逻辑报告 |
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 |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
参数:
类型 | 参数 | 名称 |
---|---|---|
int | argc | |
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |