函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mmu_notifier.c Create Date:2022-07-27 17:11:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:mmu_interval_notifier_remove - Remove a interval notifier*@mni: Interval notifier to unregister* This function must be paired with mmu_interval_notifier_insert()

函数原型:void mmu_interval_notifier_remove(struct mmu_interval_notifier *mni)

返回类型:void

参数:

类型参数名称
struct mmu_interval_notifier *mni
984  mm等于mm
985  mmn_mm等于mmu_notifier_mm
986  seq等于0
988  might_sleep()
990  加自旋锁
991  如果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
998  否则
1001  seq等于invalidate_seq
1003  否则
1004  WARN_ON('empty' nodes are nodes that are known not to be inserted in an rbtree ( & rb))
1005  interval_tree_remove( & interval_tree, & itree)
1007  自旋锁解锁
1013  lock_map_acquire( & __mmu_notifier_invalidate_range_start_map)
1014  lock_map_release( & __mmu_notifier_invalidate_range_start_map)
1015  如果seqwait_event - sleep until a condition gets true*@wq_head: the waitqueue to wait on*@condition: a C expression for the event to wait for* The process is put to sleep (TASK_UNINTERRUPTIBLE) until the*@condition evaluates to true(wq, READ_ONCE(invalidate_seq) != seq)
1020  mmdrop(mm)