Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:next_mnt

Proto:static struct mount *next_mnt(struct mount *p, struct mount *root)

Type:struct mount

Parameter:

TypeParameterName
struct mount *p
struct mount *root
900  next = next
901  If next == list of children, anchored here Then
902  When 1 cycle
903  If p == root Then Return NULL
905  next = next
908  p = mnt_parent
911  Return list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(next, structmount, mnt_child)
Caller
NameDescribe
may_umount_treemay_umount_tree - check if a mount tree is busy*@mnt: root of mount tree* This is called to check if a tree of mounts has any* open files, pwds, chroots or sub mounts that are* busy.
umount_treemount_lock must be held* namespace_sem must be held for write
copy_tree
lock_mnt_tree
cleanup_group_ids
invent_group_ids
count_mounts
attach_recursive_mnt@source_mnt : mount tree to be attached*@nd : place the mount tree @source_mnt is attached*@parent_nd : if non-null, detach the source_mnt from its parent and* store the parent mount and mountpoint dentry
do_change_typersively change the type of the mountpoint.
open_detached_copy
tree_contains_unbindable
check_for_nsfs_mountsCheck that there aren't references to earlier/same mount namespaces in the* specified subtree. Such references can act as pins for mount namespaces* that aren't checked by the mount-cycle checking code, thereby allowing* cycles to be made.
copy_mnt_ns