函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kallsyms_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:

函数原型:int kallsyms_symbol_next(char *prefix_name, int flag, int buf_size)

返回类型:int

参数:

类型参数名称
char *prefix_name
intflag
intbuf_size
232  prefix_len等于strlen - Find the length of a string*@s: The string to be sized
236  如果非flagpos等于0
239 name等于kdb_walk_kallsyms( & pos)循环
240  如果非字符串指定长度比较则返回:strscpy - Copy a C-string into a sized buffer*@dest: Where to copy the string to*@src: Where to copy the string from*@count: Size of destination buffer* Copy the string, or as much of it as fits, into the dest buffer. The
243  返回:0
调用者
名称描述
kdb_readkdb_read* This function reads a string of characters, terminated by* a newline, or by reaching the end of the supplied buffer,* from the current kernel debugger console device.* Parameters:* Returns:* Returns a pointer to the buffer containing the received