函数逻辑报告 |
Source Code:mm\mmap.c |
Create Date:2022-07-27 16:19:00 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:This operation locks against the VM for all pte/vma/mm related* operations that could ever happen on a certain mm. This includes* vmtruncate, try_to_unmap, and all page faults.* The caller must take the mmap_sem in write mode before calling
函数原型:int mm_take_all_locks(struct mm_struct *mm)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mm_struct * | mm |
3533 | mutex_lock( & mm_all_locks_mutex) |
3536 | 如果signal_pending(当前进程)则转到:out_unlock |
3544 | 如果signal_pending(当前进程)则转到:out_unlock |
3552 | 如果signal_pending(当前进程)则转到:out_unlock |
3556 | vm_lock_anon_vma(mm, anon_vma) |
3559 | 返回:0 |
3561 | out_unlock : |
3563 | 返回:负EINTR |
名称 | 描述 |
---|---|
__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. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |