Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:fdt_mem_rsv

Proto:static const struct fdt_reserve_entry *fdt_mem_rsv(const void *fdt, int n)

Type:struct fdt_reserve_entry

Parameter:

TypeParameterName
const void *fdt
intn
150  offset = n * sizeof(structfdt_reserve_entry)
151  absoffset = fdt_off_mem_rsvmap(fdt) + offset
153  If absoffset < fdt_off_mem_rsvmap(fdt) Then Return NULL
155  If absoffset > fdt_totalsize(fdt) - sizeof(structfdt_reserve_entry) Then Return NULL
157  Return fdt_mem_rsv_(fdt, n)