函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:If anyone needs this, please move it to xarray.c. We have no current* users outside the test suite because all current multislot users want* to use the advanced API.

函数原型:static void *xa_store_order(struct xarray *xa, unsigned long index, unsigned order, void *entry, gfp_t gfp)

返回类型:void

参数:

类型参数名称
struct xarray *xa
unsigned longindex
unsignedorder
void *entry
gfp_tgfp
71  XA_STATE_ORDER() - Declare an XArray operation state.*@name: Name of this operation state (usually xas).*@array: Array to operate on.*@index: Initial index of interest.*@order: Order of entry.* Declare and initialise an xa_state on the stack(xas, xa, index, order)
74  循环
75  xas_lock( & xas)
76  curr等于xas_store() - Store this entry in the XArray
77  xas_unlock( & xas)
78 xas_nomem() - Allocate memory if needed.*@xas: XArray operation state.*@gfp: Memory allocation flags.* If we need to add new nodes to the XArray, we try to allocate memory* with GFP_NOWAIT while holding the lock, which will usually succeed.循环
80  返回:curr
调用者
名称描述
check_xa_mark_1
check_xa_shrink
check_multi_store_1
check_multi_store_2
check_multi_store_3
check_multi_store
check_multi_find_1
check_multi_find_2
check_find_entry
check_accountCheck that the pointer / value / sibling entries are accounted the* way we expect them to be.
check_destroy