函数逻辑报告 |
Source Code:arch\x86\include\asm\mmu_context.h |
Create Date:2022-07-27 06:54:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Init a new mm. Used on mm copies, like at fork()* and on mm's that are brand-new, like at execve().
函数原型:static inline int init_new_context(struct task_struct *tsk, struct mm_struct *mm)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | tsk | |
struct mm_struct * | mm |
191 | mutex_init - initialize the mutex*@mutex: the mutex to be initialized* Initialize the mutex to unlocked state.* It is not allowed to initialize an already locked mutex.( & lock) |
193 | ctx_id uniquely identifies this mm_struct. A ctx_id will never* be reused, and zero is not a valid ctx_id.等于atomic64_inc_return( & last_mm_ctx_id) |
204 | init_new_context_ldt(mm) |
205 | 返回:0 |
名称 | 描述 |
---|---|
mm_init | 设置内核内存分配器 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |