函数逻辑报告 |
Source Code:scripts\dtc\libfdt\fdt_rw.c |
Create Date:2022-07-27 07:15:58 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:fdt_add_property_
函数原型:static int fdt_add_property_(void *fdt, int nodeoffset, const char *name, int len, struct fdt_property **prop)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| void * | fdt | |
| int | nodeoffset | |
| const char * | name | |
| int | len | |
| struct fdt_property ** | prop |
| 197 | 如果nextoffset等于fdt_check_node_offset_(fdt, nodeoffset)小于0则返回:nextoffset |
| 200 | namestroff等于fdt_find_add_string_(fdt, name, & allocated) |
| 201 | 如果namestroff小于0则返回:namestroff |
| 204 | prop等于fdt_offset_ptr_w_(fdt, nextoffset) |
| 205 | proplen等于prop的长度加FDT_TAGALIGN(len) |
| 207 | err等于fdt_splice_struct_(fdt, * prop, 0, proplen) |
| 208 | 如果err则 |
| 211 | 返回:err |
| 215 | nameoff等于cpu_to_fdt32(namestroff) |
| 216 | len等于cpu_to_fdt32(len) |
| 217 | 返回:0 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |