Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\test_xarray.c Create Date:2022-07-28 06:34:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:shadow_remove

Proto:static noinline void shadow_remove(struct xarray *xa)

Type:void

Parameter:

TypeParameterName
struct xarray *xa
1521  xa_lock(xa)
1522  When node = list_first_entry_or_null - get the first element from a list*@ptr: the list head to take the element from.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.( & shadow_nodes, structxa_node, private_list) cycle
1524  XA_STATE() - Declare an XArray operation state.*@name: Name of this operation state (usually xas).*@array: Array to operate on.*@index: Initial index of interest.* Declare and initialise an xa_state on the stack.(xas, The array we belong to , 0)
1525  XA_BUG_ON(xa, The array we belong to != xa)
1526  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
1527  xa_node = Private
1528  xa_offset = Slot offset in parent
1529  xa_shift = Bits remaining in each slot + The xarray is constructed out of a set of 'chunks' of pointers
1530  xas_set_update() - Set up XArray operation state for a callback.*@xas: XArray operation state.*@update: Function to call when updating a node.* The XArray can notify a caller after it has updated an xa_node.
1531  xas_store() - Store this entry in the XArray
1533  xa_unlock(xa)
Caller
NameDescribe
check_workingset