函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mmu_interval_notifier_insert_locked

函数原型: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)

返回类型:int

参数:

类型参数名称
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  如果非mmn_mm或非has_itree
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  如果ret则返回:ret
965  mmn_mm等于mmu_notifier_mm
967  返回:__mmu_interval_notifier_insert(mni, mm, mmn_mm, start, length, ops)