函数逻辑报告 |
Source Code:fs\namei.c |
Create Date:2022-07-29 10:34:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Parent directory has inode locked exclusive. This is one* and only case when ->lookup() gets called on non in-lookup* dentries - as the matter of fact, this only gets called* when directory is guaranteed to have no in-lookup children* at all.
函数原型:static struct dentry *__lookup_hash(const struct qstr *name, struct dentry *base, unsigned int flags)
返回类型:struct dentry
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct qstr * | name | |
struct dentry * | base | |
unsigned int | flags |
1531 | dentry等于This looks up the name in dcache and possibly revalidates the found dentry.* NULL is returned if the dentry does not exist in the cache. |
1539 | 如果此条件成立可能性小(为编译器优化)(IS_DEADDIR(dir))则返回:错误号 |
1543 | 如果此条件成立可能性小(为编译器优化)(!dentry)则返回:错误号 |
1547 | 如果此条件成立可能性小(为编译器优化)(old)则 |
1551 | 返回:dentry |
名称 | 描述 |
---|---|
kern_path_locked | does lookup, returns the object with parent locked |
filename_create | |
do_rmdir | |
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |