Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\namespace.c Create Date:2022-07-28 20:09:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:m_hash

Proto:static inline struct hlist_head *m_hash(struct vfsmount *mnt, struct dentry *dentry)

Type:struct hlist_head

Parameter:

TypeParameterName
struct vfsmount *mnt
struct dentry *dentry
92  tmp = mnt / L1_CACHE_BYTES
93  tmp += dentry / L1_CACHE_BYTES
94  tmp = tmp + (tmp >> m_hash_shift)
95  Return mount_hashtable[tmp & m_hash_mask]
Caller
NameDescribe
__lookup_mntd the first mount at @dentry on vfsmount @mnt.* call under rcu_read_lock()
__attach_mnt