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

Proto:static inline bool dir_emit(struct dir_context *ctx, const char *name, int namelen, u64 ino, unsigned type)

Type:bool

Parameter:

TypeParameterName
struct dir_context *ctx
const char *name
intnamelen
u64ino
unsignedtype
3549  Return actor(ctx, name, namelen, pos, ino, type) == 0
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.