Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:page_hstate

Proto:static inline struct hstate *page_hstate(struct page *page)

Type:struct hstate

Parameter:

TypeParameterName
struct page *page
548  VM_BUG_ON_PAGE(!PageHuge() only returns true for hugetlbfs pages, but not for normal or* transparent huge pages. See the PageTransHuge() documentation for more* details., page)
549  Return size_to_hstate(Returns the number of bytes in this potentially compound page. )
Caller
NameDescribe
new_non_cma_page
page_vma_mapped_walkpage_vma_mapped_walk - check if @pvmw->page is mapped in @pvmw->vma at*@pvmw->address*@pvmw: pointer to struct page_vma_mapped_walk. page, vma, address and flags* must be set. pmd, pte and ptl must be NULL.* Returns true if the page is mapped in the vma
has_unmovable_pagesThis function checks whether pageblock includes unmovable pages or not.* If @count is not zero, it is okay to include less @count unmovable pages* PageLRU check without isolation or lru_lock could race so that
__free_huge_page
dissolve_free_huge_pageDissolve a given free hugepage into free buddy pages. This function does* nothing for in-use hugepages and non-hugepages.* This function returns values like below:* -EBUSY: failed to dissolved free hugepages or the hugepage is in-use
putback_active_hugepage
move_hugetlb_state
alloc_new_node_pagepage allocation callback for NUMA node migration
new_pageAllocate a new page for page migration based on vma policy
copy_huge_page
unmap_and_move_huge_pageCounterpart of unmap_and_move_page() for hugepage migration
hugetlb_cgroup_migratehugetlb_lock will make sure a parallel cgroup rmdir won't happen* when we migrate hugepages
memory_failure_hugetlb