函数逻辑报告 | 
Source Code:fs\fsopen.c | 
Create Date:2022-07-29 10:44:26 | 
| Last Modify:2022-05-24 07:35:12 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Open a filesystem by name so that it can be configured for mounting.* We are allowed to specify a container in which the filesystem will be* opened, thereby indicating which namespaces will be used (notably, which
函数原型:SYSCALL_DEFINE2(fsopen, const char __user *, _fs_name, unsigned int, flags)
返回类型:
参数:无
| 122 | 如果非ns_capable(user_ns, Allow setting zone reclaim policy )则返回:负EPERM | 
| 125 | 如果flags按位与sopen() flags.的反则返回:负EINVAL | 
| 132 | fs_type等于get_fs_type(fs_name) | 
| 133 | 释放内存 | 
| 137 | fc等于fs_context_for_mount(fs_type, 0) | 
| 138 | put_filesystem(fs_type) | 
| 144 | ret等于fscontext_alloc_log(fc) | 
| 150 | err_fc : | 
| 152 | 返回:ret | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |