Function report |
Source Code:arch\x86\include\asm\mmu_context.h |
Create Date:2022-07-28 05:55:48 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Init a new mm. Used on mm copies, like at fork()* and on mm's that are brand-new, like at execve().
Proto:static inline int init_new_context(struct task_struct *tsk, struct mm_struct *mm)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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 | Return 0 |
| Name | Describe |
|---|---|
| mm_init |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |