Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\migrate.c Create Date:2022-07-28 15:58:21
Last Modify:2022-05-20 09:53:13 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:expected_page_refs

Proto:static int expected_page_refs(struct address_space *mapping, struct page *page)

Type:int

Parameter:

TypeParameterName
struct address_space *mapping
struct page *page
376  expected_count = 1
382  expected_count += is_device_private_page(page)
383  If mapping Then expected_count += hpage_nr_pages(page) + page_has_private - Determine if page has private stuff*@page: The page to be checked* Determine if a page has private stuff, indicating that release routines* should be invoked upon it.
386  Return expected_count
Caller
NameDescribe
migrate_page_move_mappingReplace the page in the mapping.* The number of remaining references must be:* 1 for anonymous pages without a mapping* 2 for pages with a mapping* 3 for pages with a mapping and PagePrivate/PagePrivate2 set.
__buffer_migrate_page