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:Lock a dentry from shrink list
Proto:static bool shrink_lock_dentry(struct dentry *dentry)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct dentry * | dentry |
| 1062 | If count Then Return false |
| 1067 | spin_unlock( & d_lock) |
| 1068 | spin_lock( & _blocks, i_bytes, maybe i_size ) |
| 1070 | If Value for the false possibility is greater at compile time(count) Then Go to out |
| 1077 | parent = parent directory |
| 1081 | spin_unlock( & d_lock) |
| 1083 | If Value for the false possibility is greater at compile time(parent != parent directory ) Then |
| 1088 | spin_lock_nested( & d_lock, DENTRY_D_LOCK_NESTED) |
| 1089 | If Value is more likely to compile time(!count) Then Return true |
| 1091 | spin_unlock( & d_lock) |
| 1092 | out : |
| 1093 | If inode Then spin_unlock( & _blocks, i_bytes, maybe i_size ) |
| 1095 | Return false |
| Name | Describe |
|---|---|
| shrink_dentry_list | |
| shrink_dcache_parent | prune dcache |
| 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 |