Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- arch/arm/boot/compressed/atags_to_fdt.c, line 154
- arch/mips/generic/init.c, line 130
- arch/mips/loongson64/env.c, line 103
- arch/mips/mti-malta/malta-dtshim.c, line 309
- arch/powerpc/boot/libfdt-wrapper.c
- drivers/firmware/efi/libstub/fdt.c, line 55
- drivers/of/kexec.c, line 325
- kernel/liveupdate/kexec_handover.c
- scripts/dtc/fdtoverlay.c, line 59
- scripts/dtc/libfdt/fdt_empty_tree.c, line 37
Smatch caller information:
drivers/of/kexec.c of_kexec_alloc_and_setup_fdt() -> fdt_open_into()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fdt | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 1-18446744073709551614 |
| BUF_SIZE | 1 | buf | 0-u64max |
| DATA_SOURCE | 1 | buf | r __kvmalloc_node_noprof |
| UNITS | 2 | bufsize | unit_byte |
lib/fdt_empty_tree.c fdt_create_empty_tree() -> fdt_open_into()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fdt->last_comp_version | 16 |
| PARAM_VALUE | 0 | fdt->magic | 3490578157 |
| PARAM_VALUE | 0 | fdt->off_dt_strings | 0-4294967295 |
| PARAM_VALUE | 0 | fdt->off_dt_struct | 16-2147483663 |
| PARAM_VALUE | 0 | fdt->off_mem_rsvmap | 48 |
| PARAM_VALUE | 0 | fdt->size_dt_struct | 4-4294967295 |
| PARAM_VALUE | 0 | fdt->totalsize | 0-4294967295 |
| PARAM_VALUE | 0 | fdt->version | 17 |
| PARAM_VALUE | 1 | buf->last_comp_version | 16 |
| PARAM_VALUE | 1 | buf->magic | 3490578157 |
| PARAM_VALUE | 1 | buf->off_dt_strings | 0-4294967295 |
| PARAM_VALUE | 1 | buf->off_dt_struct | 16-2147483663 |
| PARAM_VALUE | 1 | buf->off_mem_rsvmap | 48 |
| PARAM_VALUE | 1 | buf->size_dt_struct | 4-4294967295 |
| PARAM_VALUE | 1 | buf->totalsize | 0-4294967295 |
| PARAM_VALUE | 1 | buf->version | 17 |
| PARAM_VALUE | 2 | bufsize | 48-s32max |
| DATA_SOURCE | 0 | fdt | $0 |
| DATA_SOURCE | 1 | buf | $0 |
| DATA_SOURCE | 2 | bufsize | $1 |
| MEM_ZERO | 0 | fdt | |
| MEM_ZERO | 1 | buf |
kernel/liveupdate/kexec_handover.c kho_add_subtree() -> fdt_open_into()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fdt | 0,18379471554275704832,18446612682070032384,(-22),(-12),(-7) |
| PARAM_VALUE | 1 | buf | 0,18379471554275704832,18446612682070032384,(-22),(-12),(-7) |
| PARAM_VALUE | 2 | bufsize | 4096 |
| UNITS | 2 | bufsize | unit_byte |
| LOCK2 | _T->lock |
kernel/liveupdate/kexec_handover.c kho_remove_subtree() -> fdt_open_into()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fdt | 0,18379471554275704832,18446612682070032384,(-22),(-12),(-7) |
| PARAM_VALUE | 1 | buf | 0,18379471554275704832,18446612682070032384,(-22),(-12),(-7) |
| PARAM_VALUE | 2 | bufsize | 4096 |
| UNITS | 2 | bufsize | unit_byte |
| LOCK2 | _T->lock |