Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__frontswap_set

Proto:static inline void __frontswap_set(struct swap_info_struct *sis, unsigned long offset)

Type:void

Parameter:

TypeParameterName
struct swap_info_struct *sis
unsigned longoffset
227  Atomically set a bit in memory
228  atomic_inc( & swap pages in-use counter )
Caller
NameDescribe
__frontswap_store"Store" data from a page to frontswap and associate it with the page's* swaptype and offset