| Function report | 
| Source Code: fs\dcache.c | Create Date:2022-07-28 20:07:26 | 
| Last Modify:2020-03-18 10:27:32 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:retain_dentry
Proto:static inline bool retain_dentry(struct dentry *dentry)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct dentry * | dentry | 
| 637 | WARN_ON(d_in_lookup(dentry)) | 
| 640 | If Value for the false possibility is greater at compile time(d_unhashed - is dentry hashed*@dentry: entry to check* Returns true if the dentry passed is not currently hashed.) Then Return false | 
| 643 | If Value for the false possibility is greater at compile time( protected by d_lock & DCACHE_DISCONNECTED) Then Return false | 
| 651 | count-- | 
| 652 | If Value for the false possibility is greater at compile time(!( protected by d_lock & DCACHE_LRU_LIST)) Then d_lru_add(dentry) | 
| 654 | Else if Value for the false possibility is greater at compile time(!( protected by d_lock & Recently used, don't discard. )) Then protected by d_lock |= Recently used, don't discard. | 
| 656 | Return true | 
| Name | Describe | 
|---|---|
| dentry_kill | Finish off a dentry we've decided to kill.* Returns dentry requiring refcount drop, or NULL if we're done. | 
| dput | dput - release a dentry*@dentry: dentry to release * Release a dentry. This will drop the usage count and if appropriate* call the dentry unlink method as well as removing it from the queues and* releasing its resources | 
| dput_to_list | 
| 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 |