Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\zswap.c Create Date:2022-07-28 15:22:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pool functions

Proto:static struct zswap_pool *__zswap_pool_current(void)

Type:struct zswap_pool

Parameter:Nothing

436  pool = list_first_or_null_rcu - get the first element from a list*@ptr: the list head to take the element from.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.( & RCU-protected iteration , typeof( * pool), list)
437  WARN_ONCE(!pool && it completed, but couldn't create the initial pool , "%s: no page storage pool!\n", __func__)
440  Return pool
Caller
NameDescribe
zswap_pool_current
zswap_pool_current_get