函数逻辑报告 |
Source Code:include\linux\mm.h |
Create Date:2022-07-27 06:44:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:NOTE on FOLL_LONGTERM:* FOLL_LONGTERM indicates that the page will be held for an indefinite time* period _often_ under userspace control
函数原型:static inline int vm_fault_to_errno(vm_fault_t vm_fault, int foll_flags)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
vm_fault_t | vm_fault | |
int | foll_flags |
2612 | 如果vm_fault按位与VM_FAULT_OOM则返回:负ENOMEM |
2614 | 如果vm_fault按位与VM_FAULT_HWPOISON按位或VM_FAULT_HWPOISON_LARGE的值则返回:如果foll_flags按位与check page is hwpoisoned 则负EHWPOISON否则负EFAULT |
2616 | 如果vm_fault按位与VM_FAULT_SIGBUS按位或VM_FAULT_SIGSEGV的值则返回:负EFAULT |
2618 | 返回:0 |
名称 | 描述 |
---|---|
faultin_page | mmap_sem must be held on entry. If @nonblocking != NULL and* *@flags does not include FOLL_NOWAIT, the mmap_sem may be released.* If it is, *@nonblocking will be set to 0 and -EBUSY returned. |
fixup_user_fault | xup_user_fault() - manually resolve a user page fault*@tsk: the task_struct to use for page fault accounting, or* NULL if faults are not to be recorded |
follow_hugetlb_page |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |