函数逻辑报告 |
Source Code:fs\fs_context.c |
Create Date:2022-07-29 10:44:01 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:alloc_fs_context - Create a filesystem context.*@fs_type: The filesystem type.*@reference: The dentry from which this one derives (or NULL)*@sb_flags: Filesystem/superblock flags (SB_*)*@sb_flags_mask: Applicable members of @sb_flags
函数原型:static struct fs_context *alloc_fs_context(struct file_system_type *fs_type, struct dentry *reference, unsigned int sb_flags, unsigned int sb_flags_mask, enum fs_context_purpose purpose)
返回类型:struct fs_context
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct file_system_type * | fs_type | |
| struct dentry * | reference | |
| unsigned int | sb_flags | |
| unsigned int | sb_flags_mask | |
| enum fs_context_purpose | purpose |
| 272 | mutex_init - initialize the mutex*@mutex: the mutex to be initialized* Initialize the mutex to unlocked state.* It is not allowed to initialize an already locked mutex.( & uapi_mutex) |
| 276 | user_ns等于get_user_ns(user_ns) |
| 277 | 退出 |
| 279 | user_ns等于get_user_ns(s_user_ns) |
| 280 | 退出 |
| 293 | ret等于init_fs_context(fc) |
| 296 | need_free = true |
| 297 | 返回:fc |
| 299 | err_fc : |
| 301 | 返回:错误号 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |