Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 12 files:
- arch/powerpc/kernel/prom_parse.c, line 32
- arch/powerpc/kernel/setup-common.c, line 532
- arch/powerpc/kexec/ranges.c, line 405
- arch/powerpc/mm/drmem.c, line 405
- arch/powerpc/mm/numa.c, line 522
- arch/sparc/kernel/of_device_common.c, line 81
- block/partitions/of.c
- drivers/edac/cpc925_edac.c, line 296
- drivers/mtd/parsers/ofpart_core.c, line 135
- drivers/of/address.c, line 50
- drivers/of/base.c, line 156
- drivers/of/kexec.c, line 84
Smatch caller information:
drivers/mtd/parsers/ofpart_core.c parse_fixed_partitions() -> of_n_size_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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | np | unit_byte |
drivers/of/kexec.c get_addr_size_cells() -> of_n_size_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 | r of_find_node_by_path |
block/partitions/of.c add_of_partition() -> of_n_size_cells()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| 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_size_cells()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| 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_size_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 |