| Function report | 
| Source Code: fs\super.c | Create Date:2022-07-28 20:02:24 | 
| Last Modify:2022-05-24 06:42:17 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:grab_super - acquire an active reference*@s: reference we are trying to make active* Tries to acquire an active reference. grab_super() is used when we* had just found a superblock in super_blocks or fs_type->fs_supers
Proto:static int grab_super(struct super_block *s)__releases(sb_lock)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct super_block * | s | 
| 387 | s_count++ | 
| 388 | spin_unlock( & sb_lock) | 
| 389 | lock for writing | 
| 396 | Return 0 | 
| Name | Describe | 
|---|---|
| sget_fc | sget_fc - Find or create a superblock*@fc: Filesystem context | 
| sget | find or create a superblock | 
| get_active_super | get_active_super - get an active reference to the superblock of a device*@bdev: device to get the superblock for* Scans the superblock list and finds the superblock of the file system* mounted on the device given. Returns the superblock with an active | 
| 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 |