函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\include\match.h Create Date:2022-07-27 21:18:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:table_size

函数原型:static inline size_t table_size(size_t len, size_t el_size)

返回类型:size_t

参数:

类型参数名称
size_tlen
size_tel_size
117  返回:@a is a power of 2 value (sizeof(structtable_header) + len * el_size, 8)
调用者
名称描述
unpack_tablepack_table - unpack a dfa table (one of accept, default, base, next check)*@blob: data to unpack (NOT NULL)*@bsize: size of blob* Returns: pointer to table else NULL on failure* NOTE: must be freed by kvfree (not kfree)
aa_dfa_unpackaa_dfa_unpack - unpack the binary tables of a serialized dfa*@blob: aligned serialized stream of data to unpack (NOT NULL)*@size: size of data to unpack*@flags: flags controlling what type of accept tables are acceptable