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_init_marks() - Initialise all marks for the entry*@xas: Array operations state

Proto:void xas_init_marks(const struct xa_state *xas)

Type:void

Parameter:

TypeParameterName
const struct xa_state *xas
935  mark = 0
937  cycle
938  If xa_track_free(xa) && mark == XA_FREE_MARK Then xas_set_mark() - Sets the mark on this entry and its parents.*@xas: XArray operation state.*@mark: Mark number.* Sets the specified mark on this entry, and walks up the tree setting it* on all the ancestor entries
940  Else 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
942  If mark == XA_MARK_MAX Then Break
944  mark_inc(mark)
Caller
NameDescribe
xas_storexas_store() - Store this entry in the XArray
xa_destroyxa_destroy() - Free all internal data structures.*@xa: XArray.* After calling this function, the XArray is empty and has freed all memory* allocated for its internal data structures. You are responsible for* freeing the objects referenced by the XArray.
check_xa_mark_2