函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lookup_mountpoint

函数原型:static struct mountpoint *lookup_mountpoint(struct dentry *dentry)

返回类型:struct mountpoint

参数:

类型参数名称
struct dentry *dentry
688  chain等于mp_hash(dentry)
692  如果m_dentry恒等于dentry
693  m_count自加
694  返回:mp
697  返回:NULL
调用者
名称描述
get_mountpoint
__detach_mounts__detach_mounts - lazily unmount all mounts on the specified dentry* During unlink, rmdir, and d_drop it is possible to loose the path* to an existing mountpoint, and wind up leaking the mount