函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:find_topper

函数原型:static struct mount *find_topper(struct mount *mnt)

返回类型:struct mount

参数:

类型参数名称
struct mount *mnt
342  如果非链表只有一项则返回:NULL
345  child等于list_first_entry - get the first element from a list*@ptr: the list head to take the element from.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.* Note, that list is expected to be not empty.( & list of children, anchored here , structmount, mnt_child)
346  如果mnt_mountpoint不等于 root of the mounted tree 则返回:NULL
349  返回:child
调用者
名称描述
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**