函数逻辑报告 |
Source Code:mm\page_vma_mapped.c |
Create Date:2022-07-27 16:23:27 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:page_mapped_in_vma - check whether a page is really mapped in a VMA*@page: the page to test*@vma: the VMA to test* Returns 1 if the page is mapped into the page tables of the VMA, 0* if the page is not mapped into the page tables of this VMA. Only
函数原型:int page_mapped_in_vma(struct page *page, struct vm_area_struct *vma)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page | |
struct vm_area_struct * | vma |
259 | struct page_vma_mapped_walk pvmw = {page = page, vma = vma, flags = Avoid racy checks , } |
267 | end等于start加PAGE_SIZE乘hpage_nr_pages(page)减1的差 |
269 | 如果此条件成立可能性小(为编译器优化)(end < Our start address within vm_mm. || start >= The first byte after our end addresswithin vm_mm. )则返回:0 |
274 | page_vma_mapped_walk_done( & pvmw) |
275 | 返回:1 |
名称 | 描述 |
---|---|
collect_procs_anon | Collect processes when the error hit an anonymous page. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |