Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/dma/dmaengine.c, line 1417 (as a function)
- include/linux/dmaengine.h, line 663 (as a function)
Referenced in 10 files:
- crypto/async_tx/async_memcpy.c, line 89
- crypto/async_tx/async_pq.c
- crypto/async_tx/async_raid6_recov.c
- crypto/async_tx/async_xor.c
- drivers/dma/dmaengine.c, line 1422
- drivers/dma/dmatest.c
- drivers/dma/mv_xor.c
- drivers/ntb/ntb_transport.c
- drivers/ntb/test/ntb_perf.c
- include/linux/dmaengine.h, line 673
Smatch caller information:
drivers/dma/mv_xor.c dma_descriptor_unmap() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 1-u64max |
| 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/mv_xor.c mv_chan_memcpy_self_test() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 0,4096-ptr_max |
| PARAM_VALUE | 0 | unmap->addr | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | unmap->map_cnt | 2 |
| DATA_SOURCE | 0 | unmap | r dmaengine_get_unmap_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/dma/mv_xor.c mv_chan_xor_self_test() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 0,4096-ptr_max |
| PARAM_VALUE | 0 | unmap->addr | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | unmap->map_cnt | 5 |
| DATA_SOURCE | 0 | unmap | r dmaengine_get_unmap_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/dma/timb_dma.c dma_descriptor_unmap() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 1-u64max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &td_chan->lock | ||
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct timb_dma_chan)->lock |
crypto/async_tx/async_raid6_recov.c async_mult() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->addr | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->len | 4096 |
| PARAM_VALUE | 0 | unmap->map_cnt | 3 |
| DATA_SOURCE | 0 | unmap | r dmaengine_get_unmap_data |
| PREEMPT_ADD | |||
| NOCHECK_CALL |
crypto/async_tx/async_raid6_recov.c async_mult() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->addr | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | unmap->len | 4096 |
| PARAM_VALUE | 0 | unmap->map_cnt | 3 |
| DATA_SOURCE | 0 | unmap | r dmaengine_get_unmap_data |
| PREEMPT_ADD | |||
| NOCHECK_CALL |
crypto/async_tx/async_raid6_recov.c async_sum_product() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->addr | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->bidi_cnt | 1 |
| PARAM_VALUE | 0 | unmap->len | 4096 |
| PARAM_VALUE | 0 | unmap->map_cnt | 3 |
| PARAM_VALUE | 0 | unmap->to_cnt | 2 |
| DATA_SOURCE | 0 | unmap | r dmaengine_get_unmap_data |
| PREEMPT_ADD | |||
| NOCHECK_CALL |
crypto/async_tx/async_raid6_recov.c async_sum_product() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->addr | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->bidi_cnt | 1 |
| PARAM_VALUE | 0 | unmap->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | unmap->len | 4096 |
| PARAM_VALUE | 0 | unmap->map_cnt | 3 |
| PARAM_VALUE | 0 | unmap->to_cnt | 2 |
| DATA_SOURCE | 0 | unmap | r dmaengine_get_unmap_data |
| PREEMPT_ADD | |||
| NOCHECK_CALL |
drivers/dma/ioat/dma.c dma_descriptor_unmap() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 1-u64max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ioat_chan->cleanup_lock | ||
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct ioatdma_chan)->cleanup_lock |
crypto/async_tx/async_memcpy.c async_memcpy() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 0,4096-ptr_max |
| PARAM_VALUE | 0 | unmap->map_cnt | 2 |
| NOCHECK_CALL |
drivers/dma/plx_dma.c dma_descriptor_unmap() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 1-u64max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &plxdev->ring_lock | ||
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct plx_dma_dev)->ring_lock |
drivers/dma/xgene-dma.c dma_descriptor_unmap() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/dma/switchtec_dma.c dma_descriptor_unmap() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 1-u64max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &swdma_chan->complete_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct switchtec_dma_chan)->complete_lock |
drivers/ntb/ntb_transport.c ntb_async_rx_submit() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->addr | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->from_cnt | 1 |
| PARAM_VALUE | 0 | unmap->len | 0-u32max |
| PARAM_VALUE | 0 | unmap->map_cnt | 2 |
| PARAM_VALUE | 0 | unmap->to_cnt | 1 |
| DATA_SOURCE | 0 | unmap | r dmaengine_get_unmap_data |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/ntb/ntb_transport.c ntb_async_rx_submit() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->addr | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->from_cnt | 1 |
| PARAM_VALUE | 0 | unmap->len | 0-u32max |
| PARAM_VALUE | 0 | unmap->map_cnt | 2 |
| PARAM_VALUE | 0 | unmap->to_cnt | 1 |
| DATA_SOURCE | 0 | unmap | r dmaengine_get_unmap_data |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/ntb/ntb_transport.c ntb_async_rx_submit() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->addr | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->len | 0-u32max |
| PARAM_VALUE | 0 | unmap->map_cnt | 2 |
| DATA_SOURCE | 0 | unmap | r dmaengine_get_unmap_data |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/ntb/ntb_transport.c ntb_async_tx_submit() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->addr | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->len | 0-u32max |
| PARAM_VALUE | 0 | unmap->map_cnt | 1 |
| PARAM_VALUE | 0 | unmap->to_cnt | 1 |
| DATA_SOURCE | 0 | unmap | r dmaengine_get_unmap_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | unmap->len | 1-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | unmap->len |
drivers/ntb/ntb_transport.c ntb_async_tx_submit() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->addr | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->len | 0-u32max |
| PARAM_VALUE | 0 | unmap->map_cnt | 1 |
| PARAM_VALUE | 0 | unmap->to_cnt | 1 |
| DATA_SOURCE | 0 | unmap | r dmaengine_get_unmap_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | unmap->len | 1-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | unmap->len |
drivers/ntb/ntb_transport.c ntb_async_tx_submit() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->addr | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->len | 0-u32max |
| PARAM_VALUE | 0 | unmap->map_cnt | 1 |
| DATA_SOURCE | 0 | unmap | r dmaengine_get_unmap_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | unmap->len | 1-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | unmap->len |
drivers/dma/qcom/hidma.c dma_descriptor_unmap() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/ntb/test/ntb_perf.c perf_copy_chunk() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->addr | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->map_cnt | 1 |
| PARAM_VALUE | 0 | unmap->to_cnt | 1 |
| CAPPED_DATA | 0 | unmap->len | 1 |
| DATA_SOURCE | 0 | unmap | r dmaengine_get_unmap_data |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/ntb/test/ntb_perf.c perf_copy_chunk() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->addr | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->map_cnt | 1 |
| CAPPED_DATA | 0 | unmap->len | 1 |
| DATA_SOURCE | 0 | unmap | r dmaengine_get_unmap_data |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/dma/dmatest.c dmatest_func() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->addr | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | unmap->map_cnt | 1-254 |
| BUF_SIZE | 0 | unmap->dev | (-1),1616 |
| CAPPED_DATA | 0 | unmap->map_cnt | 1 |
| DATA_SOURCE | 0 | unmap | r dmaengine_get_unmap_data |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ioat_chan->prep_lock | ||
| HALF_LOCKED2 | bh |
drivers/dma/dmatest.c dmatest_func() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->addr | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | unmap->len | 0-u32max |
| PARAM_VALUE | 0 | unmap->map_cnt | 1-254 |
| BUF_SIZE | 0 | unmap->dev | (-1),1616 |
| CAPPED_DATA | 0 | unmap->map_cnt | 1 |
| DATA_SOURCE | 0 | unmap | r dmaengine_get_unmap_data |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ioat_chan->prep_lock | ||
| HALF_LOCKED2 | bh |
crypto/async_tx/async_pq.c async_gen_syndrome() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->addr | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->len | 4096 |
| PARAM_VALUE | 0 | unmap->map_cnt | 1-255 |
| CAPPED_DATA | 0 | unmap->map_cnt | 1 |
| DATA_SOURCE | 0 | unmap | r dmaengine_get_unmap_data |
| NOCHECK_CALL |
crypto/async_tx/async_pq.c async_gen_syndrome() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 0,4096-ptr_max |
| PARAM_VALUE | 0 | unmap->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | unmap->map_cnt | 1-255 |
| NOCHECK_CALL |
crypto/async_tx/async_pq.c async_syndrome_val() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 0,4096-ptr_max |
| PARAM_VALUE | 0 | unmap->map_cnt | 4-255 |
| PREEMPT_ADD | |||
| NOCHECK_CALL |
drivers/crypto/ccp/ccp-dmaengine.c dma_descriptor_unmap() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 1-u64max |
| PREEMPT_ADD | |||
| 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 dma_descriptor_unmap() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 1-u64max |
| PREEMPT_ADD | |||
| 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 dma_descriptor_unmap() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 1-u64max |
| 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 dma_descriptor_unmap() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/dma/ep93xx_dma.c dma_descriptor_unmap() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh |
crypto/async_tx/async_xor.c async_xor_offs() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->addr | 4096-ptr_max |
| PARAM_VALUE | 0 | unmap->bidi_cnt | 1 |
| PARAM_VALUE | 0 | unmap->len | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 0 | unmap->addr | 1 |
| CAPPED_DATA | 0 | unmap->len | 1 |
| CAPPED_DATA | 0 | unmap->map_cnt | 1 |
| DATA_SOURCE | 0 | unmap | r dmaengine_get_unmap_data |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
crypto/async_tx/async_xor.c async_xor_offs() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 0,4096-ptr_max |
| PARAM_VALUE | 0 | unmap->kref.refcount.refs.counter | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
crypto/async_tx/async_xor.c async_xor_val_offs() -> dmaengine_unmap_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | unmap | 0,4096-ptr_max |
| PARAM_VALUE | 0 | unmap->map_cnt | 2-u16max |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ioat_chan->prep_lock | ||
| HALF_LOCKED2 | bh |