函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get_peer_under_root

函数原型:static struct mount *get_peer_under_root(struct mount *mnt, struct mnt_namespace *ns, const struct path *root)

返回类型:struct mount

参数:

类型参数名称
struct mount *mnt
struct mnt_namespace *ns
const struct path *root
41  m等于mnt
43  循环
45  如果 containing namespace 恒等于nsReturn true if path is reachable from root* namespace_sem or mount_lock is held则返回:m
48  m等于rn the next shared peer mount of @p
49 m不等于mnt循环
51  返回:NULL
调用者
名称描述
get_dominating_idGet ID of closest dominating peer group having a representative* under the given root.* Caller must hold namespace_sem