Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\inode.c Create Date:2022-07-28 20:07:55
Last Modify:2020-03-18 19:19:59 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:insert an inode on hash

Proto:void __insert_inode_hash(struct inode *inode, unsigned long hashval)

Type:void

Parameter:

TypeParameterName
struct inode *inode
unsigned longhashval
494  b = inode_hashtable + hash(i_sb, hashval)
496  spin_lock( & inode_hash_lock)
497  spin_lock( & _blocks, i_bytes, maybe i_size )
498  hlist_add_head( & i_hash, b)
499  spin_unlock( & _blocks, i_bytes, maybe i_size )
500  spin_unlock( & inode_hash_lock)
Caller
NameDescribe
insert_inode_hash