Function report |
Source Code:fs\inode.c |
Create Date:2022-07-28 20:07:56 |
Last Modify:2020-03-18 19:19:59 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:int invalidate_inodes(struct super_block *sb, bool kill_dirty)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct super_block * | sb | |
bool | kill_dirty |
675 | busy = 0 |
679 | again : |
680 | spin_lock( & s_inode_list_lock) |
682 | spin_lock( & _blocks, i_bytes, maybe i_size ) |
685 | Continue |
687 | If Misc & I_DIRTY_ALL && Not kill_dirty Then |
692 | If atomic_read( & i_count) Then |
698 | Misc |= Set when inode is about to be freed but still has dirty pages or buffers attached or the inode itself is still dirty |
699 | inode_lru_list_del(inode) |
702 | If need_resched() Then |
709 | spin_unlock( & s_inode_list_lock) |
713 | Return busy |
Name | Describe |
---|---|
__invalidate_device |
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 |