Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Called when a swap device is swapon'd.

Proto:void __frontswap_init(unsigned type, unsigned long *map)

Type:void

Parameter:

TypeParameterName
unsignedtype
unsigned long *map
192  sis = swap_info[type]
195  VM_BUG_ON(sis == NULL)
201  If WARN_ON(!map) Then Return
208  frontswap_map_set(sis, map)
210  for_each_frontswap_ops(ops)
211  init(type)
Caller
NameDescribe
frontswap_init