函数逻辑报告 |
Source Code:fs\userfaultfd.c |
Create Date:2022-07-29 10:52:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Verify the pagetables are still not ok after having reigstered into* the fault_pending_wqh to avoid userland having to UFFDIO_WAKE any* userfault that has already been resolved, if userfaultfd_read and* UFFDIO_COPY|ZEROPAGE are being run simultaneously on
函数原型:static inline bool userfaultfd_must_wait(struct userfaultfd_ctx *ctx, unsigned long address, unsigned long flags, unsigned long reason)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct userfaultfd_ctx * | ctx | |
unsigned long | address | |
unsigned long | flags | |
unsigned long | reason |
287 | bool ret = true |
292 | 如果非pgd_present( * pgd)则转到:out |
294 | p4d等于p4d_offset(pgd, address) |
295 | 如果非p4d_present( * p4d)则转到:out |
297 | pud等于pud_offset(p4d, address) |
298 | 如果非pud_present( * pud)则转到:out |
300 | pmd等于pmd_offset(pud, address) |
313 | ret = false |
314 | 如果非pmd_present(_pmd)则转到:out |
317 | 如果pmd_trans_huge(_pmd)则转到:out |
324 | pte等于pte_offset_map(pmd, address) |
333 | out : |
334 | 返回:ret |
名称 | 描述 |
---|---|
handle_userfault | The locking rules involved in returning VM_FAULT_RETRY depending on* FAULT_FLAG_ALLOW_RETRY, FAULT_FLAG_RETRY_NOWAIT and* FAULT_FLAG_KILLABLE are not straightforward |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |