函数逻辑报告 |
Source Code:fs\dcache.c |
Create Date:2022-07-29 10:37:32 |
Last Modify:2020-03-18 10:27:32 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:d_set_d_op
函数原型:void d_set_d_op(struct dentry *dentry, const struct dentry_operations *op)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct dentry * | dentry | |
const struct dentry_operations * | op |
1837 | WARN_ON_ONCE(d_op) |
1838 | WARN_ON_ONCE( protected by d_lock & (d_flags entries | DCACHE_OP_COMPARE | DCACHE_OP_REVALIDATE | DCACHE_OP_WEAK_REVALIDATE | DCACHE_OP_DELETE | DCACHE_OP_REAL)) |
1845 | 如果非op则返回 |
1847 | 如果d_hash则 protected by d_lock 或等于d_flags entries |
1849 | 如果d_compare则 protected by d_lock 或等于DCACHE_OP_COMPARE |
1851 | 如果d_revalidate则 protected by d_lock 或等于DCACHE_OP_REVALIDATE |
1855 | 如果d_delete则 protected by d_lock 或等于DCACHE_OP_DELETE |
1857 | 如果d_prune则 protected by d_lock 或等于DCACHE_OP_PRUNE |
1859 | 如果d_real则 protected by d_lock 或等于DCACHE_OP_REAL |
名称 | 描述 |
---|---|
__d_alloc | __d_alloc - allocate a dcache entry*@sb: filesystem it will belong to*@name: qstr of the name* Allocates a dentry. It returns %NULL if there is insufficient memory* available. On a success the dentry is returned. The name passed in is |
simple_lookup | Lookup the data. This is trivial - if the dentry didn't already* exist, we know it is negative. Set d_op to delete negative dentries. |
__fscrypt_prepare_lookup |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |