函数逻辑报告 |
Source Code:mm\hmm.c |
Create Date:2022-07-27 18:12:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:hmm_vma_handle_pmd
函数原型:static int hmm_vma_handle_pmd(struct mm_walk *walk, unsigned long addr, unsigned long end, uint64_t *pfns, pmd_t pmd)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mm_walk * | walk | |
unsigned long | addr | |
unsigned long | end | |
uint64_t * | pfns | |
pmd_t | pmd |
218 | hmm_vma_walk等于private |
225 | cpu_flags等于pmd_to_hmm_pfn_flags(range, pmd) |
226 | hmm_range_need_fault(hmm_vma_walk, pfns, npages, cpu_flags, & fault, & write_fault) |
234 | 如果pmd_devmap(pmd)则 |
235 | pgmap等于get_dev_pagemap(pfn, pgmap) |
237 | 如果此条件成立可能性小(为编译器优化)(!pgmap)则返回:负EBUSY |
242 | 如果pgmap则 |
243 | put_dev_pagemap(pgmap) |
244 | pgmap = NULL |
247 | 返回:0 |
名称 | 描述 |
---|---|
hmm_vma_walk_pmd |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |