函数逻辑报告 |
Source Code:fs\super.c |
Create Date:2022-07-29 10:32:26 |
| Last Modify:2022-05-24 06:42:17 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:ze_super - lock the filesystem and force it into a consistent state*@sb: the super to lock* Syncs the super to make sure the filesystem is consistent and calls the fs's* freeze_fs. Subsequent calls to this without first thawing the fs will return* -EBUSY.
函数原型:int freeze_super(struct super_block *sb)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct super_block * | sb | >s_writers.frozen is protected by sb->s_umount. |
| 1764 | atomic_inc( & s_active) |
| 1765 | lock for writing |
| 1766 | 如果frozen不等于SB_UNFROZEN则 |
| 1768 | 返回:负EBUSY |
| 1772 | lease a write lock |
| 1773 | 返回:0 |
| 1783 | frozen等于SB_FREEZE_WRITE |
| 1785 | lease a write lock |
| 1787 | lock for writing |
| 1790 | frozen等于SB_FREEZE_PAGEFAULT |
| 1797 | frozen等于SB_FREEZE_FS |
| 1800 | 如果freeze_fs则 |
| 1802 | 如果ret则 |
| 1816 | frozen等于SB_FREEZE_COMPLETE |
| 1818 | lease a write lock |
| 1819 | 返回:0 |
| 名称 | 描述 |
|---|---|
| ioctl_fsfreeze | |
| 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 插件可实现:逻辑报告 代码生成和批量转换代码 |