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_mk_value() - Create an XArray entry from an integer.*@v: Value to store in XArray.* Context: Any context.* Return: An entry suitable for storing in the XArray.

Proto:static inline void *xa_mk_value(unsigned long v)

Type:void

Parameter:

TypeParameterName
unsigned longv
54  WARN_ON((long)v < 0)
55  Return v << 1 | 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.
xa_mk_index
check_xa_err
check_xas_retry
check_xa_shrink
check_cmpxchg
check_reserve
check_xas_erase
check_multi_store_2
check_multi_store
check_multi_find_1
check_move_small
check_workingset
pack_shadow
dax_make_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