函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:xas_clear_mark() - Clears the mark on this entry and its parents.*@xas: XArray operation state.*@mark: Mark number.* Clears the specified mark on this entry, and walks back to the head* attempting to clear it on all the ancestor entries. Does nothing if

函数原型:void xas_clear_mark(const struct xa_state *xas, xa_mark_t mark)

返回类型:void

参数:

类型参数名称
const struct xa_state *xas
xa_mark_tmark
901  node等于xa_node
902  offset等于xa_offset
904  如果xas_invalid() - Is the xas in a retry or error state?*@xas: XArray operation state.* Return: %true if the xas cannot be used for operations.则返回
907 node循环
908  如果非rns true if the bit was set 则返回
910  如果node_any_mark(node, mark)则返回
913  offset等于Slot offset in parent
914  node等于Private
917  如果xa_marked() - Inquire whether any entry in this array has a mark set*@xa: Array*@mark: Mark value* Context: Any context.* Return: %true if any entry has this mark set.xa_mark_clear(xa, mark)
调用者
名称描述
xas_init_marksxas_init_marks() - Initialise all marks for the entry*@xas: Array operations state
__xa_store__xa_store() - Store this entry in the XArray
__xa_cmpxchg__xa_cmpxchg() - Store this entry in the XArray
__xa_insert__xa_insert() - Store this entry in the XArray if no entry is present.*@xa: XArray.*@index: Index into array.*@entry: New entry.*@gfp: Memory allocation flags.* Inserting a NULL entry will store a reserved entry (like xa_reserve())* if no entry is present
__xa_alloc
__xa_clear_mark__xa_clear_mark() - Clear this mark on this entry while locked.*@xa: XArray.*@index: Index of entry.*@mark: Mark number.* Context: Any context. Expects xa_lock to be held on entry.
ida_alloc_rangeda_alloc_range() - Allocate an unused ID.*@ida: IDA handle.*@min: Lowest ID to allocate.*@max: Highest ID to allocate.*@gfp: Memory allocation flags.* Allocate an ID between @min and @max, inclusive. The allocated ID will
__test_set_page_writeback
memfd_wait_for_pinsSetting SEAL_WRITE requires us to verify there's no pending writer. However,* via get_user_pages(), drivers might have some pending I/O without any active* user-space mappings (eg., direct-IO, AIO). Therefore, we look at all pages
dax_writeback_one
__xa_alloc__xa_alloc() - Find somewhere to store this entry in the XArray