Defined in 1 files as a function:
Referenced in 19 files:
- drivers/crypto/ccp/ccp-dmaengine.c, line 228
- drivers/dma/amba-pl08x.c, line 1513
- drivers/dma/amd/ptdma/ptdma-dmaengine.c
- drivers/dma/bcm-sba-raid.c, line 425
- drivers/dma/ep93xx_dma.c, line 835
- drivers/dma/fsl_raid.c, line 139
- drivers/dma/fsldma.c, line 518
- drivers/dma/idxd/dma.c, line 49
- drivers/dma/ioat/dma.c
- drivers/dma/mv_xor.c, line 201
- drivers/dma/mv_xor_v2.c, line 586
- drivers/dma/pl330.c, line 2125
- drivers/dma/plx_dma.c
- drivers/dma/ppc4xx/adma.c, line 1471
- drivers/dma/qcom/hidma.c, line 499
- drivers/dma/switchtec_dma.c
- drivers/dma/timb_dma.c, line 250
- drivers/dma/txx9dmac.c, line 415
- drivers/dma/xgene-dma.c, line 552
Smatch caller information:
drivers/dma/mv_xor.c mv_desc_run_tx_complete_actions() -> dma_descriptor_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->cookie | 1-s32max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mv_chan->lock | ||
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct mv_xor_chan)->lock |
drivers/dma/timb_dma.c __td_finish() -> dma_descriptor_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->chan->completed_cookie | 1-s32max |
| PARAM_VALUE | 0 | tx->cookie | 0 |
| BUF_SIZE | 0 | tx | 176 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &td_chan->lock | ||
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct timb_dma_chan)->lock |
drivers/dma/ioat/dma.c __ioat_cleanup() -> dma_descriptor_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->chan->completed_cookie | 1-s32max |
| PARAM_VALUE | 0 | tx->cookie | 0 |
| BUF_SIZE | 0 | tx | 176 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioat_chan->cleanup_lock | ||
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct ioatdma_chan)->cleanup_lock |
drivers/dma/ioat/dma.c ioat_abort_descs() -> dma_descriptor_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->chan->completed_cookie | 1-s32max |
| PARAM_VALUE | 0 | tx->cookie | 0 |
| BUF_SIZE | 0 | tx | 176 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioat_chan->cleanup_lock | ||
| HALF_LOCKED2 | &ioat_chan->prep_lock | ||
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct ioatdma_chan)->cleanup_lock |
drivers/dma/ioat/dma.c ioat_eh() -> dma_descriptor_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->chan->completed_cookie | 1-s32max |
| PARAM_VALUE | 0 | tx->cookie | 0 |
| BUF_SIZE | 0 | tx | 176 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioat_chan->cleanup_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct ioatdma_chan)->cleanup_lock |
drivers/dma/plx_dma.c plx_dma_abort_desc() -> dma_descriptor_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->cookie | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &plxdev->ring_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct plx_dma_dev)->ring_lock |
drivers/dma/plx_dma.c plx_dma_process_desc() -> dma_descriptor_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->cookie | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &plxdev->ring_lock | ||
| TYPE_LOCK | (struct plx_dma_dev)->ring_lock |
drivers/dma/xgene-dma.c xgene_dma_run_tx_complete_actions() -> dma_descriptor_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->chan->completed_cookie | 1-s32max |
| PARAM_VALUE | 0 | tx->cookie | 0 |
| BUF_SIZE | 0 | tx | 176 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/dma/switchtec_dma.c switchtec_dma_abort_desc() -> dma_descriptor_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->cookie | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &swdma_chan->complete_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | global &dma_list_mutex | ||
| TYPE_LOCK | (struct switchtec_dma_chan)->complete_lock |
drivers/dma/switchtec_dma.c switchtec_dma_cleanup_completed() -> dma_descriptor_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->cookie | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &swdma_chan->complete_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct switchtec_dma_chan)->complete_lock |
drivers/dma/qcom/hidma.c hidma_terminate_channel() -> dma_descriptor_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| BUF_SIZE | 0 | tx | 176 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/crypto/ccp/ccp-dmaengine.c ccp_handle_active_desc() -> dma_descriptor_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->chan->completed_cookie | 1-s32max |
| PARAM_VALUE | 0 | tx->cookie | 0 |
| BUF_SIZE | 0 | tx | 0,176 |
| BUF_SIZE | 0 | tx | 0,176 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &chan->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct ccp_dma_chan)->lock |
drivers/dma/amd/ptdma/ptdma-dmaengine.c pt_cmd_callback_work() -> dma_descriptor_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->chan->completed_cookie | 1-s32max |
| PARAM_VALUE | 0 | tx->cookie | 0 |
| BUF_SIZE | 0 | tx | 176 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &chan->vc.lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &ae4cmd_q->cmd_lock | ||
| TYPE_LOCK | (struct virt_dma_chan)->lock |
drivers/dma/amd/ptdma/ptdma-dmaengine.c pt_handle_active_desc() -> dma_descriptor_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->chan->completed_cookie | 1-s32max |
| PARAM_VALUE | 0 | tx->cookie | 0 |
| BUF_SIZE | 0 | tx | 0,176 |
| BUF_SIZE | 0 | tx | 0,176 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &chan->vc.lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &ae4cmd_q->cmd_lock | ||
| TYPE_LOCK | (struct virt_dma_chan)->lock |
drivers/dma/bcm-sba-raid.c sba_process_received_request() -> dma_descriptor_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->chan->completed_cookie | 1-s32max |
| PARAM_VALUE | 0 | tx->cookie | 0 |
| BUF_SIZE | 0 | tx | 176 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &thread->chan->lock | ||
| HALF_LOCKED2 | flags |
drivers/dma/idxd/dma.c idxd_dma_complete_txd() -> dma_descriptor_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->chan->completed_cookie | 1-s32max |
| PARAM_VALUE | 0 | tx->cookie | 0 |
| BUF_SIZE | 0 | tx | 176 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/dma/ep93xx_dma.c ep93xx_dma_tasklet() -> dma_descriptor_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh |