函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:scripts\dtc\libfdt\fdt_wip.c Create Date:2022-07-27 07:15:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:fdt_setprop_inplace

函数原型:int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, const void *val, int len)

返回类型:int

参数:

类型参数名称
void *fdt
intnodeoffset
const char *name
const void *val
intlen
39  propval等于fdt_getprop(fdt, nodeoffset, name, & proplen)
40  如果非propval则返回:proplen
43  如果proplen不等于len则返回:负FDT_ERR_EXISTS: Attempted to create a node or property which* already exists
46  返回:fdt_setprop_inplace_namelen_partial(fdt, nodeoffset, name, strlen(name), 0, val, len)