| 函数逻辑报告 | 
| Source Code: fs\inode.c | Create Date:2022-07-29 10:38:03 | 
| Last Modify:2020-03-18 19:19:59 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:validate_inodes - attempt to free all inodes on a superblock*@sb: superblock to operate on*@kill_dirty: flag to guide handling of dirty inodes* Attempts to free all inodes for a given superblock. If there were any
函数原型:int invalidate_inodes(struct super_block *sb, bool kill_dirty)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct super_block * | sb | |
| bool | kill_dirty | 
| 675 | busy等于0 | 
| 679 | again : | 
| 680 | 加自旋锁 | 
| 682 | 加自旋锁 | 
| 683 | 如果Misc 按位与I_NEW按位或I_FREEING按位或I_WILL_FREE的值则 | 
| 684 | 自旋锁解锁 | 
| 685 | 继续下一循环 | 
| 687 | 如果Misc 按位与I_DIRTY_ALL且非kill_dirty则 | 
| 692 | 如果atomic_read( & i_count)则 | 
| 699 | inode_lru_list_del(inode) | 
| 700 | 自旋锁解锁 | 
| 701 | 添加链表项 | 
| 702 | 如果need_resched()则 | 
| 709 | 自旋锁解锁 | 
| 713 | 返回:busy | 
| 名称 | 描述 | 
|---|---|
| __invalidate_device | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |