Function report |
Source Code:mm\gup.c |
Create Date:2022-07-28 14:35:17 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:populate_vma_page_range() - populate a range of pages in the vma
Proto:long populate_vma_page_range(struct vm_area_struct *vma, unsigned long start, unsigned long end, int *nonblocking)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
struct vm_area_struct * | vma | >vm_mm->mmap_sem must be held. |
unsigned long | start | |
unsigned long | end | |
int * | nonblocking |
1210 | VM_BUG_ON_VMA(end > The first byte after our end addresswithin vm_mm. , >vm_mm->mmap_sem must be held.) |
1214 | If Flags, see mm.h. & Lock the pages covered when they are faulted in Then gup_flags &= ~ault in page |
1221 | If (Flags, see mm.h. & (VM_WRITE | VM_SHARED)) == VM_WRITE Then gup_flags |= check pte is writable |
1228 | If Flags, see mm.h. & ( currently active flags | VM_WRITE | VM_EXEC) Then gup_flags |= get_user_pages read/write w/o permission |
Name | Describe |
---|---|
__mm_populate | __mm_populate - populate and/or mlock pages within a range of address space.* This is used to implement mlock() and the MAP_POPULATE / MAP_LOCKED mmap* flags. VMAs must be already marked with the desired vm_flags, and* mmap_sem must not be held. |
find_extend_vma | |
mprotect_fixup |
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 |