Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:scripts\dtc\libfdt\fdt_wip.c Create Date:2022-07-28 06:18:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:fdt_setprop_inplace

Proto:int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, const void *val, int len)

Type:int

Parameter:

TypeParameterName
void *fdt
intnodeoffset
const char *name
const void *val
intlen
39  propval = fdt_getprop(fdt, nodeoffset, name, & proplen)
40  If Not propval Then Return proplen
43  If proplen != len Then Return -FDT_ERR_EXISTS: Attempted to create a node or property which* already exists
46  Return fdt_setprop_inplace_namelen_partial(fdt, nodeoffset, name, strlen(name), 0, val, len)