函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:scripts\dtc\libfdt\fdt_ro.c Create Date:2022-07-27 07:15:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:fdt_getprop_by_offset

函数原型:const void *fdt_getprop_by_offset(const void *fdt, int offset, const char **namep, int *lenp)

返回类型:void

参数:

类型参数名称
const void *fdt
intoffset
const char **namep
int *lenp
457  prop等于fdt_get_property_by_offset_(fdt, offset, lenp)
458  如果非prop则返回:NULL
460  如果namep
463  name等于fdt_get_string(fdt, Alignment helpers:* These helpers access words from a device tree blob. They're* built to work even with unaligned pointers on platforms (ike* ARM) that don't like unaligned loads and stores, & namelen)
465  如果非name
466  如果lenplenp等于namelen
468  返回:NULL
470  namep等于name
474  如果fdt_version(fdt)小于0x10且offsetprop的长度的和取模8且Alignment helpers:* These helpers access words from a device tree blob. They're* built to work even with unaligned pointers on platforms (ike* ARM) that don't like unaligned loads and stores大于等于8则返回:data加4
477  返回:data
调用者
名称描述
fdt_check_full