Defined in 1 files as a function:
Referenced in 8 files:
- drivers/hwmon/pmbus/pmbus_core.c, line 1381
- drivers/hwtracing/coresight/coresight-platform.c
- drivers/iio/adc/xilinx-ams.c, line 1288
- drivers/iio/adc/xilinx-xadc-core.c
- drivers/irqchip/irq-ast2700.c, line 100
- drivers/leds/rgb/leds-group-multicolor.c, line 87
- drivers/pinctrl/intel/pinctrl-intel-platform.c, line 36
- drivers/pinctrl/pinctrl-keembay.c, line 1643
Smatch caller information:
drivers/leds/rgb/leds-group-multicolor.c leds_gmc_probe() -> devm_krealloc_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | p | 0,4096-ptr_max |
| PARAM_VALUE | 2 | new_n | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 3 | new_size | 8 |
| PARAM_VALUE | 4 | flags | 3264 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | p | 0,8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | new_size | unit_byte |
drivers/irqchip/irq-ast2700.c aspeed_intc_populate_ranges() -> devm_krealloc_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node->properties | 4096-ptr_max |
| PARAM_VALUE | 1 | p | 1-u64max |
| PARAM_VALUE | 2 | new_n | 0-s32max |
| PARAM_VALUE | 3 | new_size | 96 |
| PARAM_VALUE | 4 | flags | 3264 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | p | r devm_kmalloc_array |
| FUZZY_MAX | 2 | new_n | 0 |
| UNITS | 2 | new_n | unit_array_size |
| UNITS | 3 | new_size | unit_byte |
drivers/iio/adc/xilinx-xadc-core.c xadc_parse_dt() -> devm_krealloc_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | p | 4096-ptr_max |
| PARAM_VALUE | 2 | new_n | 9-u32max |
| PARAM_VALUE | 3 | new_size | 160 |
| PARAM_VALUE | 4 | flags | 3264 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | p | 4160 |
| CAPPED_DATA | 2 | new_n | 1 |
| DATA_SOURCE | 1 | p | r devm_kmemdup_array |
| FUZZY_MAX | 2 | new_n | 26 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| UNITS | 2 | new_n | unit_array_size |
| UNITS | 3 | new_size | unit_byte |
drivers/iio/adc/xilinx-xadc-core.c xadc_update_scan_mode() -> devm_krealloc_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | new_n | 0-u32max |
| PARAM_VALUE | 3 | new_size | 2 |
| PARAM_VALUE | 4 | flags | 3264 |
| BUF_SIZE | 1 | p | 2 |
| DATA_SOURCE | 2 | new_n | r bitmap_weight |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| UNITS | 3 | new_size | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/iio/adc/xilinx-ams.c ams_parse_firmware() -> devm_krealloc_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | p | 1-u64max |
| PARAM_VALUE | 2 | new_n | 0,7,10-u32max |
| PARAM_VALUE | 3 | new_size | 160 |
| PARAM_VALUE | 4 | flags | 3264 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | p | 8160 |
| CAPPED_DATA | 2 | new_n | 1 |
| DATA_SOURCE | 1 | p | r devm_kcalloc |
| FUZZY_MAX | 2 | new_n | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| UNITS | 3 | new_size | unit_byte |
drivers/pinctrl/intel/pinctrl-intel-platform.c intel_platform_pinctrl_prepare_pins() -> devm_krealloc_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 3 | new_size | 24 |
| PARAM_VALUE | 4 | flags | 3264 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | new_size | unit_byte |
drivers/hwmon/pmbus/pmbus_core.c pmbus_add_attribute() -> devm_krealloc_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | new_n | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 3 | new_size | 8 |
| PARAM_VALUE | 4 | flags | 3264 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | p | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | new_size | unit_byte |