Function report |
Source Code:fs\super.c |
Create Date:2022-07-28 20:02:28 |
| Last Modify:2022-05-24 06:42:17 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:vfs_get_super - Get a superblock with a search key set in s_fs_info.*@fc: The filesystem context holding the parameters*@keying: How to distinguish superblocks*@fill_super: Helper to initialise a new superblock
Proto:int vfs_get_super(struct fs_context *fc, enum vfs_get_super_keying keying, int (*fill_super)(struct super_block *sb, struct fs_context *fc))
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct fs_context * | fc | |
| enum vfs_get_super_keying | keying | |
| int (* | fill_super |
| 1167 | int( * test)(struct super_block * , struct fs_context * ) |
| 1172 | Case keying == Only one such superblock may exist |
| 1173 | Case keying == As above, but reconfigure if it exists |
| 1174 | test = test_single_super |
| 1175 | Break |
| 1177 | test = test_keyed_super |
| 1178 | Break |
| 1179 | Case keying == Multiple independent superblocks may exist |
| 1180 | test = NULL |
| 1181 | Break |
| 1182 | Default |
| 1183 | BUG() |
| 1190 | If Not s_root Then |
| 1191 | err = fill_super(sb, fc) |
| 1196 | root = get a reference to a dentry |
| 1197 | Else |
| 1198 | root = get a reference to a dentry |
| 1199 | If keying == As above, but reconfigure if it exists Then |
| 1209 | Return 0 |
| 1211 | error : |
| 1213 | Return err |
| Name | Describe |
|---|---|
| get_tree_nodev | |
| get_tree_single | |
| get_tree_single_reconf | |
| get_tree_keyed |
| 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 |