Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- arch/arm/boot/compressed/fdt_check_mem_start.c
- arch/mips/loongson64/env.c
- drivers/of/fdt.c
- scripts/dtc/libfdt/fdt.c
- scripts/dtc/libfdt/fdt_ro.c
- scripts/dtc/libfdt/fdt_wip.c, line 78
Smatch caller information:
lib/fdt_wip.c fdt_node_end_offset_() -> fdt_next_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 0-s32max |
| PARAM_VALUE | 2 | depth | 6995728435654258688 |
| PARAM_VALUE | 2 | *depth | 0-s32max |
| DATA_SOURCE | 0 | fdt | $0 |
| DATA_SOURCE | 1 | offset | $1 [m] |
| HALF_LOCKED2 | _T->lock |
drivers/of/fdt.c of_scan_flat_dt() -> fdt_next_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fdt | 1-u64max |
| PARAM_VALUE | 1 | offset | (-1) |
| PARAM_VALUE | 2 | depth | 746036822244016128 |
| PARAM_VALUE | 2 | *depth | (-1) |
drivers/of/fdt.c of_scan_flat_dt() -> fdt_next_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fdt | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0-s32max |
| PARAM_VALUE | 2 | depth | 746036822244016128 |
| PARAM_VALUE | 2 | *depth | 0-s32max |
| CAPPED_DATA | 1 | offset | 1 |
drivers/of/fdt.c unflatten_dt_nodes() -> fdt_next_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fdt | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0-s32max |
| PARAM_VALUE | 2 | depth | 1105466704285188096 |
| PARAM_VALUE | 2 | *depth | 0-s32max |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 0 | fdt | $0 |
| FUZZY_MAX | 1 | offset | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &of_fdt_unflatten_mutex | ||
| HALF_LOCKED2 | irq |
lib/fdt_ro.c fdt_find_max_phandle() -> fdt_next_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | (-1)-s32max |
| PARAM_VALUE | 2 | depth | 0 |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 0 | fdt | $0 |
lib/fdt_ro.c fdt_get_path() -> fdt_next_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 0-s32max |
| PARAM_VALUE | 2 | depth | 3120790694260854784 |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 0 | fdt | $0 |
| FUZZY_MAX | 1 | offset | 0 |
lib/fdt_ro.c fdt_node_offset_by_compatible() -> fdt_next_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | depth | 0 |
| DATA_SOURCE | 0 | fdt | $0 |
| DATA_SOURCE | 1 | offset | $1 |
lib/fdt_ro.c fdt_node_offset_by_compatible() -> fdt_next_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 0-s32max |
| PARAM_VALUE | 2 | depth | 0 |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 0 | fdt | $0 |
lib/fdt_ro.c fdt_node_offset_by_phandle() -> fdt_next_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | (-1) |
| PARAM_VALUE | 2 | depth | 0 |
| DATA_SOURCE | 0 | fdt | $0 |
lib/fdt_ro.c fdt_node_offset_by_phandle() -> fdt_next_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 0-s32max |
| PARAM_VALUE | 2 | depth | 0 |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 0 | fdt | $0 |
lib/fdt_ro.c fdt_node_offset_by_prop_value() -> fdt_next_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | depth | 0 |
| DATA_SOURCE | 0 | fdt | $0 |
| DATA_SOURCE | 1 | offset | $1 |
lib/fdt_ro.c fdt_node_offset_by_prop_value() -> fdt_next_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 0-s32max |
| PARAM_VALUE | 2 | depth | 0 |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 0 | fdt | $0 |
lib/fdt_ro.c fdt_subnode_offset_namelen() -> fdt_next_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 0-s32max |
| PARAM_VALUE | 2 | depth | 8358745605791027200 |
| PARAM_VALUE | 2 | *depth | 0-s32max |
| DATA_SOURCE | 0 | fdt | $0 |
| DATA_SOURCE | 1 | offset | $1 [m] |
| STR_LEN | 0 | fdt | (-1)-1010101 |
| STR_LEN | 0 | fdt | (-1)-1010101 |
| STR_LEN | 1 | offset | (-1)-14 |
lib/fdt_ro.c fdt_supernode_atdepth_offset() -> fdt_next_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 0-s32max |
| PARAM_VALUE | 2 | depth | 3850778203085697024 |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 0 | fdt | $0 |
| FUZZY_MAX | 1 | offset | 0 |
| NO_OVERFLOW_SIMPLE | 1 | offset | |
| UNITS | 1 | offset | unit_byte |
lib/fdt.c fdt_first_subnode() -> fdt_next_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | depth | 8955363013452005376 |
| PARAM_VALUE | 2 | *depth | 0 |
| DATA_SOURCE | 0 | fdt | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq |
lib/fdt.c fdt_next_subnode() -> fdt_next_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 0-s32max |
| PARAM_VALUE | 2 | depth | 8593393969437540352 |
| PARAM_VALUE | 2 | *depth | 1-s32max |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 0 | fdt | $0 |
| DATA_SOURCE | 1 | offset | $1 [m] |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq |