Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/base/firmware_loader/main.c _request_firmware() -> assign_fw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fw | 4096-ptr_max |
| PARAM_VALUE | 0 | fw->priv->fw_st.completion.done | 4294967295 |
| PARAM_VALUE | 0 | fw->priv->fw_st.status | 2-3 |
| PARAM_VALUE | 0 | fw->priv->is_paged_buf | 0-1 |
| PARAM_VALUE | 0 | fw->priv->nr_pages | s32min-s32max |
| PARAM_VALUE | 0 | fw->priv->page_array_size | s32min-s32max |
| PARAM_VALUE | 0 | *fw->priv->data | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | device->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 1 | device->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | device->power.wakeirq->status | 0-4294967295 |
| BUF_SIZE | 1 | device | (-1),1616 |
| BUF_SIZE | 1 | device | (-1),1616 |
| DATA_SOURCE | 1 | device | $2 |
| RX_PATH | |||
| UNITS | 1 | device | unit_byte |
drivers/base/firmware_loader/fallback.c fw_load_from_user_helper() -> assign_fw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fw | 4096-ptr_max |
| PARAM_VALUE | 0 | fw->priv | 4096-ptr_max |
| PARAM_VALUE | 1 | device->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 1 | device->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | device->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 1 | device->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 1 | device->power.wakeirq->irq | s32min-s32max |
| PARAM_VALUE | 1 | device->power.wakeirq->name | 0-s64max |
| PARAM_VALUE | 1 | device->power.wakeirq->status | 0-4294967295 |
| DATA_SOURCE | 0 | fw | $0 |
| DATA_SOURCE | 1 | device | $2 |
| RX_PATH | |||
| UNITS | 1 | device | unit_byte |
| HALF_LOCKED2 | global &umhelper_sem |