Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\fs.h Create Date:2022-07-28 05:42:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:inode_trylock_shared

Proto:static inline int inode_trylock_shared(struct inode *inode)

Type:int

Parameter:

TypeParameterName
struct inode *inode
816  Return rylock for reading -- returns 1 if successful, 0 if contention
Caller
NameDescribe
__d_unaliasThis helper attempts to cope with remotely renamed directories* It assumes that the caller is already holding* Note: If ever the locking in lock_rename() changes, then please* remember to update this too...