Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\include\match.h Create Date:2022-07-28 19:48:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:table_size

Proto:static inline size_t table_size(size_t len, size_t el_size)

Type:size_t

Parameter:

TypeParameterName
size_tlen
size_tel_size
117  Return @a is a power of 2 value (sizeof(structtable_header) + len * el_size, 8)
Caller
NameDescribe
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