Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/base/firmware_loader/fallback.c, line 165
- drivers/base/firmware_loader/sysfs_upload.c, line 340
Smatch caller information:
drivers/base/firmware_loader/sysfs_upload.c firmware_upload_register() -> fw_create_instance()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | firmware | 0 |
| PARAM_VALUE | 1 | fw_name | 4096-ptr_max |
| PARAM_VALUE | 3 | opt_flags | 16 |
| BUF_SIZE | 1 | fw_name | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 1 | fw_name | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 2 | device | (-1),1616 |
| BUF_SIZE | 2 | device | (-1),1616 |
| DATA_SOURCE | 1 | fw_name | $2 |
| DATA_SOURCE | 2 | device | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &test_fw_mutex |
drivers/base/firmware_loader/fallback.c fw_load_from_user_helper() -> fw_create_instance()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | firmware | 4096-ptr_max |
| PARAM_VALUE | 1 | fw_name | 4096-ptr_max |
| PARAM_VALUE | 2 | device->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 2 | device->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 2 | device->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 2 | device->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 2 | device->power.wakeirq->irq | s32min-s32max |
| PARAM_VALUE | 2 | device->power.wakeirq->name | 0-s64max |
| PARAM_VALUE | 2 | device->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 3 | opt_flags | 128-u32max |
| BUF_SIZE | 1 | fw_name | (-1),1-s32max |
| BUF_SIZE | 1 | fw_name | (-1),1-s32max |
| DATA_SOURCE | 0 | firmware | $0 |
| DATA_SOURCE | 1 | fw_name | $1 |
| DATA_SOURCE | 2 | device | $2 |
| DATA_SOURCE | 3 | opt_flags | $3 |
| RX_PATH | |||
| UNITS | 2 | device | unit_byte |
| USER_PTR | 1 | fw_name | |
| HALF_LOCKED2 | global &umhelper_sem |