| 函数逻辑报告 | 
| Source Code: fs\super.c | Create Date:2022-07-29 10:32:21 | 
| Last Modify:2022-05-24 06:42:17 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称: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
函数原型:static int grab_super(struct super_block *s)__releases(sb_lock)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct super_block * | s | 
| 387 | s_count自加 | 
| 388 | 自旋锁解锁 | 
| 389 | lock for writing | 
| 396 | 返回:0 | 
| 名称 | 描述 | 
|---|---|
| sget_fc | sget_fc - Find or create a superblock*@fc: Filesystem context | 
| sget | 查找或创建超级块 | 
| 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 | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |