函数逻辑报告 |
Source Code:fs\super.c |
Create Date:2022-07-29 10:32:22 |
Last Modify:2022-05-24 06:42:17 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:struct super_block *get_active_super(struct block_device *bdev)
返回类型:struct super_block
参数:
类型 | 参数 | 名称 |
---|---|---|
struct block_device * | bdev |
851 | 如果非bdev则返回:NULL |
854 | restart : |
855 | 加自旋锁 |
857 | 如果hlist_unhashed( & s_instances)则继续下一循环 |
863 | 返回:sb |
866 | 自旋锁解锁 |
867 | 返回:NULL |
名称 | 描述 |
---|---|
freeze_bdev | ze_bdev -- lock a filesystem and force it into a consistent state*@bdev: blockdevice to lock* If a superblock is found on this device, we take the s_umount semaphore* on it to make sure nobody unmounts until the snapshot creation is done |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |