函数逻辑报告 |
Source Code:mm\mlock.c |
Create Date:2022-07-27 16:13:40 |
Last Modify:2022-05-23 14:12:58 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Take the MCL_* flags passed into mlockall (or 0 if called from munlockall)* and translate into the appropriate modifications to mm->def_flags and/or the* flags for all current VMAs.* There are a couple of subtleties with this
函数原型:static int apply_mlockall_flags(int flags)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
int | flags |
765 | struct vm_area_struct * vma, * prev = NULL |
766 | to_add等于0 |
769 | 如果flags按位与lock all future mappings 则 |
772 | 如果flags按位与lock all pages that are faulted in 则def_flags或等于Lock the pages covered when they are faulted in |
775 | 如果非flags按位与lock all current mappings 的值则转到:out |
779 | 如果flags按位与lock all current mappings 则 |
793 | cond_resched() |
795 | out : |
796 | 返回:0 |
名称 | 描述 |
---|---|
SYSCALL_DEFINE1 | |
sys_munlockall |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |