函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kdb_walk_kallsyms

函数原型:const char *kdb_walk_kallsyms(loff_t *pos)

返回类型:char

参数:

类型参数名称
loff_t *pos
685  如果pos恒等于0则
686  memset( & kdb_walk_kallsyms_iter, 0, kdb_walk_kallsyms_iter的长度)
688  reset_iter( & kdb_walk_kallsyms_iter, 0)
690  当1循环
691  如果非Returns false if pos at or past end of file. 则返回:NULL
693  pos先自加
695  如果name[0]则返回:name
调用者
名称描述
kallsyms_symbol_completekallsyms_symbol_complete* Parameters:* prefix_name prefix of a symbol name to lookup* max_len maximum length that can be returned* Returns:* Number of symbols which match the given prefix
kallsyms_symbol_nextkallsyms_symbol_next* Parameters:* prefix_name prefix of a symbol name to lookup* flag 0 means search from the head, 1 means continue search.* buf_size maximum length that can be written to prefix_name* buffer* Returns: