| Function report | 
| Source Code: fs\ramfs\inode.c | Create Date:2022-07-28 20:34:49 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:ramfs_get_inode
Proto:struct inode *ramfs_get_inode(struct super_block *sb, const struct inode *dir, umode_t mode, dev_t dev)
Type:struct inode
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct super_block * | sb | |
| const struct inode * | dir | |
| umode_t | mode | |
| dev_t | dev | 
| 66 | inode = obtain an inode | 
| 68 | If inode Then | 
| 71 | a_ops = ramfs_aops | 
| 72 | This is non-atomic. Only to be used before the mapping is activated.* Probably needs a barrier... | 
| 76 | Default | 
| 77 | init_special_inode(inode, mode, dev) | 
| 78 | Break | 
| 79 | Case & == S_IFREG | 
| 80 | i_op = rnal.h: ramfs internal definitions* Copyright (C) 2005 Red Hat, Inc. All Rights Reserved.* Written by David Howells (dhowells@redhat.com) | 
| 82 | Break | 
| 83 | Case & == S_IFDIR | 
| 89 | Break | 
| 90 | Case & == S_IFLNK | 
| 96 | Return inode | 
| Name | Describe | 
|---|---|
| ramfs_mknod | SMP-safe | 
| ramfs_symlink | |
| ramfs_fill_super | 
| 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 |