Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:simple_empty

Proto:int simple_empty(struct dentry *dentry)

Type:int

Parameter:

TypeParameterName
struct dentry *dentry
337  ret = 0
339  spin_lock( & d_lock)
341  spin_lock_nested( & d_lock, DENTRY_D_LOCK_NESTED)
342  If simple_positive(child) Then
343  spin_unlock( & d_lock)
344  Go to out
346  spin_unlock( & d_lock)
348  ret = 1
349  out :
350  spin_unlock( & d_lock)
351  Return ret
Caller
NameDescribe
simple_rmdir
simple_rename