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:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:fdt_splice_

Proto:static int fdt_splice_(void *fdt, void *splicepoint, int oldlen, int newlen)

Type:int

Parameter:

TypeParameterName
void *fdt
void *splicepoint
intoldlen
intnewlen
54  p = splicepoint
55  end = fdt + fdt_data_size_(fdt)
57  If p + oldlen < p || p + oldlen > end Then Return -Error codes: codes for bad parameters
59  If p < fdt || end - oldlen + newlen < fdt Then Return -Error codes: codes for bad parameters
61  If end - oldlen + newlen > fdt + fdt_totalsize(fdt) Then Return -FDT_ERR_EXISTS: Attempted to create a node or property which* already exists
63  Not static to avoid a conflict with the prototype in the Linux headers.
64  Return 0