Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mmu_interval_notifier_insert_locked

Proto:int mmu_interval_notifier_insert_locked(struct mmu_interval_notifier *mni, struct mm_struct *mm, unsigned long start, unsigned long length, const struct mmu_interval_notifier_ops *ops)

Type:int

Parameter:

TypeParameterName
struct mmu_interval_notifier *mni
struct mm_struct *mm
unsigned longstart
unsigned longlength
const struct mmu_interval_notifier_ops *ops
958  lockdep_assert_held_write( & mmap_sem)
960  mmn_mm = mmu_notifier_mm
961  If Not mmn_mm || Not has_itree Then
962  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.
963  If ret Then Return ret
965  mmn_mm = mmu_notifier_mm
967  Return __mmu_interval_notifier_insert(mni, mm, mmn_mm, start, length, ops)