Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:'complete' state: Enter this state after fdt_finish()* Allowed functions: none

Proto:static void *fdt_grab_space_(void *fdt, size_t len)

Type:void

Parameter:

TypeParameterName
void *fdt
size_tlen
92  offset = fdt_size_dt_struct(fdt)
95  spaceleft = fdt_totalsize(fdt) - fdt_off_dt_struct(fdt) - fdt_size_dt_strings(fdt)
98  If offset + len < offset || offset + len > spaceleft Then Return NULL
101  fdt_set_size_dt_struct(fdt, offset + len)
102  Return fdt_offset_ptr_w_(fdt, offset)