Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Relationship between i_mode and the DT_xxx types

Proto:static inline unsigned char dt_type(struct inode *inode)

Type:unsigned char

Parameter:

TypeParameterName
struct inode *inode
175  Return i_mode >> 12 & 15
Caller
NameDescribe
dcache_readdirDirectory is locked and all positive dentries in it are safe, since* for ramfs-type trees they can't go away without unlink() or rmdir(),* both impossible due to the lock on directory.