Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:zswap_entry_cache_alloc

Proto:static struct zswap_entry *zswap_entry_cache_alloc(gfp_t gfp)

Type:struct zswap_entry

Parameter:

TypeParameterName
gfp_tgfp
251  entry = kmem_cache_alloc(zswap entry functions, gfp)
252  If Not entry Then Return NULL
254  the number of outstanding reference to the entry. This is needed = 1
255  RB_CLEAR_NODE( & links the entry into red-black tree for the appropriate swap type)
256  Return entry
Caller
NameDescribe
zswap_frontswap_storeattempts to compress and store an single page