函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:The end position (last + 1) of each additional kallsyms section is recorded* in iter->pos_..._end as each section is added, and so can be used to* determine which get_ksymbol_...() function to call next.

函数原型:static int update_iter_mod(struct kallsym_iter *iter, loff_t pos)

返回类型:int

参数:

类型参数名称
struct kallsym_iter *iter
loff_tpos
541  pos等于pos
543  如果非pos_arch_endpos_arch_end大于pos的值且get_ksymbol_arch(iter)则返回:1
547  如果非pos_mod_endpos_mod_end大于pos的值且get_ksymbol_mod(iter)则返回:1
551  如果非pos_ftrace_mod_endpos_ftrace_mod_end大于pos的值且get_ksymbol_ftrace_mod(iter)则返回:1
555  返回:get_ksymbol_bpf(iter)
调用者
名称描述
update_iterReturns false if pos at or past end of file.