Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:fdt_offset_ptr

Proto:const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int len)

Type:void

Parameter:

TypeParameterName
const void *fdt
intoffset
unsigned intlen
111  absoffset = offset + fdt_off_dt_struct(fdt)
113  If absoffset < offset || absoffset + len < absoffset || absoffset + len > fdt_totalsize(fdt) Then Return NULL
118  If fdt_version(fdt) >= 0x11 Then If offset + len < offset || offset + len > fdt_size_dt_struct(fdt) Then
121  Return NULL
123  Return fdt_offset_ptr_(fdt, offset)