函数逻辑报告 |
Source Code:fs\fsopen.c |
Create Date:2022-07-29 10:44:27 |
Last Modify:2022-05-24 07:35:12 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:static int vfs_fsconfig_locked(struct fs_context *fc, int cmd, struct fs_parameter *param)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct fs_context * | fc | |
int | cmd | |
struct fs_parameter * | param |
222 | ret等于finish_clean_context(fc) |
226 | 当:cmd恒等于FSCONFIG_CMD_CREATE |
227 | 如果phase不等于FS_CONTEXT_CREATE_PARAMS则返回:负EBUSY |
229 | 如果非mount_capable(fc)则返回:负EPERM |
231 | phase等于FS_CONTEXT_CREATING |
236 | ret等于security_sb_kern_mount(sb) |
237 | 如果此条件成立可能性小(为编译器优化)(ret)则 |
238 | fc_drop_locked(fc) |
239 | 退出 |
243 | 返回:0 |
244 | 当:cmd恒等于FSCONFIG_CMD_RECONFIGURE |
245 | 如果phase不等于FS_CONTEXT_RECONF_PARAMS则返回:负EBUSY |
249 | 如果非ns_capable(s_user_ns, Allow setting zone reclaim policy )则 |
253 | lock for writing |
254 | ret等于gure_super - asks filesystem to change superblock parameters*@fc: The superblock and configuration* Alters the configuration parameters of a live superblock. |
259 | 返回:0 |
260 | 默认 |
261 | 如果phase不等于FS_CONTEXT_CREATE_PARAMS且phase不等于FS_CONTEXT_RECONF_PARAMS则返回:负EBUSY |
267 | phase等于FS_CONTEXT_FAILED |
268 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |