Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 17 files:
- arch/powerpc/kernel/prom_parse.c, line 26
- arch/powerpc/kernel/setup-common.c, line 531
- arch/powerpc/kexec/ranges.c, line 404
- arch/powerpc/mm/drmem.c, line 404
- arch/powerpc/mm/numa.c, line 521
- arch/powerpc/platforms/chrp/setup.c
- arch/powerpc/platforms/pasemi/setup.c, line 271
- arch/powerpc/platforms/pseries/setup.c, line 272
- arch/sparc/kernel/of_device_common.c, line 79
- block/partitions/of.c
- drivers/edac/cpc925_edac.c, line 295
- drivers/mtd/parsers/ofpart_core.c, line 134
- drivers/of/address.c
- drivers/of/base.c, line 129
- drivers/of/cpu.c
- drivers/of/kexec.c, line 83
- drivers/pci/of_property.c, line 432
Smatch caller information:
drivers/mtd/parsers/ofpart_core.c parse_fixed_partitions() -> of_n_addr_cells()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | np->kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | np->properties | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | np | unit_byte |
drivers/of/kexec.c get_addr_size_cells() -> of_n_addr_cells()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 1-u64max |
| BUF_SIZE | 0 | np | (-1)-0,392 |
| BUF_SIZE | 0 | np | (-1)-0,392 |
| DATA_SOURCE | 0 | np | r of_find_node_by_path |
drivers/of/cpu.c __of_find_n_match_cpu_property() -> of_n_addr_cells()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| DATA_SOURCE | 0 | np | $0 |
| STR_LEN | 0 | np | (-1),8-9,11-29,31-34,38 |
| STR_LEN | 0 | np | (-1),8-9,11-29,31-34,38 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &policy->rwsem |
drivers/of/cpu.c of_get_cpu_hwid() -> of_n_addr_cells()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| DATA_SOURCE | 0 | np | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | irq |
block/partitions/of.c add_of_partition() -> of_n_addr_cells()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 1-u64max |
| DATA_SOURCE | 0 | np | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &disk->open_mutex | ||
| HALF_LOCKED2 | &hd->open_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gendisk)->open_mutex |
block/partitions/of.c validate_of_partition() -> of_n_addr_cells()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 1-u64max |
| DATA_SOURCE | 0 | np | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &disk->open_mutex | ||
| HALF_LOCKED2 | &hd->open_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gendisk)->open_mutex |
drivers/of/address.c of_bus_default_count_cells() -> of_n_addr_cells()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->fwnode.ops->get | 0,4096-ptr_max |
| BUF_SIZE | 0 | np | (-1)-0,392 |
| BUF_SIZE | 0 | np | (-1)-0,392 |
| DATA_SOURCE | 0 | np | $0 |
| STR_LEN | 0 | np | (-1),7,9,12,16,31 |
| STR_LEN | 0 | np | (-1),7,9,12,16,31 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/of/address.c of_property_read_reg() -> of_n_addr_cells()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| BUF_SIZE | 0 | np | (-1)-0,392 |
| BUF_SIZE | 0 | np | (-1)-0,392 |
| DATA_SOURCE | 0 | np | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | np | unit_byte |
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &master->scan_lock | ||
| HALF_LOCKED2 | &rproc->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/of/address.c parser_init() -> of_n_addr_cells()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np->fwnode.ops->get | 0,4096-ptr_max |
| BUF_SIZE | 0 | np | (-1)-0,392 |
| BUF_SIZE | 0 | np | (-1)-0,392 |
| DATA_SOURCE | 0 | np | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | np | unit_byte |
drivers/pci/of_property.c of_pci_host_bridge_prop_ranges() -> of_n_addr_cells()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->deadprops | 4096-ptr_max |
| PARAM_VALUE | 0 | np->deadprops->name | 4096-ptr_max |
| PARAM_VALUE | 0 | np->deadprops->value | 1-u64max |
| PARAM_VALUE | 0 | np->full_name | 4096-ptr_max |
| PARAM_VALUE | 0 | np->fwnode.consumers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | np->fwnode.consumers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | np->fwnode.consumers.next->prev | 0 |
| PARAM_VALUE | 0 | np->fwnode.consumers.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | np->fwnode.consumers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | np->fwnode.consumers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | np->fwnode.dev | 0 |
| PARAM_VALUE | 0 | np->fwnode.flags | 0 |
| PARAM_VALUE | 0 | np->fwnode.ops | 6563876433798148096 |
| PARAM_VALUE | 0 | np->fwnode.ops->add_links | 3934821749319077888 |
| PARAM_VALUE | 0 | np->fwnode.ops->device_dma_supported | 7773361554369830912 |
| PARAM_VALUE | 0 | np->fwnode.ops->device_get_dma_attr | 8593122367395028992 |
| PARAM_VALUE | 0 | np->fwnode.ops->device_get_match_data | 1440499684429152256 |
| PARAM_VALUE | 0 | np->fwnode.ops->device_is_available | 5897185320164048896 |
| PARAM_VALUE | 0 | np->fwnode.ops->get | 0,5266873307488796672,8589707393086369792 |
| PARAM_VALUE | 0 | np->fwnode.ops->get_name | 433550195800080384 |
| PARAM_VALUE | 0 | np->fwnode.ops->get_name_prefix | 2826539692250562560 |
| PARAM_VALUE | 0 | np->fwnode.ops->get_named_child_node | 7805931012362555392 |
| PARAM_VALUE | 0 | np->fwnode.ops->get_next_child_node | 319059481504260096 |
| PARAM_VALUE | 0 | np->fwnode.ops->get_parent | 1556958998965321728 |
| PARAM_VALUE | 0 | np->fwnode.ops->get_reference_args | 2035688989253132288 |
| PARAM_VALUE | 0 | np->fwnode.ops->graph_get_next_endpoint | 6689510623730753536 |
| PARAM_VALUE | 0 | np->fwnode.ops->graph_get_port_parent | 5751880212744695808 |
| PARAM_VALUE | 0 | np->fwnode.ops->graph_get_remote_endpoint | 8581575686848176128 |
| PARAM_VALUE | 0 | np->fwnode.ops->graph_parse_endpoint | 162100920750850048 |
| PARAM_VALUE | 0 | np->fwnode.ops->iomap | 5992382552872980480 |
| PARAM_VALUE | 0 | np->fwnode.ops->irq_get | 6119964739367534592 |
| PARAM_VALUE | 0 | np->fwnode.ops->property_present | 4433732290240286720 |
| PARAM_VALUE | 0 | np->fwnode.ops->property_read_bool | 707518234024075264 |
| PARAM_VALUE | 0 | np->fwnode.ops->property_read_int_array | 1469634359062355968 |
| PARAM_VALUE | 0 | np->fwnode.ops->property_read_string_array | 7126052093758070784 |
| PARAM_VALUE | 0 | np->fwnode.ops->put | 8942618317634842624 |
| PARAM_VALUE | 0 | np->fwnode.secondary | 0 |
| PARAM_VALUE | 0 | np->fwnode.suppliers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | np->fwnode.suppliers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | np->fwnode.suppliers.next->prev | 0 |
| PARAM_VALUE | 0 | np->fwnode.suppliers.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | np->fwnode.suppliers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | np->fwnode.suppliers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | np->kobj.ktype | 1276568355318087680 |
| PARAM_VALUE | 0 | np->kobj.state_add_uevent_sent | 0 |
| PARAM_VALUE | 0 | np->kobj.state_in_sysfs | 0 |
| PARAM_VALUE | 0 | np->kobj.state_initialized | 1 |
| PARAM_VALUE | 0 | np->kobj.state_remove_uevent_sent | 0 |
| PARAM_VALUE | 0 | np->parent | 4096-ptr_max |
| BUF_SIZE | 0 | np | 392 |
| DATA_SOURCE | 0 | np | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |