函数逻辑报告 |
Source Code:mm\rmap.c |
Create Date:2022-07-27 16:26:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:page_remove_rmap - take down pte mapping from a page*@page: page to remove mapping from*@compound: uncharge the page as compound or small page* The caller needs to hold the pte lock.
函数原型:void page_remove_rmap(struct page *page, bool compound)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page | |
bool | compound |
1329 | 如果非PageAnon(page)则返回:page_remove_file_rmap(page, compound) |
1332 | 如果compound则返回:page_remove_anon_compound_rmap(page) |
1336 | 如果非atomic_add_negative( - 1, & * If the page can be mapped to userspace, encodes the number * of times this page is referenced by a page table.)则返回 |
名称 | 描述 |
---|---|
zap_pte_range | |
wp_page_copy | Handle the case of a page which we actually need to copy to a new page.* Called with mmap_sem locked and the old page referenced, but* without the ptl held.* High level logic flow:* - Allocate a page, copy the content of the old page to the new one. |
try_to_unmap_one | @arg: enum ttu_flags will be passed to this argument |
__unmap_hugepage_range | |
hugetlb_cow | Hugetlb_cow() should be called with page lock of the original hugepage held.* Called with hugetlb_instantiation_mutex held and pte_page locked so we* cannot race with other handlers or page migration. |
replace_page | place_page - replace page in vma by new ksm page*@vma: vma that holds the pte pointing to page*@page: the page we are replacing by kpage*@kpage: the ksm page we replace page by*@orig_pte: the original value of the pte |
do_huge_pmd_wp_page_fallback | |
do_huge_pmd_wp_page | |
zap_huge_pmd | |
__split_huge_pmd_locked | |
__collapse_huge_page_copy | |
__replace_page | __replace_page - replace page in vma by new page |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |