Function report |
Source Code:mm\mmu_notifier.c |
Create Date:2022-07-28 15:37:28 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__mmu_interval_notifier_insert
Proto:static int __mmu_interval_notifier_insert(struct mmu_interval_notifier *mni, struct mm_struct *mm, struct mmu_notifier_mm *mmn_mm, unsigned long start, unsigned long length, const struct mmu_interval_notifier_ops *ops)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct mmu_interval_notifier * | mni | |
| struct mm_struct * | mm | |
| struct mmu_notifier_mm * | mmn_mm | |
| unsigned long | start | |
| unsigned long | length | |
| const struct mmu_interval_notifier_ops * | ops |
| 857 | RB_CLEAR_NODE( & rb) |
| 858 | Start of interval = start |
| 888 | If active_invalidate_ranges Then |
| 892 | Else |
| 893 | invalidate_seq |= 1 |
| 894 | interval_tree_insert( & interval_tree, & itree) |
| 897 | invalidate_seq = invalidate_seq |
| 898 | Else |
| 899 | WARN_ON(This is a collision-retry read-side/write-side 'lock', a lot like a* seqcount, however this allows multiple write-sides to hold it at* once) |
| 906 | invalidate_seq = invalidate_seq - 1 |
| 907 | interval_tree_insert( & interval_tree, & itree) |
| 910 | Return 0 |
| Name | Describe |
|---|---|
| mmu_interval_notifier_insert | mmu_interval_notifier_insert - Insert an interval notifier*@mni: Interval notifier to register*@start: Starting virtual address to monitor*@length: Length of the range to monitor*@mm : mm_struct to attach to* This function subscribes the interval notifier |
| mmu_interval_notifier_insert_locked |
| 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 |