函数逻辑报告 |
Source Code:mm\memory-failure.c |
Create Date:2022-07-27 17:53:08 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:dev_pagemap_mapping_shift
函数原型:static unsigned long dev_pagemap_mapping_shift(struct page *page, struct vm_area_struct *vma)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page | |
struct vm_area_struct * | vma |
267 | address等于vma_address(page, vma) |
275 | 如果非pgd_present( * pgd)则返回:0 |
277 | p4d等于p4d_offset(pgd, address) |
278 | 如果非p4d_present( * p4d)则返回:0 |
280 | pud等于pud_offset(p4d, address) |
281 | 如果非pud_present( * pud)则返回:0 |
283 | 如果pud_devmap( * pud)则返回:PUD_SHIFT |
285 | pmd等于pmd_offset(pud, address) |
286 | 如果非pmd_present( * pmd)则返回:0 |
288 | 如果pmd_devmap( * pmd)则返回:PMD_SHIFT |
290 | pte等于pte_offset_map(pmd, address) |
291 | 如果非pte_present( * pte)则返回:0 |
293 | 如果pte_devmap( * pte)则返回:PAGE_SHIFT determines the page size |
295 | 返回:0 |
名称 | 描述 |
---|---|
add_to_kill | Schedule a process for later kill.* Uses GFP_ATOMIC allocations to avoid potential recursions in the VM. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |