| Function report | 
| Source Code: fs\dcache.c | Create Date:2022-07-28 20:07:31 | 
| Last Modify:2020-03-18 10:27:32 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:splice a disconnected dentry into the tree if one exists
Proto:struct dentry *d_splice_alias(struct inode *inode, struct dentry *dentry)
Type:struct dentry
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct inode * | inode | |
| struct dentry * | dentry | 
| 3005 | BUG_ON(!d_unhashed - is dentry hashed*@dentry: entry to check* Returns true if the dentry passed is not currently hashed.) | 
| 3010 | security_d_instantiate(dentry, inode) | 
| 3011 | spin_lock( & _blocks, i_bytes, maybe i_size ) | 
| 3013 | new = __d_find_any_alias(inode) | 
| 3016 | spin_unlock( & _blocks, i_bytes, maybe i_size ) | 
| 3019 | write_sequnlock( & rename_lock) | 
| 3022 | pr_warn_ratelimited("VFS: Lookup of '%s' in %s %s would have caused loop\n", name, name, s_id) | 
| 3031 | write_sequnlock( & rename_lock) | 
| 3032 | If err Then | 
| 3037 | Else | 
| 3039 | write_sequnlock( & rename_lock) | 
| 3041 | put an inode | 
| 3042 | Return new | 
| 3045 | out : | 
| 3047 | Return NULL | 
| Name | Describe | 
|---|---|
| d_add_ci | 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 | 
| 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 |