Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:swap_slot_free_notify

Proto:static void swap_slot_free_notify(struct page *page)

Type:void

Parameter:

TypeParameterName
struct page *page
85  If Value for the false possibility is greater at compile time(!PageSwapCache(page)) Then Return
88  sis = page_swap_info(page)
89  If Not (SWP_USED etc: see above & SWP_BLKDEV) Then Return
108  disk = bd_disk
109  val = page_private(page)
110  If swap_slot_free_notify && __swap_count(entry) == 1 Then
113  offset = Extract the `offset' field from a swp_entry_t. The swp_entry_t is in* arch-independent format
115  SetPageDirty(page)
116  swap_slot_free_notify(swap device or bdev of swap file , offset)
Caller
NameDescribe
end_swap_bio_read
swap_readpage