函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Regular page slots are stabilized by the page lock even without the tree* itself locked. These unlocked entries need verification under the tree* lock.

函数原型:static inline void __clear_shadow_entry(struct address_space *mapping, unsigned long index, void *entry)

返回类型:void

参数:

类型参数名称
struct address_space *mapping
unsigned longindex
void *entry
37  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, & i_pages, index)
39  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.
40  如果xas_load() - Load an entry from the XArray (advanced).*@xas: XArray operation state.* Usually walks the @xas to the appropriate state to load the entry* stored at xa_index. However, it will do nothing and return %NULL if*@xas is in an error state不等于entry则返回
42  xas_store() - Store this entry in the XArray
43  nrexceptional自减
调用者
名称描述
clear_shadow_entry
truncate_exceptional_pvec_entriesUnconditionally remove exceptional entries. Usually called from truncate* path. Note that the pagevec may be altered by this function by removing* exceptional entries similar to what pagevec_remove_exceptionals does.