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

Name:fdt_nodename_eq_

Proto:static int fdt_nodename_eq_(const void *fdt, int offset, const char *s, int len)

Type:int

Parameter:

TypeParameterName
const void *fdt
intoffset
const char *s
intlen
17  p = fdt_get_name(fdt, offset, & olen)
19  If Not p || olen < len Then Return 0
23  If memcmp(p, s, len) != 0 Then Return 0
26  If p[len] == '\0' Then Return 1
28  Else if Not memchr(s, '@', len) && p[len] == '@' Then Return 1
30  Else Return 0