函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:fdt_property_placeholder

函数原型:int fdt_property_placeholder(void *fdt, const char *name, int len, void **valp)

返回类型:int

参数:

类型参数名称
void *fdt
const char *name
intlen
void **valp
294  如果sw_flags(fdt)按位与dt_create_with_flags flags
295  allocated等于1
296  nameoff等于fdt_add_string_(fdt, name)
297  否则
298  nameoff等于fdt_find_add_string_(fdt, name, & allocated)
300  如果nameoff恒等于0则返回:负FDT_ERR_EXISTS: Attempted to create a node or property which* already exists
303  prop等于'complete' state: Enter this state after fdt_finish()* Allowed functions: none
304  如果非prop
305  如果allocatedMust only be used to roll back in case of error
307  返回:负FDT_ERR_EXISTS: Attempted to create a node or property which* already exists
310  tag等于cpu_to_fdt32(Property: name off,size, content )
311  nameoff等于cpu_to_fdt32(nameoff)
312  len等于cpu_to_fdt32(len)
313  valp等于data
314  返回:0
调用者
名称描述
fdt_property