函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\file.c Create Date:2022-07-27 21:41:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:s_deleted - test if a file has been completely unlinked*@dentry: dentry of file to test for deletion (NOT NULL)* Returns: %1 if deleted else %0

函数原型:static inline bool is_deleted(struct dentry *dentry)

返回类型:bool

参数:

类型参数名称
struct dentry *dentry
161  如果d_unlinked(dentry)且i_nlink恒等于0则返回:1
163  返回:0