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:shrink_dentry_list
Proto:void shrink_dentry_list(struct list_head *list)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct list_head * | list |
| 1106 | If Not Lock a dentry from shrink list Then |
| 1107 | bool can_free = false |
| 1109 | d_shrink_del(dentry) |
| 1110 | If count < 0 Then can_free = protected by d_lock & DCACHE_MAY_FREE |
| 1112 | spin_unlock( & d_lock) |
| 1113 | If can_free Then dentry_free(dentry) |
| 1115 | Continue |
| 1118 | d_shrink_del(dentry) |
| 1119 | parent = parent directory |
| 1120 | If parent != dentry Then __dput_to_list(parent, list) |
| 1122 | __dentry_kill(dentry) |
| Name | Describe |
|---|---|
| prune_dcache_sb | prune_dcache_sb - shrink the dcache*@sb: superblock*@sc: shrink control, passed to list_lru_shrink_walk()* Attempt to shrink the superblock dcache LRU by @sc->nr_to_scan entries |
| shrink_dcache_sb | shrink dcache for a superblock |
| shrink_dcache_parent | prune dcache |
| mntput_no_expire | |
| namespace_unlock |
| 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 |