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

Name:fdt_find_add_string_

Proto:static int fdt_find_add_string_(void *fdt, const char *s, int *allocated)

Type:int

Parameter:

TypeParameterName
void *fdt
const char *s
int *allocated
270  strtab = fdt + fdt_totalsize(fdt)
271  strtabsize = fdt_size_dt_strings(fdt)
274  allocated = 0
276  p = fdt_find_string_(strtab - strtabsize, strtabsize, s)
277  If p Then Return p - strtab
280  allocated = 1
282  Return fdt_add_string_(fdt, s)