Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\pnode.c Create Date:2022-07-28 20:11:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get_peer_under_root

Proto:static struct mount *get_peer_under_root(struct mount *mnt, struct mnt_namespace *ns, const struct path *root)

Type:struct mount

Parameter:

TypeParameterName
struct mount *mnt
struct mnt_namespace *ns
const struct path *root
41  m = mnt
43  Do
45  If containing namespace == ns && Return true if path is reachable from root* namespace_sem or mount_lock is held Then Return m
48  m = rn the next shared peer mount of @p
49  When m != mnt cycle
51  Return NULL
Caller
NameDescribe
get_dominating_idGet ID of closest dominating peer group having a representative* under the given root.* Caller must hold namespace_sem