Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:dir_emit_dots

Proto:static inline bool dir_emit_dots(struct file *file, struct dir_context *ctx)

Type:bool

Parameter:

TypeParameterName
struct file *file
struct dir_context *ctx
3563  If pos == 0 Then
3564  If Not dir_emit_dot(file, ctx) Then Return false
3566  pos = 1
3568  If pos == 1 Then
3569  If Not dir_emit_dotdot(file, ctx) Then Return false
3571  pos = 2
3573  Return true
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.
empty_dir_readdir