函数逻辑报告 |
Source Code:mm\rmap.c |
Create Date:2022-07-27 16:25:34 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mm_find_pmd
函数原型:pmd_t *mm_find_pmd(struct mm_struct *mm, unsigned long address)
返回类型:pmd_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mm_struct * | mm | |
unsigned long | address |
740 | 如果非pgd_present( * pgd)则转到:out |
743 | p4d等于p4d_offset(pgd, address) |
744 | 如果非p4d_present( * p4d)则转到:out |
747 | pud等于pud_offset(p4d, address) |
748 | 如果非pud_present( * pud)则转到:out |
751 | pmd等于pmd_offset(pud, address) |
759 | 如果非pmd_present(pmde)或pmd_trans_huge(pmde)则pmd = NULL |
761 | out : |
762 | 返回:pmd |
名称 | 描述 |
---|---|
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 |
__collapse_huge_page_swapin | Bring missing pages in from swap, to complete THP collapse.* Only done if khugepaged_scan_pmd believes it is worthwhile.* Called and returns without pte mapped or spinlocks held,* but with mmap_sem held to protect against vma changes. |
collapse_huge_page | |
khugepaged_scan_pmd |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |