函数逻辑报告 |
Source Code:mm\nommu.c |
Create Date:2022-07-27 16:03:59 |
Last Modify:2020-03-17 21:26:27 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:split a vma into two pieces at address 'addr', a new vma is allocated either* for the first part or the tail.
函数原型:int split_vma(struct mm_struct *mm, struct vm_area_struct *vma, unsigned long addr, int new_below)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mm_struct * | mm | |
struct vm_area_struct * | vma | |
unsigned long | addr | |
int | new_below |
1393 | 如果File we map to (can be NULL). 则返回:负ENOMEM |
1396 | 如果 number of VMAs 大于等于sysctl_max_map_count则返回:负ENOMEM |
1403 | new等于vm_area_dup(vma) |
1404 | 如果非new则 |
1406 | 返回:负ENOMEM |
1415 | 如果new_below则 |
1417 | 否则 |
1426 | lock for writing |
1428 | 如果new_below则 |
1431 | 否则 |
1437 | lease a write lock |
1440 | 返回:0 |
名称 | 描述 |
---|---|
do_munmap | lease a mapping* - under NOMMU conditions the chunk to be unmapped must be backed by a single* VMA, though it need not cover the whole VMA |
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. |
userfaultfd_register |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |