Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Find out how many pages are allowed for a single swap device

Proto:unsigned long generic_max_swapfile_size(void)

Type:unsigned long

Parameter:Nothing

2928  Return Extract the `offset' field from a swp_entry_t. The swp_entry_t is in* arch-independent format + 1
Caller
NameDescribe
max_swapfile_sizeCan be overridden by an architecture for additional checks.