Function report |
Source Code:include\linux\mm.h |
Create Date:2022-07-28 05:43:49 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:NOTE on FOLL_LONGTERM:* FOLL_LONGTERM indicates that the page will be held for an indefinite time* period _often_ under userspace control
Proto:static inline int vm_fault_to_errno(vm_fault_t vm_fault, int foll_flags)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
vm_fault_t | vm_fault | |
int | foll_flags |
2612 | If vm_fault & VM_FAULT_OOM Then Return -ENOMEM |
2614 | If vm_fault & (VM_FAULT_HWPOISON | VM_FAULT_HWPOISON_LARGE) Then Return If foll_flags & check page is hwpoisoned Then -EHWPOISON Else -EFAULT |
2616 | If vm_fault & (VM_FAULT_SIGBUS | VM_FAULT_SIGSEGV) Then Return -EFAULT |
2618 | Return 0 |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |