函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:check_align_1

函数原型:static void check_align_1(struct xarray *xa, char *name)

返回类型:void

参数:

类型参数名称
struct xarray *xa
char *name
1459 i小于8循环
1460  XA_BUG_ON(xa, xa_alloc(xa, & id, name + i, xa_limit_32b, GFP_KERNEL) != 0)
1462  XA_BUG_ON(xa, id != i)
1464  xa_for_each() - Iterate over present entries in an XArray.*@xa: XArray.*@index: Index of @entry.*@entry: Entry retrieved from array.* During the iteration, @entry will have the value of the entry stored* in @xa at @index(xa, index, entry)
1465  XA_BUG_ON(xa, xa_is_err() - Report whether an XArray operation returned an error*@entry: Result from calling an XArray function* If an XArray operation cannot complete an operation, it will return* a special value indicating an error. This function tells you)
1466  xa_destroy() - Free all internal data structures.*@xa: XArray.* After calling this function, the XArray is empty and has freed all memory* allocated for its internal data structures. You are responsible for* freeing the objects referenced by the XArray.
调用者
名称描述
check_align