函数逻辑报告 |
Source Code:kernel\fork.c |
Create Date:2022-07-27 09:57:38 |
Last Modify:2020-03-17 11:04:53 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:dup_mm() - duplicates an existing mm structure*@tsk: the task_struct with which the new mm will be associated.*@oldmm: the mm to duplicate.* Allocates a new mm structure and duplicates the provided @oldmm structure* content into it.
函数原型:static struct mm_struct *dup_mm(struct task_struct *tsk, struct mm_struct *oldmm)
返回类型:struct mm_struct
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | tsk | |
struct mm_struct * | oldmm |
1351 | mm等于allocate_mm() |
1352 | 如果非mm则转到:fail_nomem |
1357 | 如果非设置内核内存分配器则转到:fail_nomem |
1364 | High-watermark of RSS usage 等于get_mm_rss(mm) |
1367 | 如果可执行文件的格式且非判断模块是否处于活动状态则转到:free_pt |
1370 | 返回:mm |
1372 | free_pt : |
1374 | 可执行文件的格式 = NULL |
1375 | mm_init_owner(mm, NULL) |
1378 | fail_nomem : |
1379 | 返回:NULL |
名称 | 描述 |
---|---|
copy_mm | 复制内存 |
copy_init_mm |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |