Defined in 2 files as a member:

Defined in 1 files as a function:

Referenced in 20 files:

Smatch caller information:

fs/dcache.c ___d_drop() -> d_hash()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &dentry->d_sb->s_vfs_rename_mutex
HALF_LOCKED2 &target->d_lockref.lock
HALF_LOCKED2 global &rename_lock.lock

fs/dcache.c __d_lookup() -> d_hash()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 hashlen 0-u32max[c]

fs/dcache.c __d_lookup_rcu() -> d_hash()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

fs/dcache.c __d_lookup_rcu_op_compare() -> d_hash()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &parent->d_inode->i_rwsem
HALF_LOCKED2 rcu_read

fs/dcache.c __d_rehash() -> d_hash()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &entry->d_lockref.lock
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &inode->i_lock
HALF_LOCKED2 &target->d_lockref.lock
HALF_LOCKED2 global &rename_lock.lock
TYPE_LOCK (struct lockref)->lock

Smatch assignments to (struct dentry_operations)->d_hash:

fs/failfs.c (null)() -> (struct dentry_operations)->d_hash [0]

fs/9p/vfs_dentry.c (null)() -> (struct dentry_operations)->d_hash [0]

fs/pidfs.c (null)() -> (struct dentry_operations)->d_hash [0]

fs/tracefs/inode.c (null)() -> (struct dentry_operations)->d_hash [0]

fs/ecryptfs/dentry.c (null)() -> (struct dentry_operations)->d_hash [0]

fs/vboxsf/dir.c (null)() -> (struct dentry_operations)->d_hash [0]

fs/proc/base.c (null)() -> (struct dentry_operations)->d_hash [0]

fs/configfs/dir.c (null)() -> (struct dentry_operations)->d_hash [0]

fs/fuse/dir.c (null)() -> (struct dentry_operations)->d_hash [0]

fs/btrfs/inode.c (null)() -> (struct dentry_operations)->d_hash [0]

fs/proc/fd.c (null)() -> (struct dentry_operations)->d_hash [0]

fs/ntfs3/namei.c (null)() -> (struct dentry_operations)->d_hash [2162148618682511360]

mm/shmem.c (null)() -> (struct dentry_operations)->d_hash [3221359263222870016]

fs/pipe.c (null)() -> (struct dentry_operations)->d_hash [0]

drivers/dma-buf/dma-buf.c (null)() -> (struct dentry_operations)->d_hash [0]

fs/afs/dynroot.c (null)() -> (struct dentry_operations)->d_hash [0]

fs/kernfs/dir.c (null)() -> (struct dentry_operations)->d_hash [0]

fs/coda/dir.c (null)() -> (struct dentry_operations)->d_hash [0]

fs/overlayfs/super.c (null)() -> (struct dentry_operations)->d_hash [0,3221359263222870016]

fs/isofs/inode.c (null)() -> (struct dentry_operations)->d_hash [1555848511130030080,4482841124499959808,4523070714511765504]

fs/smb/client/dir.c (null)() -> (struct dentry_operations)->d_hash [0,1463691396292743168]

fs/hfsplus/inode.c (null)() -> (struct dentry_operations)->d_hash [4764899289535295488]

fs/exfat/namei.c (null)() -> (struct dentry_operations)->d_hash [552864837019131904,7233188601036550144]

fs/nsfs.c (null)() -> (struct dentry_operations)->d_hash [0]

fs/nfs/dir.c (null)() -> (struct dentry_operations)->d_hash [0]

fs/autofs/root.c (null)() -> (struct dentry_operations)->d_hash [0]

net/socket.c (null)() -> (struct dentry_operations)->d_hash [0]

fs/anon_inodes.c (null)() -> (struct dentry_operations)->d_hash [0]

fs/debugfs/inode.c (null)() -> (struct dentry_operations)->d_hash [0]

fs/efivarfs/super.c (null)() -> (struct dentry_operations)->d_hash [2316336260506652672]

fs/fat/namei_vfat.c (null)() -> (struct dentry_operations)->d_hash [3412514998897844224,9036165373487837184]

fs/fat/namei_msdos.c (null)() -> (struct dentry_operations)->d_hash [5559790334694039552]

fs/proc/generic.c (null)() -> (struct dentry_operations)->d_hash [0]

fs/affs/namei.c (null)() -> (struct dentry_operations)->d_hash [195227989874651136,1917737839963074560]

fs/gfs2/dentry.c (null)() -> (struct dentry_operations)->d_hash [3701386724118249472]

fs/adfs/dir.c (null)() -> (struct dentry_operations)->d_hash [3611908979552931840]

fs/hpfs/dentry.c (null)() -> (struct dentry_operations)->d_hash [3903734613888413696]

fs/hfs/sysdep.c (null)() -> (struct dentry_operations)->d_hash [7007812397169672192]

fs/ceph/dir.c (null)() -> (struct dentry_operations)->d_hash [0]

fs/orangefs/dcache.c (null)() -> (struct dentry_operations)->d_hash [0]

fs/afs/dir.c (null)() -> (struct dentry_operations)->d_hash [0]

fs/jfs/namei.c (null)() -> (struct dentry_operations)->d_hash [0,1011663218771546112]

fs/ocfs2/dcache.c (null)() -> (struct dentry_operations)->d_hash [0]

fs/proc/proc_sysctl.c (null)() -> (struct dentry_operations)->d_hash [0]

fs/libfs.c (null)() -> (struct dentry_operations)->d_hash [0,3221359263222870016]

fs/dcache.c d_alloc_pseudo() -> (struct dentry_operations)->d_hash [0]