Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:xa_to_value() - Get value stored in an XArray entry.*@entry: XArray entry.* Context: Any context.* Return: The value stored in the XArray entry.

Proto:static inline unsigned long xa_to_value(const void *entry)

Type:unsigned long

Parameter:

TypeParameterName
const void *entry
67  Return entry >> 1
Caller
NameDescribe
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
ida_freeda_free() - Release an allocated ID.*@ida: IDA handle.*@id: Previously allocated ID.* Context: Any context.
check_xa_load
unpack_shadow
dax_to_pfn
dax_is_locked
dax_entry_order
dax_is_pmd_entry
dax_is_pte_entry
dax_is_zero_entry
dax_is_empty_entry
dax_lock_entryReturn: The entry stored at this location before it was locked.
dax_insert_entryBy this point grab_mapping_entry() has ensured that we have a locked entry* of the appropriate size so we don't have to worry about downgrading PMDs to* PTEs