Function report |
Source Code:mm\mmu_notifier.c |
Create Date:2022-07-28 15:37:21 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mmu_notifier_get_locked - Return the single struct mmu_notifier for* the mm & ops*@ops: The operations struct being subscribe with*@mm : The mm to attach notifiers too* This function either allocates a new mmu_notifier via* list
Proto:struct mmu_notifier *mmu_notifier_get_locked(const struct mmu_notifier_ops *ops, struct mm_struct *mm)
Type:struct mmu_notifier
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct mmu_notifier_ops * | ops | >alloc_notifier(), or returns an already existing notifier on the |
| struct mm_struct * | mm |
| 719 | lockdep_assert_held_write( & mmap_sem) |
| 721 | If mmu_notifier_mm Then |
| 727 | mn = alloc_notifier(mm) |
| 731 | ret = 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. |
| 734 | Return mn |
| 735 | out_free : |
| 736 | free_notifier(mn) |
| Name | Describe |
|---|---|
| mmu_notifier_get |
| 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 |