函数逻辑报告 |
Source Code:mm\rmap.c |
Create Date:2022-07-27 16:25:17 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Attach vma to its own anon_vma, as well as to the anon_vmas that* the corresponding VMA in the parent process is attached to.* Returns 0 on success, non-zero on failure.
函数原型:int anon_vma_fork(struct vm_area_struct *vma, struct vm_area_struct *pvma)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct vm_area_struct * | vma | |
| struct vm_area_struct * | pvma |
| 342 | 如果非Serialized by page_table_lock 则返回:0 |
| 346 | Serialized by page_table_lock = NULL |
| 357 | 如果Serialized by page_table_lock 则返回:0 |
| 361 | anon_vma等于anon_vma_alloc() |
| 365 | 如果非avc则转到:out_error_free_anon_vma |
| 383 | anon_vma_chain_link(vma, avc, anon_vma) |
| 387 | 返回:0 |
| 389 | out_error_free_anon_vma : |
| 390 | put_anon_vma(anon_vma) |
| 391 | out_error : |
| 392 | unlink_anon_vmas(vma) |
| 393 | 返回:负ENOMEM |
| 名称 | 描述 |
|---|---|
| dup_mmap |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |