Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:frontswap_test

Proto:static inline bool frontswap_test(struct swap_info_struct *sis, unsigned long offset)

Type:bool

Parameter:

TypeParameterName
struct swap_info_struct *sis
unsigned longoffset
50  Return __frontswap_test(sis, offset)
Caller
NameDescribe
unuse_pte_range
find_next_to_unuseScan swap_map (or frontswap_map if frontswap parameter is true)* from current position to next entry still in use. Return 0* if there are no inuse entries after prev till end of the map.