Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:compound_mapcount_ptr

Proto:static inline atomic_t *compound_mapcount_ptr(struct page *page)

Type:atomic_t

Parameter:

TypeParameterName
struct page *page
226  Return compound_mapcount
Caller
NameDescribe
page_mappedReturn true if this page is mapped into pagetables.* For compound page it returns true if any subpage of compound page is mapped.
__page_mapcountSlow path of page_mapcount() for compound pages
do_page_add_anon_rmapSpecial version of the above for do_swap_page, which often runs* into pages that are exclusively owned by the current process.* Everybody else should continue to use page_add_anon_rmap above.
page_add_new_anon_rmappage_add_new_anon_rmap - add pte mapping to a new anonymous page*@page: the page to add the mapping to*@vma: the vm area in which the mapping is added*@address: the user virtual address mapped*@compound: charge the page as compound or small page
page_add_file_rmappage_add_file_rmap - add pte mapping to a file page*@page: the page to add the mapping to*@compound: charge the page as compound or small page* The caller needs to hold the pte lock.
page_remove_file_rmap
page_remove_anon_compound_rmap
hugepage_add_anon_rmapThe following two functions are for anonymous (private mapped) hugepages.* Unlike common anonymous pages, anonymous hugepages have no accounting code* and no lru code, because we handle hugepages differently from common pages.
hugepage_add_new_anon_rmap
prep_compound_page
prep_compound_gigantic_page
__split_huge_pmd_locked