函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:void *xas_find_conflict(struct xa_state *xas)

返回类型:void

参数:

类型参数名称
struct xa_state *xas
1240  如果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.则返回:NULL
1243  如果非xa_node则返回:NULL
1246  如果True if the node represents head-of-tree, RESTART or BOUNDS
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  如果非curr则返回:NULL
1250 Private 循环
1251  node等于Private
1252  curr等于xas_descend(xas, node)
1254  如果curr则返回:curr
1258  如果Bits remaining in each slot 大于xa_shift则返回:NULL
1261  循环
1262  如果Bits remaining in each slot 恒等于xa_shift
1263  如果xa_offset按位与xa_sibs的值恒等于xa_sibs退出
1265  否则如果xa_offset恒等于XA_CHUNK_MASK
1267  xa_node等于Private
1268  如果非xa_node退出
1270  继续下一循环
1272  curr等于Private
1273  如果xa_is_sibling() - Is the entry a sibling entry?*@entry: Entry retrieved from the XArray* Return: %true if the entry is a sibling entry.则继续下一循环
1275 Private 循环
1276  xa_node等于Private
1277  xa_offset等于0
1278  curr等于Private
1280  如果curr则返回:curr
1283  xa_offset减等于xa_sibs
1284  返回:NULL
调用者
名称描述
xa_store_many_order
get_unlocked_entryLook up entry in page cache, wait for it to become unlocked if it* is a DAX entry and return it. The caller must subsequently call* put_unlocked_entry() if it did not lock the entry or dax_unlock_entry()* if it did