函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\fs_parser.c Create Date:2022-07-29 10:44:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:lookup_constant - Look up a constant by name in an ordered table*@tbl: The table of constants to search.*@tbl_size: The size of the table.*@name: The name to look up.*@not_found: The value to return if the name is not found.

函数原型:int __lookup_constant(const struct constant_table *tbl, size_t tbl_size, const char *name, int not_found)

返回类型:int

参数:

类型参数名称
const struct constant_table *tbl
size_ttbl_size
const char *name
intnot_found
37 i小于tbl_size循环如果字符串比较恒等于0则
39  返回:value
41  返回:not_found