函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:NOTE: unmounting 'mnt' naturally propagates to all other mounts its* parent propagates to.

函数原型:static bool __propagate_umount(struct mount *mnt, struct list_head *to_umount, struct list_head *to_restore)

返回类型:bool

参数:

类型参数名称
struct mount *mnt
struct list_head *to_umount
struct list_head *to_restore
445  bool progress = false
452  如果mnt_flags按位与MNT_UMOUNT按位或MNT_MARKED的值则转到:out
459  如果mnt_mountpoint恒等于 root of the mounted tree 则继续下一循环
461  如果非链表为空IS_MNT_MARKED(child)则继续下一循环
464  转到:children
468  SET_MNT_MARK(mnt)
469  progress = true
472  如果非IS_MNT_LOCKED(mnt)则
473  umount_one(mnt, to_umount)
474  否则
475  children :
476  链表项移动到尾部
478  out :
479  返回:progress
调用者
名称描述
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