Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:xas_find_conflict() - Find the next present entry in a range.*@xas: XArray operation state.* The @xas describes both a range and a position within that range.* Context: Any context. Expects xa_lock to be held.

Proto:void *xas_find_conflict(struct xa_state *xas)

Type:void

Parameter:

TypeParameterName
struct xa_state *xas
1240  If xas_error() - Return an errno stored in the xa_state.*@xas: XArray operation state.* Return: 0 if no error has been noted. A negative errno if one has. Then Return NULL
1243  If Not xa_node Then Return NULL
1246  If True if the node represents head-of-tree, RESTART or BOUNDS Then
1247  curr = Starts a walk. If the @xas is already valid, we assume that it's on* the right path and just return where we've got to. If we're in an* error state, return NULL. If the index is outside the current scope
1248  If Not curr Then Return NULL
1250  When Private cycle
1251  node = Private
1252  curr = xas_descend(xas, node)
1254  If curr Then Return curr
1258  If Bits remaining in each slot > xa_shift Then Return NULL
1261  cycle
1263  If (xa_offset & xa_sibs) == xa_sibs Then Break
1265  Else if xa_offset == XA_CHUNK_MASK Then
1267  xa_node = Private
1268  If Not xa_node Then Break
1270  Continue
1272  curr = Private
1273  If xa_is_sibling() - Is the entry a sibling entry?*@entry: Entry retrieved from the XArray* Return: %true if the entry is a sibling entry. Then Continue
1275  When Private cycle
1276  xa_node = Private
1277  xa_offset = 0
1278  curr = Private
1280  If curr Then Return curr
1283  xa_offset -= xa_sibs
1284  Return NULL
Caller
NameDescribe
xa_store_many_order