函数逻辑报告 |
Source Code:block\cmdline-parser.c |
Create Date:2022-07-27 19:37:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:parse_parts
函数原型:static int parse_parts(struct cmdline_parts **parts, const char *bdevdef)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cmdline_parts ** | parts | |
const char * | bdevdef |
99 | * parts = NULL |
105 | next等于strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for |
106 | 如果非next则 |
111 | length等于min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(int, next - bdevdef, block device, such as 'mmcblk0' 的长度 - 1) |
113 | block device, such as 'mmcblk0' [length]等于'\0' |
114 | nr_subparts等于0 |
116 | next_subpart等于subpart |
120 | next等于strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for |
122 | length等于如果非next则buf的长度减1否则min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(int, next - bdevdef, buf的长度 - 1) |
128 | ret等于parse_subpart(next_subpart, buf) |
132 | nr_subparts自加 |
133 | next_subpart等于next_subpart |
136 | 如果非subpart则 |
144 | 返回:0 |
145 | fail : |
146 | free_subpart(newparts) |
147 | 释放内存 |
148 | 返回:ret |
名称 | 描述 |
---|---|
cmdline_parts_parse |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |