Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 12 files:
- arch/arm/mach-mvebu/coherency.c, line 190
- arch/powerpc/kernel/pci_32.c, line 224
- arch/powerpc/kexec/core.c
- arch/powerpc/kexec/core_64.c
- arch/powerpc/platforms/ps3/os-area.c, line 267
- arch/powerpc/platforms/pseries/iommu.c
- arch/powerpc/platforms/pseries/reconfig.c, line 292
- drivers/macintosh/smu.c, line 999
- drivers/of/base.c, line 1798
- drivers/of/unittest.c
- drivers/pinctrl/pinctrl-single.c, line 1774
- drivers/soc/fsl/qbman/dpaa_sys.c, line 87
Smatch caller information:
drivers/of/unittest.c of_unittest_dynamic() -> of_add_property()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 1-u64max |
| PARAM_VALUE | 1 | prop | 4096-ptr_max |
| PARAM_VALUE | 1 | prop->length | 18 |
| PARAM_VALUE | 1 | prop->name | 4650325825125318656 |
| PARAM_VALUE | 1 | prop->value | 6689000102538588160 |
| PARAM_VALUE | 1 | *prop->value | 0-255 |
| BUF_SIZE | 0 | np | (-1)-0,392 |
| BUF_SIZE | 0 | np | (-1)-0,392 |
| BUF_SIZE | 1 | prop | 544 |
| BUF_SIZE | 1 | prop | 544 |
| BUF_SIZE | 1 | prop->name | 13 |
| BUF_SIZE | 1 | prop->value | 18 |
| DATA_SOURCE | 0 | np | r of_find_node_by_path |
| DATA_SOURCE | 1 | prop | r _kzalloc_noprof |
| STR_LEN | 1 | prop->name | 12 |
| STR_LEN | 1 | prop->value | 17 |
| TERMINATED | 1 | prop->name | 1 |
| TERMINATED | 1 | prop->value | 1 |
drivers/of/unittest.c of_unittest_dynamic() -> of_add_property()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | prop | 4097-ptr_max |
| PARAM_VALUE | 1 | prop->length | 30 |
| PARAM_VALUE | 1 | prop->name | 4650325825125318656 |
| PARAM_VALUE | 1 | prop->next | 0 |
| PARAM_VALUE | 1 | prop->value | 3739203346741833728 |
| PARAM_VALUE | 1 | *prop->value | 0-255 |
| BUF_SIZE | 0 | np | (-1)-0,392 |
| BUF_SIZE | 0 | np | (-1)-0,392 |
| BUF_SIZE | 1 | prop->name | 13 |
| BUF_SIZE | 1 | prop->value | 30 |
| DATA_SOURCE | 0 | np | r of_find_node_by_path |
| STR_LEN | 1 | prop->name | 12 |
| STR_LEN | 1 | prop->value | 29 |
| TERMINATED | 1 | prop->name | 1 |
| TERMINATED | 1 | prop->value | 1 |
drivers/of/unittest.c of_unittest_dynamic() -> of_add_property()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | prop | 4099-ptr_max |
| PARAM_VALUE | 1 | prop->attr.attr.mode | 256,292 |
| PARAM_VALUE | 1 | prop->attr.read | 2703055967964471296 |
| PARAM_VALUE | 1 | prop->attr.size | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 1 | prop->length | 32768 |
| PARAM_VALUE | 1 | prop->name | 1866346711622909952 |
| PARAM_VALUE | 1 | prop->value | 4096-ptr_max |
| BUF_SIZE | 0 | np | (-1)-0,392 |
| BUF_SIZE | 0 | np | (-1)-0,392 |
| BUF_SIZE | 1 | prop->name | 27 |
| BUF_SIZE | 1 | prop->value | 32768 |
| DATA_SOURCE | 0 | np | r of_find_node_by_path |
| STR_LEN | 1 | prop->name | 26 |
| STR_LEN | 1 | prop->value | (-1) |
| TERMINATED | 1 | prop->name | 1 |
| TERMINATED | 1 | prop->value | 1 |
drivers/of/unittest.c update_node_properties() -> of_add_property()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 1-u64max |
| PARAM_VALUE | 1 | prop | 4096-ptr_max |
| BUF_SIZE | 0 | np | (-1)-0,392 |
| BUF_SIZE | 0 | np | (-1)-0,392 |
| DATA_SOURCE | 0 | np | $1 |
| HALF_LOCKED2 | global &of_overlay_phandle_mutex |
drivers/soc/fsl/qbman/dpaa_sys.c qbman_init_private_mem() -> of_add_property()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->full_name | 1-u64max |
| PARAM_VALUE | 0 | np->properties | 0,4096-ptr_max |
| PARAM_VALUE | 1 | prop | 4096-ptr_max |
| PARAM_VALUE | 1 | prop->length | 16 |
| PARAM_VALUE | 1 | prop->name | 1-u64max |
| PARAM_VALUE | 1 | prop->value | 4096-ptr_max |
| BUF_SIZE | 1 | prop | 136 |
| BUF_SIZE | 1 | prop->name | 1-1010102 |
| DATA_SOURCE | 1 | prop | r devm_kzalloc |
| MEM_ZERO | 1 | prop | |
| MEM_ZERO | 1 | prop->value | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pinctrl/pinctrl-single.c pcs_quirk_missing_pinctrl_cells() -> of_add_property()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->properties | 4096-ptr_max |
| PARAM_VALUE | 1 | prop | 4096-ptr_max |
| PARAM_VALUE | 1 | prop->length | 4 |
| PARAM_VALUE | 1 | prop->name | 1-u64max |
| PARAM_VALUE | 1 | prop->value | 4096-ptr_max |
| BUF_SIZE | 1 | prop | 136 |
| DATA_SOURCE | 0 | np | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | np | unit_byte |