Function report |
Source Code:mm\mmap.c |
Create Date:2022-07-28 14:50:38 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:int mm_take_all_locks(struct mm_struct *mm)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct mm_struct * | mm |
3533 | mutex_lock( & mm_all_locks_mutex) |
3536 | If signal_pending(current process) Then Go to out_unlock |
3538 | If File we map to (can be NULL). && f_mapping && is_vm_hugetlb_page(vma) Then vm_lock_mapping(mm, f_mapping) |
3544 | If signal_pending(current process) Then Go to out_unlock |
3546 | If File we map to (can be NULL). && f_mapping && Not is_vm_hugetlb_page(vma) Then vm_lock_mapping(mm, f_mapping) |
3552 | If signal_pending(current process) Then Go to out_unlock |
3556 | vm_lock_anon_vma(mm, anon_vma) |
3559 | Return 0 |
3561 | out_unlock : |
3563 | Return -EINTR |
Name | Describe |
---|---|
__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. |
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 |