Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:s an entry in zswap

Proto:static void zswap_frontswap_invalidate_page(unsigned type, unsigned long offset)

Type:void

Parameter:

TypeParameterName
unsignedtype
unsigned longoffset
1180  tree = zswap_trees[type]
1184  spin_lock( & lock)
1185  entry = ree functions
1186  If Not entry Then
1188  spin_unlock( & lock)
1189  Return
1193  zswap_rb_erase( & rbroot, entry)
1196  aller must hold the tree lock* remove from the tree and free it, if nobody reference the entry
1198  spin_unlock( & lock)