Function report |
Source Code:fs\dcache.c |
Create Date:2022-07-28 20:07:29 |
| Last Modify:2020-03-18 10:27:32 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:d_add_ci - lookup or allocate new dentry with case-exact name*@inode: the inode case-insensitive lookup has found*@dentry: the negative dentry that was passed to the parent's lookup func*@name: the case-exact name to be associated with the returned
Proto:struct dentry *d_add_ci(struct dentry *dentry, struct inode *inode, struct qstr *name)
Type:struct dentry
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct dentry * | dentry | |
| struct inode * | inode | |
| struct qstr * | name |
| 2143 | If found Then |
| 2144 | put an inode |
| 2145 | Return found |
| 2147 | If d_in_lookup(dentry) Then |
| 2148 | found = d_alloc_parallel( parent directory , name, in-lookup ones only ) |
| 2150 | If IS_ERR(found) || Not d_in_lookup(found) Then |
| 2151 | put an inode |
| 2152 | Return found |
| 2154 | Else |
| 2162 | If res Then |
| 2164 | Return res |
| 2166 | Return found |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |