Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kallsyms.c Create Date:2022-07-28 11:00:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:static int update_iter_mod(struct kallsym_iter *iter, loff_t pos)

Type:int

Parameter:

TypeParameterName
struct kallsym_iter *iter
loff_tpos
541  pos = pos
543  If ( Not pos_arch_end || pos_arch_end > pos ) && get_ksymbol_arch(iter) Then Return 1
547  If ( Not pos_mod_end || pos_mod_end > pos ) && get_ksymbol_mod(iter) Then Return 1
551  If ( Not pos_ftrace_mod_end || pos_ftrace_mod_end > pos ) && get_ksymbol_ftrace_mod(iter) Then Return 1
555  Return get_ksymbol_bpf(iter)
Caller
NameDescribe
update_iterReturns false if pos at or past end of file.