函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:find_get_mmu_notifier

函数原型:static struct mmu_notifier *find_get_mmu_notifier(struct mm_struct *mm, const struct mmu_notifier_ops *ops)

返回类型:struct mmu_notifier

参数:

类型参数名称
struct mm_struct *mm
const struct mmu_notifier_ops *ops
680  加自旋锁
682  如果ops不等于ops则继续下一循环
685  如果此条件成立可能性大(为编译器优化)(users != UINT_MAX)则users自加
687  否则mn等于错误号
689  自旋锁解锁
690  返回:mn
692  自旋锁解锁
693  返回:NULL
调用者
名称描述
mmu_notifier_get_lockedmmu_notifier_get_locked - Return the single struct mmu_notifier for* the mm & ops*@ops: The operations struct being subscribe with*@mm : The mm to attach notifiers too* This function either allocates a new mmu_notifier via* list