函数逻辑报告 |
Source Code:mm\page_vma_mapped.c |
Create Date:2022-07-27 16:23:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:map_pte
函数原型:static bool map_pte(struct page_vma_mapped_walk *pvmw)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page_vma_mapped_walk * | pvmw |
18 | pte等于pte_offset_map(pmd, address) |
19 | 如果非flags按位与Avoid racy checks 的值则 |
21 | 如果非heck whether a pte points to a swap entry 则返回:false |
23 | 否则 |
43 | entry等于Convert the arch-dependent pte representation of a swp_entry_t into an* arch-independent swp_entry_t. |
44 | 如果非is_device_private_entry(entry)则返回:false |
46 | 否则如果非pte_present( * pte)则返回:false |
51 | 加自旋锁 |
52 | 返回:true |
名称 | 描述 |
---|---|
page_vma_mapped_walk | page_vma_mapped_walk - check if @pvmw->page is mapped in @pvmw->vma at*@pvmw->address*@pvmw: pointer to struct page_vma_mapped_walk. page, vma, address and flags* must be set. pmd, pte and ptl must be NULL.* Returns true if the page is mapped in the vma |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |