Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\dax.c Create Date:2022-07-28 20:23:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dax_unlock_page

Proto:void dax_unlock_page(struct page *page, dax_entry_t cookie)

Type:void

Parameter:

TypeParameterName
struct page *page
dax_entry_tcookie
438  mapping = See page-flags.h for PAGE_MAPPING_FLAGS
439  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, Our offset within mapping. )
441  If S_ISCHR(i_mode) Then Return
444  We used the xa_state to get the entry, but then we locked the entry and* dropped the xa_lock, so we know the xa_state is stale and must be reset* before use.