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_mem_rsv_

Proto:static int fdt_splice_mem_rsv_(void *fdt, struct fdt_reserve_entry *p, int oldn, int newn)

Type:int

Parameter:

TypeParameterName
void *fdt
struct fdt_reserve_entry *p
intoldn
intnewn
70  delta = (newn - oldn) * size of p
72  err = fdt_splice_(fdt, p, oldn * size of p , newn * size of p )
73  If err Then Return err
75  fdt_set_off_dt_struct(fdt, fdt_off_dt_struct(fdt) + delta)
76  fdt_set_off_dt_strings(fdt, fdt_off_dt_strings(fdt) + delta)
77  Return 0