函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dax_unlock_page

函数原型:void dax_unlock_page(struct page *page, dax_entry_t cookie)

返回类型:void

参数:

类型参数名称
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  如果S_ISCHR(i_mode)则返回
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.