函数逻辑报告 |
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 |
函数名称:sget_fc - Find or create a superblock*@fc: Filesystem context
函数原型:struct super_block *sget_fc(struct fs_context *fc, int (*test)(struct super_block *, struct fs_context *), int (*set)(struct super_block *, struct fs_context *))
返回类型:struct super_block
参数:
类型 | 参数 | 名称 |
---|---|---|
struct fs_context * | fc | |
int (* | test | |
int (* | set |
515 | struct super_block * s = NULL |
520 | retry : |
521 | 加自旋锁 |
522 | 如果test则 |
524 | 如果test(old, fc)则转到:share_extant_sb |
528 | 如果非s则 |
529 | 自旋锁解锁 |
533 | 转到:retry |
538 | 如果err则 |
544 | s_fs_info = NULL |
547 | 长字符串复制 |
548 | 添加链表项 |
549 | hlist_add_head( & s_instances, & fs_supers) |
550 | 自旋锁解锁 |
551 | get_filesystem(s_type) |
552 | register_shrinker_prepared( & s_shrink) |
553 | 返回:s |
555 | share_extant_sb : |
564 | 返回:old |
名称 | 描述 |
---|---|
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 |
get_tree_bdev | 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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |