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_pause() - Pause a walk to drop a lock.*@xas: XArray operation state.* Some users need to pause a walk and drop the lock they're holding in* order to yield to a higher priority thread or carry out an operation* on an entry

Proto:void xas_pause(struct xa_state *xas)

Type:void

Parameter:

TypeParameterName
struct xa_state *xas
966  node = xa_node
968  If xas_invalid() - Is the xas in a retry or error state?*@xas: XArray operation state.* Return: %true if the xas cannot be used for operations. Then Return
971  xa_node = XAS_RESTART
972  If node Then
973  offset = xa_offset
974  When ++offset < XA_CHUNK_SIZE cycle
978  xa_index += offset - xa_offset << Bits remaining in each slot
979  If xa_index == 0 Then xa_node = XAS_BOUNDS
981  Else
982  xa_index++
Caller
NameDescribe
xa_find_entrySee find_swap_entry() in mm/shmem.c
check_move_max
memfd_tag_pins
memfd_wait_for_pinsSetting SEAL_WRITE requires us to verify there's no pending writer. However,* via get_user_pages(), drivers might have some pending I/O without any active* user-space mappings (eg., direct-IO, AIO). Therefore, we look at all pages
dax_writeback_mapping_rangeFlush the mapping to the persistent domain within the byte range of [start,* end]. This is required by data integrity operations to ensure file data is* on persistent storage prior to completion of the operation.