Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mmu_notifier.c Create Date:2022-07-28 15:37:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mmu_notifier_register - Register a notifier on a mm*@mn: The notifier to attach*@mm: The mm to attach the notifier to* Must not hold mmap_sem nor any other VM related lock when calling* this registration function

Proto:int mmu_notifier_register(struct mmu_notifier *mn, struct mm_struct *mm)

Type:int

Parameter:

TypeParameterName
struct mmu_notifier *mn
struct mm_struct *mm
668  lock for writing
669  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.
670  lease a write lock
671  Return ret
Caller
NameDescribe
mmu_interval_notifier_insertmmu_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