函数逻辑报告 |
Source Code:mm\hmm.c |
Create Date:2022-07-27 18:12:43 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:hmm_vma_walk_pmd
函数原型:static int hmm_vma_walk_pmd(pmd_t *pmdp, unsigned long start, unsigned long end, struct mm_walk *walk)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
pmd_t * | pmdp | |
unsigned long | start | |
unsigned long | end | |
struct mm_walk * | walk |
373 | hmm_vma_walk等于private |
380 | again : |
385 | 如果thp_migration_supported()且is_pmd_migration_entry(pmd)则 |
394 | hmm_range_need_fault(hmm_vma_walk, pfns, npages, 0, & fault, & write_fault) |
396 | 如果fault或write_fault则 |
401 | 返回:0 |
402 | 否则如果非pmd_present(pmd)则返回:hmm_pfns_fill(start, end, range, corresponding CPU page table entry points to poisoned memory) |
405 | 如果pmd_devmap(pmd)或pmd_trans_huge(pmd)则 |
415 | pmd等于pmd_read_atomic(pmdp) |
417 | 如果非pmd_devmap(pmd)且非pmd_trans_huge(pmd)则转到:again |
430 | 如果pmd_bad(pmd)则返回:hmm_pfns_fill(start, end, range, corresponding CPU page table entry points to poisoned memory) |
433 | ptep等于pte_offset_map(pmdp, addr) |
445 | 如果pgmap则 |
452 | put_dev_pagemap(pgmap) |
453 | pgmap = NULL |
458 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |