Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\xarray.h Create Date:2022-07-28 05:42:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:xas_set_err() - Note an error in the xa_state.*@xas: XArray operation state.*@err: Negative error number.* Only call this function with a negative @err; zero or positive errors* will probably not behave the way you think they should. If you want

Proto:static inline void xas_set_err(struct xa_state *xas, long err)

Type:void

Parameter:

TypeParameterName
struct xa_state *xas
longerr
1401  xa_node = We encode errnos in the xas->xa_node. If an error has happened, we need to* drop the lock to fix it, and once we've done so the xa_state is invalid.(err)
Caller
NameDescribe
xas_alloc
__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
check_create_range_3
__add_to_page_cache_locked
grab_mapping_entryFind page cache entry at given index. If it is a DAX entry, return it* with the entry locked. If the page cache doesn't contain an entry at* that index, add a locked empty entry.* When requesting an entry with size DAX_PMD, grab_mapping_entry() will