函数逻辑报告 |
Source Code:mm\mlock.c |
Create Date:2022-07-27 16:13:24 |
Last Modify:2022-05-23 14:12:58 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:apply_vma_lock_flags
函数原型:static int apply_vma_lock_flags(unsigned long start, size_t len, vm_flags_t flags)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | start | |
size_t | len | |
vm_flags_t | flags |
590 | VM_BUG_ON(offset_in_page(start)) |
598 | 如果非vma或Our start address within vm_mm. 大于start则返回:负ENOMEM |
602 | 如果start大于Our start address within vm_mm. 则prev等于vma |
605 | 循环 |
618 | 如果nstart小于The first byte after our end addresswithin vm_mm. 则nstart等于The first byte after our end addresswithin vm_mm. |
624 | 如果非vma或Our start address within vm_mm. 不等于nstart则 |
629 | 返回:error |
名称 | 描述 |
---|---|
do_mlock | |
SYSCALL_DEFINE2 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |