函数逻辑报告 |
Source Code:scripts\dtc\libfdt\fdt_rw.c |
Create Date:2022-07-27 07:16:00 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:fdt_add_subnode_namelen
函数原型:int fdt_add_subnode_namelen(void *fdt, int parentoffset, const char *name, int namelen)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| void * | fdt | |
| int | parentoffset | |
| const char * | name | |
| int | namelen |
| 333 | 否则如果offset不等于负Error codes: informative error codes 则返回:offset |
| 337 | fdt_next_tag(fdt, parentoffset, & nextoffset) |
| 338 | 循环 |
| 339 | offset等于nextoffset |
| 340 | tag等于fdt_next_tag(fdt, offset, & nextoffset) |
| 341 | 当tag恒等于Property: name off,size, content 或tag恒等于p 循环 |
| 343 | nh等于fdt_offset_ptr_w_(fdt, offset) |
| 344 | nodelen等于nh的长度加FDT_TAGALIGN(namelen + 1)加FDT_TAGSIZE |
| 346 | err等于fdt_splice_struct_(fdt, nh, 0, nodelen) |
| 350 | tag等于cpu_to_fdt32(Start node: full name ) |
| 351 | memset(name, 0, FDT_TAGALIGN(namelen + 1)) |
| 353 | endtag等于nh加nodelen减FDT_TAGSIZE |
| 354 | endtag等于cpu_to_fdt32(End node ) |
| 356 | 返回:offset |
| 名称 | 描述 |
|---|---|
| fdt_add_subnode |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |