函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:fdt_supernode_atdepth_offset

函数原型:int fdt_supernode_atdepth_offset(const void *fdt, int nodeoffset, int supernodedepth, int *nodedepth)

返回类型:int

参数:

类型参数名称
const void *fdt
intnodeoffset
intsupernodedepth
int *nodedepth
576  supernodeoffset等于负"Can't happen" error indicating a bug in libfdt
580  如果supernodedepth小于0则返回:负Error codes: informative error codes
583 offset大于等于0且offset小于等于nodeoffset循环
586  如果depth恒等于supernodedepthsupernodeoffset等于offset
589  如果offset恒等于nodeoffset
590  如果nodedepthnodedepth等于depth
595  否则返回:supernodeoffset
600  如果offset恒等于负Error codes: informative error codes offset大于等于0则返回:负Error codes: codes for bad parameters
602  否则如果offset恒等于负Error codes: codes for bad parameters 则返回:负FDT_ERR_BADVERSION: Given device tree has a version which* can't be handled by the requested operation. For* read-write functions, this may mean that fdt_open_into() is* required to convert the tree to the expected version.
605  返回:offset
调用者
名称描述
fdt_node_depth
fdt_parent_offset