函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kallsyms_on_each_symbol

函数原型:int kallsyms_on_each_symbol(int (*fn)(void *, const char *, struct module *, unsigned long ), void *data)

返回类型:int

参数:

类型参数名称
int (*fn
void *data
188 i小于Tell the compiler that the count isn't in the small data section if the arch* has one (eg: FRV).循环
189  off等于Expand a compressed symbol data into the resulting uncompressed string,* if uncompressed string is too long (>= maxlen), it will be truncated,* given the offset to where the symbol is in the compressed stream.
190  ret等于fn(data, namebuf, NULL, kallsyms_sym_address(i))
191  如果ret不等于0则返回:ret
194  返回:module_kallsyms_on_each_symbol(fn, data)