函数逻辑报告 |
Source Code:fs\userfaultfd.c |
Create Date:2022-07-29 10:52:28 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Same functionality as userfaultfd_must_wait below with modifications for* hugepmd ranges.
函数原型:static inline bool userfaultfd_huge_must_wait(struct userfaultfd_ctx *ctx, struct vm_area_struct *vma, unsigned long address, unsigned long flags, unsigned long reason)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct userfaultfd_ctx * | ctx | |
struct vm_area_struct * | vma | |
unsigned long | address | |
unsigned long | flags | |
unsigned long | reason |
235 | bool ret = true |
244 | ret = false |
245 | pte等于huge_ptep_get(ptep) |
251 | 如果huge_pte_none(pte)则ret = true |
253 | 如果非huge_pte_write(pte)且reason按位与wrprotect pages tracking 则ret = true |
255 | out : |
256 | 返回: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 插件可实现:逻辑报告 代码生成和批量转换代码 |