函数逻辑报告 |
Source Code:include\linux\dcache.h |
Create Date:2022-07-27 06:43:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:d_is_negative
函数原型:static inline bool d_is_negative(const struct dentry *dentry)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct dentry * | dentry |
名称 | 描述 |
---|---|
lookup_fast | |
may_delete | Check whether we can remove a link victim from directory dir, check* whether the type of victim is right.* 1. We can't do it if dir is read-only (done in permission())* 2. We should have write and exec permissions on dir* 3 |
atomic_open | Attempt to atomically look up, create and open a file from a negative* dentry |
do_unlinkat | Make sure that the actual truncation of the file will occur outside its* directory's i_mutex. Truncate can take a long time if there is a lot of* writeout happening, and we don't want to prevent access to the directory* while waiting on the I/O. |
do_renameat2 | |
d_lru_add | |
d_lru_del | |
d_lru_isolate | These can only be called under the global LRU lock, ie during the* callback for freeing the LRU list. "isolate" removes it from the* LRU lists entirely, while shrink_move moves it to the indicated* private list. |
d_lru_shrink_move | |
d_is_positive | |
fsnotify_unlink | snotify_unlink - 'name' was unlinked* Caller must make sure that dentry->d_name is stable. |
fsnotify_rmdir | snotify_rmdir - directory 'name' was removed* Caller must make sure that dentry->d_name is stable. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |