Function report |
Source Code:include\linux\page-flags.h |
Create Date:2022-07-28 05:37:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:PageTransCompoundMap is the same as PageTransCompound, but it also* guarantees the primary MMU has the entire compound page mapped* through pmd_trans_huge, which in turn guarantees the secondary MMUs* can also map the entire compound page
Proto:static inline int PageTransCompoundMap(struct page *page)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page |
637 | If Not PageTransCompound returns true for both transparent huge pages* and hugetlbfs pages, so it should only be called when it's known* that hugetlbfs pages aren't involved. Then Return 0 |
640 | If PageAnon(page) Then Return atomic_read( & * If the page can be mapped to userspace, encodes the number * of times this page is referenced by a page table.) < 0 |
643 | head = compound_head(page) |
645 | Return atomic_read( & * If the page can be mapped to userspace, encodes the number * of times this page is referenced by a page table.) == atomic_read(compound_mapcount_ptr(head)) |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |