函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\xarray.h Create Date:2022-07-27 06:43:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:static inline void *xa_mk_value(unsigned long v)

返回类型:void

参数:

类型参数名称
unsigned longv
54  WARN_ON((long)v < 0)
55  返回:v左移1位按位或1
调用者
名称描述
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
swp_to_radix_entry