Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/base/firmware_loader/main.c, line 1071 (as a function)
- include/linux/firmware.h, line 181 (as a function)
Referenced in 5 files:
- drivers/base/firmware_loader/main.c, line 1085
- drivers/i2c/i2c-slave-eeprom.c, line 131
- drivers/remoteproc/qcom_q6v5_mss.c, line 1557
- drivers/soc/qcom/mdt_loader.c, line 85
- lib/test_firmware.c, line 883
Smatch caller information:
lib/test_firmware.c test_fw_run_batch_request() -> request_firmware_into_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | firmware_p | 4096-ptr_max |
| PARAM_VALUE | 3 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 4 | size | 0-4000000 |
| BUF_SIZE | 3 | buf | 0-u64max |
| DATA_SOURCE | 3 | buf | r _kzalloc_noprof |
| BYTE_COUNT | 3 | ==buf4 | 8050 |
drivers/soc/qcom/mdt_loader.c mdt_load_split_segment() -> request_firmware_into_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | firmware_p | 7356027154334011392 |
| PARAM_VALUE | 1 | name | 4096-ptr_max |
| PARAM_VALUE | 2 | device->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 2 | device->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 3 | buf | 4096-ptr_max |
| BUF_SIZE | 2 | device | (-1),1616 |
| BUF_SIZE | 2 | device | (-1),1616 |
| DATA_SOURCE | 1 | name | r kstrdup |
| DATA_SOURCE | 2 | device | $4 |
| DATA_SOURCE | 3 | buf | $0 |
| STR_LEN | 0 | firmware_p | (-1),11,34,123 |
| STR_LEN | 1 | name | (-1),11,34,123 |
| STR_LEN | 2 | device | (-1),11,34,123 |
| STR_LEN | 3 | buf | (-1),11,34,123 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | buf | unit_byte |
| UNITS | 4 | size | unit_byte |
drivers/i2c/i2c-slave-eeprom.c i2c_slave_init_eeprom_data() -> request_firmware_into_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | firmware_p | 1465847370509385728 |
| PARAM_VALUE | 1 | *name | 0-255 |
| PARAM_VALUE | 2 | device | 4096-ptr_max |
| PARAM_VALUE | 2 | device->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | device->driver_data | 4096-ptr_max |
| PARAM_VALUE | 3 | buf | 0 |
| BUF_SIZE | 3 | buf | 0-s32max |
| DATA_SOURCE | 4 | size | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | size | unit_byte |