Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\dcache.c Create Date:2022-07-28 20:07:25
Last Modify:2020-03-18 10:27:32 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:take_dentry_name_snapshot

Proto:void take_dentry_name_snapshot(struct name_snapshot *name, struct dentry *dentry)

Type:void

Parameter:

TypeParameterName
struct name_snapshot *name
struct dentry *dentry
288  spin_lock( & d_lock)
289  name = d_name
290  If Value for the false possibility is greater at compile time(dname_external(dentry)) Then
291  atomic_inc( & count)
292  Else
293  memcpy(inline_name, small names , len + 1)
295  name = inline_name
297  spin_unlock( & d_lock)
Caller
NameDescribe
__fsnotify_parentNotify this dentry's parent about a child's events.