函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Caller should check returned pointer for errors

函数原型:struct vfsmount *collect_mounts(const struct path *path)

返回类型:struct vfsmount

参数:

类型参数名称
const struct path *path
1819  namespace_lock()
1820  如果非check_mnt(real_mount(mnt))则tree等于错误号
1822  否则tree等于copy_tree(real_mount(mnt), dentry, CL_COPY_ALL | CL_PRIVATE)
1825  namespace_unlock()
1826  如果是错误则返回:错误指示
1828  返回:mnt
调用者
名称描述
audit_add_tree_rulealled with audit_filter_mutex
audit_tag_tree
audit_trim_trees