函数逻辑报告 |
Source Code:mm\mlock.c |
Create Date:2022-07-27 16:13:14 |
Last Modify:2022-05-23 14:12:58 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:void munlock_vma_pages_range(struct vm_area_struct *vma, unsigned long start, unsigned long end)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
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 | 否则 |
503 | page_increm等于1加page_mask |
504 | start加等于page_increm乘PAGE_SIZE |
505 | next : |
506 | cond_resched() |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |