Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/amd/pds_core/fw.c pdsc_flash_component_chunk() -> pdsc_deferred_dma_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | pdsc->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdsc->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdsc->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdsc->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 1 | entry | 4096-ptr_max |
| PARAM_VALUE | 2 | dma_addr | 0-18446744073709551614 |
| PARAM_VALUE | 3 | va | 1-u64max |
| PARAM_VALUE | 4 | size | 1-4096 |
| PARAM_VALUE | 5 | dir | 1 |
| BUF_SIZE | 1 | entry | 48 |
| BUF_SIZE | 3 | va | 1-4096 |
| CAPPED_DATA | 0 | pdsc->fw_components.num_components | 1 |
| CAPPED_DATA | 4 | size | 1 |
| DATA_SOURCE | 0 | pdsc | $0 |
| DATA_SOURCE | 1 | entry | r _kmalloc_noprof |
| DATA_SOURCE | 2 | dma_addr | r dma_map_single_attrs |
| DATA_SOURCE | 3 | va | r kmemdup_noprof |
| DATA_SOURCE | 4 | size | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devlink->lock |
drivers/net/ethernet/amd/pds_core/fw.c pdsc_get_component_info() -> pdsc_deferred_dma_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | pdsc->dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pdsc->dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pdsc->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdsc->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdsc->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | pdsc->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | pdsc->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | pdsc->devcmd_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pdsc->devcmd_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdsc->devcmd_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | pdsc->devcmd_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | pdsc->devcmd_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | pdsc->fw_components.num_components | 0 |
| PARAM_VALUE | 1 | entry | 4096-ptr_max |
| PARAM_VALUE | 2 | dma_addr | 0-18446744073709551614 |
| PARAM_VALUE | 3 | va | 4096-ptr_max |
| PARAM_VALUE | 4 | size | 4096 |
| PARAM_VALUE | 5 | dir | 2 |
| BUF_SIZE | 1 | entry | 48 |
| BUF_SIZE | 3 | va | 4096 |
| DATA_SOURCE | 0 | pdsc | $0 |
| DATA_SOURCE | 1 | entry | r _kmalloc_noprof |
| DATA_SOURCE | 2 | dma_addr | r dma_map_single_attrs |
| DATA_SOURCE | 3 | va | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/amd/pds_core/fw.c pdsc_send_package_data() -> pdsc_deferred_dma_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | pdsc->devcmd_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pdsc->devcmd_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdsc->devcmd_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | pdsc->devcmd_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | pdsc->devcmd_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | entry | 4096-ptr_max |
| PARAM_VALUE | 2 | dma_addr | 0-18446744073709551614 |
| PARAM_VALUE | 3 | va | 1-u64max |
| PARAM_VALUE | 4 | size | 1-u16max |
| PARAM_VALUE | 5 | dir | 1 |
| BUF_SIZE | 1 | entry | 48 |
| BUF_SIZE | 3 | va | 1-u16max |
| CAPPED_DATA | 4 | size | 1 |
| DATA_SOURCE | 1 | entry | r _kmalloc_noprof |
| DATA_SOURCE | 2 | dma_addr | r dma_map_single_attrs |
| DATA_SOURCE | 3 | va | r kmemdup_noprof |
| DATA_SOURCE | 4 | size | $2 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devlink->lock |