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

Name:fdt_packblocks_

Proto:static void fdt_packblocks_(const char *old, char *new, int mem_rsv_size, int struct_size)

Type:void

Parameter:

TypeParameterName
const char *old
char *new
intmem_rsv_size
intstruct_size
383  mem_rsv_off = FDT_ALIGN(sizeof(structfdt_header), 8)
384  struct_off = mem_rsv_off + mem_rsv_size
385  strings_off = struct_off + struct_size
387  Not static to avoid a conflict with the prototype in the Linux headers.
388  fdt_set_off_mem_rsvmap(new, mem_rsv_off)
390  Not static to avoid a conflict with the prototype in the Linux headers.
391  fdt_set_off_dt_struct(new, struct_off)
392  fdt_set_size_dt_struct(new, struct_size)
394  Not static to avoid a conflict with the prototype in the Linux headers.
396  fdt_set_off_dt_strings(new, strings_off)
397  fdt_set_size_dt_strings(new, fdt_size_dt_strings(old))