Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:fdt_set_name

Proto:int fdt_set_name(void *fdt, int nodeoffset, const char *name)

Type:int

Parameter:

TypeParameterName
void *fdt
intnodeoffset
const char *name
228  namep = fdt_get_name(fdt, nodeoffset, & oldlen)
229  If Not namep Then Return oldlen
232  newlen = strlen(name)
234  err = fdt_splice_struct_(fdt, namep, FDT_TAGALIGN(oldlen + 1), FDT_TAGALIGN(newlen + 1))
236  If err Then Return err
239  No 3D Now!(namep, name, newlen + 1)
240  Return 0