函数逻辑报告 |
Source Code:fs\super.c |
Create Date:2022-07-29 10:32:24 |
Last Modify:2022-05-24 06:42:17 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:get_tree_bdev - Get a superblock based on a single block device*@fc: The filesystem context holding the parameters*@fill_super: Helper to initialise a new superblock
函数原型:int get_tree_bdev(struct fs_context *fc, int (*fill_super)(struct super_block *, struct fs_context *))
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct fs_context * | fc | |
int (* | fill_super |
1284 | error等于0 |
1286 | 如果非sb_flags按位与Mount read-only 的值则mode或等于le is open for writing |
1292 | bdev等于blkdev_get_by_path(source, mode, fs_type) |
1293 | 如果是错误则 |
1295 | 返回:错误 |
1302 | mutex_lock( & Mutex for freeze ) |
1303 | 如果 The counter of freeze processes 大于0则 |
1305 | blkdev_put(bdev, mode) |
1307 | 返回:负EBUSY |
1314 | 如果是错误则 |
1315 | blkdev_put(bdev, mode) |
1316 | 返回:错误 |
1319 | 如果s_root则 |
1321 | 如果sb_flags按位异或s_flags的值按位与Mount read-only 则 |
1324 | blkdev_put(bdev, mode) |
1325 | 返回:负EBUSY |
1335 | lease a write lock |
1336 | blkdev_put(bdev, mode) |
1337 | lock for writing |
1338 | 否则 |
1341 | sb_set_blocksize(s, block_size(bdev)) |
1342 | error等于fill_super(s, fc) |
1343 | 如果error则 |
1345 | 返回:error |
1354 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |