Function report |
Source Code:fs\dcache.c |
Create Date:2022-07-28 20:07:27 |
| Last Modify:2020-03-18 10:27:32 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Try to kill dentries associated with this inode.* WARNING: you must own a reference to inode.
Proto:void d_prune_aliases(struct inode *inode)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct inode * | inode |
| 1026 | restart : |
| 1027 | spin_lock( & _blocks, i_bytes, maybe i_size ) |
| 1030 | If Not count Then |
| 1031 | parent = lock_parent(dentry) |
| 1032 | If Value is more likely to compile time(!count) Then |
| 1033 | __dentry_kill(dentry) |
| 1035 | Go to restart |
| 1037 | If parent Then spin_unlock( & d_lock) |
| 1040 | spin_unlock( & d_lock) |
| 1042 | spin_unlock( & _blocks, i_bytes, maybe i_size ) |
| Name | Describe |
|---|---|
| shrink_dcache_inode | Try to evict the inode's dentries from the dentry cache. If the inode is a* directory, then it can have at most one dentry; however, that dentry may be* pinned by child dentries, so first try to evict the children too. |
| 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 |