函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mn_itree_inv_start_range

函数原型:static struct mmu_interval_notifier *mn_itree_inv_start_range(struct mmu_notifier_mm *mmn_mm, const struct mmu_notifier_range *range, unsigned long *seq)

返回类型:struct mmu_interval_notifier

参数:

类型参数名称
struct mmu_notifier_mm *mmn_mm
const struct mmu_notifier_range *range
unsigned long *seq
98  struct mmu_interval_notifier * res = NULL
100  加自旋锁
101  active_invalidate_ranges自加
102  node等于interval_tree_iter_first( & itree, start, end - 1)
104  如果node
105  invalidate_seq或等于1
106  res等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(node, structmmu_interval_notifier, interval_tree)
110  seq等于invalidate_seq
111  自旋锁解锁
112  返回:res
调用者
名称描述
mn_itree_release
mn_itree_invalidate