函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:m_hash

函数原型:static inline struct hlist_head *m_hash(struct vfsmount *mnt, struct dentry *dentry)

返回类型:struct hlist_head

参数:

类型参数名称
struct vfsmount *mnt
struct dentry *dentry
92  tmp等于mntL1_CACHE_BYTES
93  tmp加等于dentryL1_CACHE_BYTES
94  tmp等于tmptmp右移m_hash_shift位的值
95  返回:mount_hashtable[tmp & m_hash_mask]
调用者
名称描述
__lookup_mntd the first mount at @dentry on vfsmount @mnt.* call under rcu_read_lock()
__attach_mnt