函数逻辑报告 |
Source Code:mm\rmap.c |
Create Date:2022-07-27 16:25:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Attach the anon_vmas from src to dst
函数原型:int anon_vma_clone(struct vm_area_struct *dst, struct vm_area_struct *src)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct vm_area_struct * | dst | |
struct vm_area_struct * | src |
272 | prev等于linked list of VM areas per task, sorted by address , pprev等于linked list of VM areas per task, sorted by address |
290 | 如果此条件成立可能性小(为编译器优化)(!avc)则 |
299 | anon_vma_chain_link(dst, avc, anon_vma) |
313 | 如果Serialized by page_table_lock 则degree自加 |
315 | unlock_anon_vma_root(root) |
316 | 返回:0 |
318 | enomem_failure : |
325 | Serialized by page_table_lock = NULL |
326 | unlink_anon_vmas(dst) |
327 | 返回:负ENOMEM |
名称 | 描述 |
---|---|
__split_vma | __split_vma() bypasses sysctl_max_map_count checking. We use this where it* has already been checked or doesn't make sense to fail. |
copy_vma | Copy the vma structure to a new location in the same mm,* prior to moving page table entries, to effect an mremap move. |
anon_vma_fork | 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. |
__vma_adjust | We cannot adjust vm_start, vm_end, vm_pgoff fields of a vma that* is already present in an i_mmap tree without adjusting the tree.* The following helper function should be used when such adjustments* are necessary |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |