函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:fdt_node_offset_by_phandle

函数原型:int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle)

返回类型:int

参数:

类型参数名称
const void *fdt
uint32_tphandle
660  如果phandle恒等于0或phandle恒等于负1则返回:负FDT_ERR_BADPATH: Function was passed a badly formatted path* (e.g. missing a leading / for a function which requires an* absolute path)
671 offset大于等于0循环
674  如果fdt_get_phandle(fdt, offset)恒等于phandle则返回:offset
678  返回:offset