函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lookup_symbol_attrs

函数原型:int lookup_symbol_attrs(unsigned long addr, unsigned long *size, unsigned long *offset, char *modname, char *name)

返回类型:int

参数:

类型参数名称
unsigned longaddr
unsigned long *size
unsigned long *offset
char *modname
char *name
337  name[0]等于'\0'
338  name[KSYM_NAME_LEN - 1]等于'\0'
340  如果is_ksym_addr(addr)则
343  pos等于get_symbol_pos(addr, size, offset)
345  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.
347  modname[0]等于'\0'
348  返回:0
351  返回:lookup_module_symbol_attrs(addr, size, offset, modname, name)