Function report |
Source Code:mm\mlock.c |
Create Date:2022-07-28 14:45:36 |
Last Modify:2022-05-23 14:12:58 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:munlock_vma_pages_range() - munlock all pages in the vma range.'*@vma - vma containing range to be munlock()ed.*@start - start address in @vma of the range*@end - end of range in @vma.* For mremap(), munmap() and exit().* Called with @vma VM_LOCKED.
Proto:void munlock_vma_pages_range(struct vm_area_struct *vma, unsigned long start, unsigned long end)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct vm_area_struct * | vma | |
unsigned long | start | |
unsigned long | end |
452 | page_mask = 0 |
457 | pagevec_init( & pvec) |
469 | VM_BUG_ON_PAGE(PageMlocked(page), page) |
482 | Else |
503 | page_increm = 1 + page_mask |
504 | start += page_increm * PAGE_SIZE |
505 | next : |
506 | cond_resched() |
Name | Describe |
---|---|
mlock_fixup | mlock_fixup - handle mlock[all]/munlock[all] requests.* Filters out "special" vmas -- VM_LOCKED never gets set for these, and* munlock is a no-op. However, for some special vmas, we go ahead and* populate the ptes. |
SYSCALL_DEFINE5 | Emulation of deprecated remap_file_pages() syscall. |
munlock_vma_pages_all |
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 |