Function report |
Source Code:fs\dcache.c |
Create Date:2022-07-28 20:07:28 |
| Last Modify:2020-03-18 10:27:32 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:select_collect2
Proto:static enum d_walk_ret select_collect2(void *_data, struct dentry *dentry)
Type:enum d_walk_ret
Parameter:
| Type | Parameter | Name |
|---|---|---|
| void * | _data | |
| struct dentry * | dentry |
| 1506 | ret = D_WALK_CONTINUE |
| 1511 | If protected by d_lock & DCACHE_SHRINK_LIST Then |
| 1512 | If Not count Then |
| 1515 | Return D_WALK_QUIT |
| 1517 | Else |
| 1518 | If protected by d_lock & DCACHE_LRU_LIST Then d_lru_del(dentry) |
| 1520 | If Not count Then d_shrink_add(dentry, & dispose) |
| 1528 | If Not list_empty - tests whether a list is empty*@head: the list to test. Then ret = If need_resched() Then D_WALK_QUIT Else D_WALK_NORETRY |
| 1530 | out : |
| 1531 | Return ret |
| 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 |