Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/firmware/qemu_fw_cfg.c fw_cfg_do_platform_probe() -> fw_cfg_read_blob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 0 |
| PARAM_VALUE | 1 | buf | 5689716059888652288 |
| PARAM_VALUE | 2 | pos | 0 |
| PARAM_VALUE | 3 | count | 4 |
| BUF_SIZE | 1 | buf | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/firmware/qemu_fw_cfg.c fw_cfg_register_dir_entries() -> fw_cfg_read_blob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 25 |
| PARAM_VALUE | 1 | buf | 2829877560181698560 |
| PARAM_VALUE | 2 | pos | 0 |
| PARAM_VALUE | 3 | count | 4 |
| BUF_SIZE | 1 | buf | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | count | unit_byte |
drivers/firmware/qemu_fw_cfg.c fw_cfg_register_dir_entries() -> fw_cfg_read_blob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 25 |
| PARAM_VALUE | 1 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 2 | pos | 4 |
| PARAM_VALUE | 3 | count | 0-4000000 |
| BUF_SIZE | 1 | buf | 0-274877906880 |
| DATA_SOURCE | 1 | buf | r _kmalloc_noprof |
| BIT_INFO | 3 | count | 0x0,0x3fffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 3 | count | 0-4000000 |
| UNITS | 2 | pos | unit_byte |
drivers/firmware/qemu_fw_cfg.c fw_cfg_sysfs_probe() -> fw_cfg_read_blob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 1 |
| PARAM_VALUE | 1 | buf | 285626702824488960 |
| PARAM_VALUE | 2 | pos | 0 |
| PARAM_VALUE | 3 | count | 4 |
| BUF_SIZE | 1 | buf | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | count | unit_byte |
drivers/firmware/qemu_fw_cfg.c fw_cfg_sysfs_read_raw() -> fw_cfg_read_blob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buf | 1-u64max |
| PARAM_VALUE | 2 | pos | s64min-4294967295 |
| PARAM_VALUE | 3 | count | 0-4096 |
| CAPPED_DATA | 2 | pos | 1 |
| CAPPED_DATA | 2 | pos | 1 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 1 | buf | $3 |
| DATA_SOURCE | 2 | pos | $4 |
| DATA_SOURCE | 3 | count | $5 [m] |
| BIT_INFO | 3 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 2 | pos | |
| NOSPEC | 2 | pos | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | pos | 0-4095[c] |
| USER_DATA | 3 | count | 1-4096[c] |
| BYTE_COUNT | 1 | ==buf3 | 8050 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |