Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/dma/dmaengine.c, line 1145
- drivers/dma/idxd/dma.c, line 290
- drivers/dma/stm32/stm32-dma3.c, line 1883
Smatch caller information:
drivers/dma/stm32/stm32-dma3.c stm32_dma3_probe() -> dma_async_device_channel_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->chan_ida.xa.xa_flags | 33554437 |
| PARAM_VALUE | 0 | device->chan_ida.xa.xa_head | 0 |
| PARAM_VALUE | 0 | device->dev | 0 |
| PARAM_VALUE | 0 | device->dev_id | 0-s32max |
| PARAM_VALUE | 0 | device->ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | chan->completed_cookie | 1 |
| PARAM_VALUE | 1 | chan->cookie | 1 |
| PARAM_VALUE | 1 | chan->device | 4096-ptr_max |
| PARAM_VALUE | 2 | name | 2050795313587699712 |
| BUF_SIZE | 2 | name | 12 |
| STR_LEN | 0 | device | 11 |
| MEM_ZERO | 0 | device | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/dma/idxd/dma.c idxd_register_dma_channel() -> dma_async_device_channel_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->channels.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->channels.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->channels.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | chan->device | 4096-ptr_max |
| PARAM_VALUE | 1 | chan->device_node.next | 4096-ptr_max |
| PARAM_VALUE | 2 | name | 0 |
| BUF_SIZE | 0 | device | 464 |
| BUF_SIZE | 1 | chan | 184 |
| BUF_SIZE | 1 | chan->device | 464 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &wq->wq_lock | ||
| TYPE_LOCK | (struct idxd_wq)->wq_lock |