函数逻辑报告 | 
Source Code:fs\fs_context.c | 
Create Date:2022-07-29 10:44:03 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Add a parameter to a legacy config. We build up a comma-separated list of* options.
函数原型:static int legacy_parse_param(struct fs_context *fc, struct fs_parameter *param)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct fs_context * | fc | |
| struct fs_parameter * | param | 
| 559 | ctx等于fs_private | 
| 561 | len等于0 | 
| 563 | 如果字符串比较恒等于0则 | 
| 569 | string = NULL | 
| 570 | 返回:0 | 
| 573 | 如果param_type恒等于LEGACY_FS_MONOLITHIC_PARAMS则返回:valf - Store supplementary invalid argument error message*@fc: The context in which to log the error message*@fmt: The format string* Store the supplementary error message for the process if the process has* enabled the facility and return -EINVAL.(fc, "VFS: Legacy: Can't mix monolithic and individual options") | 
| 583 | 默认 | 
| 584 | 返回:valf - Store supplementary invalid argument error message*@fc: The context in which to log the error message*@fmt: The format string* Store the supplementary error message for the process if the process has* enabled the facility and return -EINVAL.(fc, "VFS: Legacy: Parameter type for '%s' not supported", Parameter name ) | 
| 595 | 如果非 Data page for legacy filesystems 则 | 
| 597 | 如果非 Data page for legacy filesystems 则返回:负ENOMEM | 
| 601 | Data page for legacy filesystems [size++]等于',' | 
| 603 | memcpy( Data page for legacy filesystems + size, Parameter name , len) | 
| 605 | 如果The type of value here 恒等于Value is a string 则 | 
| 606 | Data page for legacy filesystems [size++]等于'=' | 
| 607 | memcpy( Data page for legacy filesystems + size, string, size) | 
| 610 | Data page for legacy filesystems [size]等于'\0' | 
| 613 | 返回:0 | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |