| 函数逻辑报告 | 
| Source Code: fs\super.c | Create Date:2022-07-29 10:32:23 | 
| Last Modify:2022-05-24 06:42:17 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:gure_super - asks filesystem to change superblock parameters*@fc: The superblock and configuration* Alters the configuration parameters of a live superblock.
函数原型:int reconfigure_super(struct fs_context *fc)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct fs_context * | fc | 
| 907 | bool remount_ro = false | 
| 912 | 如果frozen不等于SB_UNFROZEN则返回:负EBUSY | 
| 915 | retval等于security_sb_remount(sb, security) | 
| 919 | 如果sb_flags_mask按位与Mount read-only 则 | 
| 921 | 如果非sb_flags按位与Mount read-only 的值且bdev_read_only(s_bdev)则返回:负EACCES | 
| 925 | remount_ro等于sb_flags按位与Mount read-only 且非sb_rdonly(sb) | 
| 928 | 如果remount_ro则 | 
| 929 | 如果非hlist_empty( & s_pins)则 | 
| 931 | s_pin.c | 
| 932 | lock for writing | 
| 933 | 如果非s_root则返回:0 | 
| 935 | 如果frozen不等于SB_UNFROZEN则返回:负EBUSY | 
| 937 | remount_ro等于非sb_rdonly(sb) | 
| 940 | 缩小一个超级块的数据缓存 | 
| 945 | 如果remount_ro则 | 
| 956 | 如果reconfigure则 | 
| 967 | WRITE_ONCE(s_flags, ((s_flags & ~sb_flags_mask) | (sb_flags & sb_flags_mask))) | 
| 970 | smp_wmb() | 
| 971 | s_readonly_remount等于0 | 
| 981 | 如果remount_ro且s_bdev则invalidate_bdev(s_bdev) | 
| 983 | 返回:0 | 
| 985 | cancel_readonly : | 
| 986 | s_readonly_remount等于0 | 
| 987 | 返回:retval | 
| 名称 | 描述 | 
|---|---|
| do_emergency_remount_callback | |
| vfs_get_super | 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 | 
| reconfigure_single | |
| do_umount_root | |
| do_remount | hange filesystem flags. dir should be a physical root of filesystem.* If you've mounted a non-root directory somewhere and want to do remount* on it - tough luck. | 
| vfs_fsconfig_locked | Check the state and apply the configuration. Note that this function is* allowed to 'steal' the value by setting param->xxx to NULL before returning. | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |