函数逻辑报告

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

函数名称:删除目录项

函数原型:void __d_drop(struct dentry *dentry)

返回类型:void

参数:

类型参数名称
struct dentry *dentry
496  如果非目录项存在于哈希中
497  d_drop - drop a dentry*@dentry: dentry to drop* d_drop() unhashes the entry from the parent dentry hashes, so that it won't* be found through a VFS lookup any more
498  pprev = NULL
499  write_seqcount_invalidate - invalidate in-progress read-side seq operations*@s: pointer to seqcount_t* After write_seqcount_invalidate, no read-side seq operations will complete* successfully and see data older than this.
调用者
名称描述
d_drop
__dentry_kill
d_invalidate废除目录项
d_delete删除目录项