| 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:alloc_inode
Proto:static struct inode *alloc_inode(struct super_block *sb)
Type:struct inode
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct super_block * | sb | 
| 229 | If alloc_inode Then inode = alloc_inode(sb) | 
| 231 | Else inode = kmem_cache_alloc(inode_cachep, GFP_KERNEL) | 
| 234 | If Not inode Then Return NULL | 
| 238 | If destroy_inode Then | 
| 239 | destroy_inode(inode) | 
| 240 | If Not free_inode Then Return NULL | 
| 243 | free_inode = free_inode | 
| 244 | i_callback( & i_rcu) | 
| 245 | Return NULL | 
| 248 | Return inode | 
| Name | Describe | 
|---|---|
| new_inode_pseudo | w_inode_pseudo - obtain an inode*@sb: superblock* Allocates a new inode for given superblock.* Inode wont be chained in superblock s_inodes list* This means :* - fs can't be unmount* - quotas, fsnotify, writeback can't work | 
| iget5_locked | obtain an inode from a mounted file system | 
| iget_locked | obtain an inode from a mounted file system | 
| 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 |