函数逻辑报告 | 
Source Code:include\linux\sched\mm.h | 
Create Date:2022-07-27 06:42:44 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:mmgrab() - Pin a &struct mm_struct
函数原型:static inline void mmgrab(struct mm_struct *mm)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct mm_struct * | mm | 
| 36 | atomic_inc( & *@mm_count: The number of references to &struct mm_struct * (@mm_users count as 1). * Use mmgrab()/mmdrop() to modify. When this drops to 0, the * &struct mm_struct is freed.) | 
| 名称 | 描述 | 
|---|---|
| cpu_init | pu_init() initializes state that is per-CPU. Some data is already* initialized (naturally) in the bootstrap process, such as the GDT* and IDT. We reload them nevertheless, this function acts as a* 'CPU state barrier', nothing should get across. | 
| exit_mm | Turn us into a lazy TLB process if we* aren't already.. | 
| context_switch | 进程切换 | 
| sched_init | 初始化调度器数据结构并创建运行队列 | 
| futex_get_mm | |
| mark_oom_victim | mark_oom_victim - mark the given task as OOM victim*@tsk: task to mark* Has to be called with oom_lock held and never after* oom has been disabled already.* under task_lock or operate on the current). | 
| __oom_kill_process | |
| use_mm | se_mm* Makes the calling kernel thread take on the specified* mm context.* (Note: this routine is intended to be called only* from a kernel thread context) | 
| __mmu_notifier_register | Same as mmu_notifier_register but here the caller must hold the mmap_sem in* write mode. A NULL mn signals the notifier is being registered for itree* mode. | 
| __mmu_interval_notifier_insert | |
| __ksm_enter | |
| __khugepaged_enter | |
| dup_userfaultfd | |
| SYSCALL_DEFINE1 | |
| io_sq_offload_start | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |