函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Find the offset on the compressed stream given and index in the* kallsyms array.

函数原型:static unsigned int get_symbol_offset(unsigned long pos)

返回类型:unsigned int

参数:

类型参数名称
unsigned longpos
131  name等于kallsyms_names[kallsyms_markers[pos >> 8]]
139 i小于pos按位与0xFF的值循环name等于namename加1
142  返回:namekallsyms_names
调用者
名称描述
kallsyms_lookupLookup an address* - modname is set to NULL if it's in the kernel.* - We guarantee that the returned name is valid until we reschedule even if.* It resides in a module.* - We also guarantee that modname will be valid until rescheduled.
lookup_symbol_name
lookup_symbol_attrs
reset_iter