| Function report | 
| Source Code: fs\inode.c | Create Date:2022-07-28 20:07:55 | 
| Last Modify:2020-03-18 19:19:59 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:clear an inode
Proto:void clear_inode(struct inode *inode)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct inode * | inode | 
| 527 | xa_lock_irq( & i_pages) | 
| 529 | BUG_ON(nrexceptional) | 
| 530 | xa_unlock_irq( & i_pages) | 
| 532 | BUG_ON(!(Misc & Set when inode is about to be freed but still has dirty pages or buffers attached or the inode itself is still dirty)) | 
| 533 | BUG_ON(Misc & Added by clear_inode()) | 
| 536 | Misc = Set when inode is about to be freed but still has dirty pages or buffers attached or the inode itself is still dirty | Added by clear_inode() | 
| Name | Describe | 
|---|---|
| evict | Free the inode passed in, removing it from the lists it is still connected* to | 
| nsfs_evict | |
| bdev_evict_inode | |
| bm_evict_inode | 
| 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 |