函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get the next mount in the propagation tree

函数原型:static struct mount *propagation_next(struct mount *m, struct mount *origin)

返回类型:struct mount

参数:

类型参数名称
struct mount *m
struct mount *origin
153  如果非IS_MNT_NEW(m)且非链表为空则返回:first_slave(m)
156  当1循环
157  master等于 slave is on master->mnt_slave_list
161  返回:如果next恒等于originNULL否则next
162  否则如果链表后项不等于 list of slave mounts 则返回:next_slave(m)
166  m等于master
调用者
名称描述
propagate_mount_busyheck if the mount 'mnt' can be unmounted successfully.*@mnt: the mount to be checked for unmount* NOTE: unmounting 'mnt' would naturally propagate to all* other mounts its parent propagates to.* Check if any of these mounts that **do not have submounts**
propagate_mount_unlockClear MNT_LOCKED when it can be shown to be safe.* mount_lock lock must be held for write
propagate_umountllect all mounts that receive propagation from the mount in @list,* and return these additional mounts in the same list.*@list: the list of mounts to be unmounted.* vfsmount lock must be held for write