Documented in 1 files:
Defined in 1 files as a function:
Referenced in 25 files:
- drivers/crypto/ccp/ccp-dmaengine.c, line 236
- drivers/dma/amd/ptdma/ptdma-dmaengine.c
- drivers/dma/at_xdmac.c
- drivers/dma/bcm-sba-raid.c, line 424
- drivers/dma/fsl_raid.c, line 140
- drivers/dma/fsldma.c, line 520
- drivers/dma/idxd/dma.c, line 50
- drivers/dma/imx-dma.c, line 639
- drivers/dma/imx-sdma.c, line 900
- drivers/dma/ioat/dma.c
- drivers/dma/mmp_tdma.c, line 353
- drivers/dma/mpc512x_dma.c, line 402
- drivers/dma/mv_xor.c, line 205
- drivers/dma/mv_xor_v2.c, line 587
- drivers/dma/mxs-dma.c, line 307
- drivers/dma/plx_dma.c
- drivers/dma/ppc4xx/adma.c, line 1475
- drivers/dma/qcom/gpi.c
- drivers/dma/qcom/hidma.c, line 500
- drivers/dma/sf-pdma/sf-pdma.c, line 331
- drivers/dma/sh/shdma-base.c, line 891
- drivers/dma/switchtec_dma.c
- drivers/dma/ti/cppi41.c
- drivers/dma/xgene-dma.c, line 555
- drivers/dma/xilinx/xilinx_dma.c, line 1100
Smatch caller information:
drivers/dma/mv_xor.c mv_desc_run_tx_complete_actions() -> dmaengine_desc_get_callback_invoke()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->cookie | 1-s32max |
| PARAM_VALUE | 0 | tx->unmap | 0 |
| PARAM_VALUE | 1 | result | 0 |
| 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/sh/shdma-base.c shdma_reset() -> dmaengine_desc_get_callback_invoke()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| PARAM_VALUE | 1 | result | 0 |
| BUF_SIZE | 0 | tx | 176 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |
drivers/dma/ioat/dma.c __ioat_cleanup() -> dmaengine_desc_get_callback_invoke()
| 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 |
| PARAM_VALUE | 0 | tx->unmap | 0 |
| PARAM_VALUE | 1 | result | 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() -> dmaengine_desc_get_callback_invoke()
| 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 |
| PARAM_VALUE | 0 | tx->unmap | 0 |
| PARAM_VALUE | 1 | result | 4530618855131353088 |
| PARAM_VALUE | 1 | result->result | 3 |
| 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() -> dmaengine_desc_get_callback_invoke()
| 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 |
| PARAM_VALUE | 0 | tx->unmap | 0 |
| PARAM_VALUE | 1 | result | 2067343863671427072 |
| 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() -> dmaengine_desc_get_callback_invoke()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->cookie | 0 |
| PARAM_VALUE | 0 | tx->unmap | 0 |
| PARAM_VALUE | 1 | result | 5480118800993091584 |
| PARAM_VALUE | 1 | result->result | 3 |
| 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() -> dmaengine_desc_get_callback_invoke()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->cookie | 0 |
| PARAM_VALUE | 0 | tx->unmap | 0 |
| PARAM_VALUE | 1 | result | 8349786422254297088 |
| PARAM_VALUE | 1 | result->result | 0-2 |
| 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/mmp_tdma.c dma_do_tasklet() -> dmaengine_desc_get_callback_invoke()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| PARAM_VALUE | 1 | result | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh |
drivers/dma/xgene-dma.c xgene_dma_run_tx_complete_actions() -> dmaengine_desc_get_callback_invoke()
| 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 |
| PARAM_VALUE | 0 | tx->unmap | 0 |
| PARAM_VALUE | 1 | result | 0 |
| BUF_SIZE | 0 | tx | 176 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/dma/switchtec_dma.c switchtec_dma_abort_desc() -> dmaengine_desc_get_callback_invoke()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->cookie | 0 |
| PARAM_VALUE | 0 | tx->unmap | 0 |
| PARAM_VALUE | 1 | result | 4648144012332331008 |
| PARAM_VALUE | 1 | result->result | 3 |
| 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() -> dmaengine_desc_get_callback_invoke()
| 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 |
| PARAM_VALUE | 0 | tx->unmap | 0 |
| PARAM_VALUE | 1 | result | 1107926492030316544 |
| PARAM_VALUE | 1 | result->result | 0-2 |
| 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() -> dmaengine_desc_get_callback_invoke()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->unmap | 0 |
| PARAM_VALUE | 1 | result | 0 |
| BUF_SIZE | 0 | tx | 176 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/dma/xilinx/xilinx_dma.c xilinx_dma_chan_desc_cleanup() -> dmaengine_desc_get_callback_invoke()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| PARAM_VALUE | 1 | result | 3462491527714217984 |
| PARAM_VALUE | 1 | result->result | 0-2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh |
drivers/dma/mxs-dma.c mxs_dma_tasklet() -> dmaengine_desc_get_callback_invoke()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| PARAM_VALUE | 1 | result | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh |
drivers/crypto/ccp/ccp-dmaengine.c ccp_handle_active_desc() -> dmaengine_desc_get_callback_invoke()
| 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 |
| PARAM_VALUE | 0 | tx->unmap | 0 |
| PARAM_VALUE | 1 | result | 0 |
| BUF_SIZE | 0 | tx | 0,176 |
| BUF_SIZE | 0 | tx | 0,176 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/dma/amd/ptdma/ptdma-dmaengine.c pt_cmd_callback_work() -> dmaengine_desc_get_callback_invoke()
| 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 |
| PARAM_VALUE | 0 | tx->unmap | 0 |
| PARAM_VALUE | 1 | result | 0 |
| BUF_SIZE | 0 | tx | 176 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ae4cmd_q->cmd_lock |
drivers/dma/amd/ptdma/ptdma-dmaengine.c pt_handle_active_desc() -> dmaengine_desc_get_callback_invoke()
| 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 |
| PARAM_VALUE | 0 | tx->unmap | 0 |
| PARAM_VALUE | 1 | result | 0 |
| BUF_SIZE | 0 | tx | 0,176 |
| BUF_SIZE | 0 | tx | 0,176 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ae4cmd_q->cmd_lock |
drivers/dma/bcm-sba-raid.c sba_process_received_request() -> dmaengine_desc_get_callback_invoke()
| 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 |
| PARAM_VALUE | 1 | result | 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() -> dmaengine_desc_get_callback_invoke()
| 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 |
| PARAM_VALUE | 0 | tx->unmap | 0 |
| PARAM_VALUE | 1 | result | 275874933954805760 |
| PARAM_VALUE | 1 | result->result | 0,2-3 |
| BUF_SIZE | 0 | tx | 176 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/dma/sf-pdma/sf-pdma.c sf_pdma_errbh_tasklet() -> dmaengine_desc_get_callback_invoke()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | result | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh |