函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\dcache.c Create Date:2022-07-29 10:37:26
Last Modify:2020-03-18 10:27:32 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Release the dentry's inode, using the filesystem* d_iput() operation if defined.

函数原型:static void dentry_unlink_inode(struct dentry *dentry)__releases(dentry->d_lock) __releases(dentry->d_inode->i_lock)

返回类型:void

参数:

类型参数名称
struct dentry *dentry
361  inode等于 Where the name belongs to - NULL is * negative
363  raw_write_seqcount_begin( & per dentry seqlock )
364  __d_clear_type_and_inode(dentry)
365  hlist_del_init( & de alias list )
366  raw_write_seqcount_end( & per dentry seqlock )
367  自旋锁解锁
368  自旋锁解锁
369  如果非i_nlinksnotify_inoderemove - an inode is going away
371  如果d_opd_iputd_iput(dentry, inode)
373  否则放置一个索引节点
调用者
名称描述
__dentry_kill
d_delete删除目录项