Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:void xas_clear_mark(const struct xa_state *xas, xa_mark_t mark)

Type:void

Parameter:

TypeParameterName
const struct xa_state *xas
xa_mark_tmark
901  node = xa_node
902  offset = xa_offset
904  If 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. Then Return
907  When node cycle
908  If Not rns true if the bit was set Then Return
910  If node_any_mark(node, mark) Then Return
913  offset = Slot offset in parent
914  node = Private
917  If 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. Then xa_mark_clear(xa, mark)
Caller
NameDescribe
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