Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:has_usable_swap

Proto:bool has_usable_swap(void)

Type:bool

Parameter:Nothing

2506  bool ret = true
2508  spin_lock( & swap_lock)
2509  If plist_head_empty - return !0 if a plist_head is empty*@head: &struct plist_head pointer Then ret = false
2511  spin_unlock( & swap_lock)
2512  Return ret
Caller
NameDescribe
__reenable_swap_slots_cache