Defined in 2 files as a function:
- include/linux/dmaengine.h, line 643 (as a function)
- include/linux/dmaengine.h, line 654 (as a function)
Referenced in 6 files:
- crypto/async_tx/async_memcpy.c, line 69
- crypto/async_tx/async_pq.c
- crypto/async_tx/async_raid6_recov.c
- crypto/async_tx/async_xor.c
- drivers/ntb/ntb_transport.c
- drivers/ntb/test/ntb_perf.c, line 839
Smatch caller information:
crypto/async_tx/async_raid6_recov.c async_mult() -> dma_set_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| PARAM_VALUE | 1 | unmap | 4096-ptr_max |
| PARAM_VALUE | 1 | unmap->addr | 4096-ptr_max |
| PARAM_VALUE | 1 | unmap->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | unmap->len | 4096 |
| PARAM_VALUE | 1 | unmap->map_cnt | 3 |
| BUF_SIZE | 0 | tx | (-1),176 |
| BUF_SIZE | 0 | tx | (-1),176 |
| DATA_SOURCE | 1 | unmap | r dmaengine_get_unmap_data |
| PREEMPT_ADD | |||
| NOCHECK_CALL |
crypto/async_tx/async_raid6_recov.c async_sum_product() -> dma_set_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| PARAM_VALUE | 1 | unmap | 4096-ptr_max |
| PARAM_VALUE | 1 | unmap->addr | 4096-ptr_max |
| PARAM_VALUE | 1 | unmap->bidi_cnt | 1 |
| PARAM_VALUE | 1 | unmap->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | unmap->len | 4096 |
| PARAM_VALUE | 1 | unmap->map_cnt | 3 |
| PARAM_VALUE | 1 | unmap->to_cnt | 2 |
| BUF_SIZE | 0 | tx | (-1),176 |
| BUF_SIZE | 0 | tx | (-1),176 |
| DATA_SOURCE | 1 | unmap | r dmaengine_get_unmap_data |
| PREEMPT_ADD | |||
| NOCHECK_CALL |
crypto/async_tx/async_memcpy.c async_memcpy() -> dma_set_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 1-u64max |
| PARAM_VALUE | 1 | unmap | 4096-ptr_max |
| PARAM_VALUE | 1 | unmap->addr | 4096-ptr_max |
| PARAM_VALUE | 1 | unmap->from_cnt | 1 |
| PARAM_VALUE | 1 | unmap->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | unmap->len | 1-s32max |
| PARAM_VALUE | 1 | unmap->map_cnt | 2 |
| PARAM_VALUE | 1 | unmap->to_cnt | 1 |
| DATA_SOURCE | 1 | unmap | r dmaengine_get_unmap_data |
| NOCHECK_CALL |
drivers/ntb/ntb_transport.c ntb_async_rx_submit() -> dma_set_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->callback_param | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->callback_result | 6207935349642358784 |
| PARAM_VALUE | 1 | unmap | 4096-ptr_max |
| PARAM_VALUE | 1 | unmap->addr | 4096-ptr_max |
| PARAM_VALUE | 1 | unmap->from_cnt | 1 |
| PARAM_VALUE | 1 | unmap->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | unmap->len | 0-u32max |
| PARAM_VALUE | 1 | unmap->map_cnt | 2 |
| PARAM_VALUE | 1 | unmap->to_cnt | 1 |
| CAPPED_DATA | 1 | unmap->len | 1 |
| DATA_SOURCE | 1 | unmap | r dmaengine_get_unmap_data |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/ntb/ntb_transport.c ntb_async_tx_submit() -> dma_set_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->callback_param | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->callback_result | 2017674666528768000 |
| PARAM_VALUE | 1 | unmap | 4096-ptr_max |
| PARAM_VALUE | 1 | unmap->addr | 4096-ptr_max |
| PARAM_VALUE | 1 | unmap->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | unmap->len | 0-u32max |
| PARAM_VALUE | 1 | unmap->map_cnt | 1 |
| PARAM_VALUE | 1 | unmap->to_cnt | 1 |
| CAPPED_DATA | 1 | unmap->len | 1 |
| DATA_SOURCE | 1 | unmap | r dmaengine_get_unmap_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | unmap->len | 1-s32max[c] |
| NO_OVERFLOW_SIMPLE | 1 | unmap->len |
drivers/ntb/test/ntb_perf.c perf_copy_chunk() -> dma_set_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->callback | 4144691747486015488 |
| PARAM_VALUE | 0 | tx->callback_param | 4096-ptr_max |
| PARAM_VALUE | 1 | unmap | 4096-ptr_max |
| PARAM_VALUE | 1 | unmap->addr | 4096-ptr_max |
| PARAM_VALUE | 1 | unmap->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | unmap->map_cnt | 1 |
| PARAM_VALUE | 1 | unmap->to_cnt | 1 |
| CAPPED_DATA | 1 | unmap->len | 1 |
| DATA_SOURCE | 0 | tx | r dmaengine_prep_dma_memcpy |
| DATA_SOURCE | 1 | unmap | r dmaengine_get_unmap_data |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
crypto/async_tx/async_pq.c async_syndrome_val() -> dma_set_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| PARAM_VALUE | 1 | unmap | 4096-ptr_max |
| PARAM_VALUE | 1 | unmap->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | unmap->len | 4096 |
| PARAM_VALUE | 1 | unmap->map_cnt | 4-255 |
| CAPPED_DATA | 1 | unmap->map_cnt | 1 |
| DATA_SOURCE | 1 | unmap | r dmaengine_get_unmap_data |
| PREEMPT_ADD | |||
| NOCHECK_CALL |
crypto/async_tx/async_pq.c do_async_gen_syndrome() -> dma_set_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->parent->next | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->unmap->len | 4096 |
| PARAM_VALUE | 0 | tx->unmap->map_cnt | 1-255 |
| PARAM_VALUE | 1 | unmap | 4096-ptr_max |
| PARAM_VALUE | 1 | unmap->addr | 4096-ptr_max |
| PARAM_VALUE | 1 | unmap->len | 4096 |
| PARAM_VALUE | 1 | unmap->map_cnt | 1-255 |
| BUF_SIZE | 0 | tx | (-1),176 |
| BUF_SIZE | 0 | tx | (-1),176 |
| DATA_SOURCE | 1 | unmap | $3 |
| NOCHECK_CALL |
crypto/async_tx/async_xor.c async_xor_val_offs() -> dma_set_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 4096-ptr_max |
| PARAM_VALUE | 1 | unmap | 4096-ptr_max |
| PARAM_VALUE | 1 | unmap->addr | 4096-ptr_max |
| PARAM_VALUE | 1 | unmap->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | unmap->len | 4096 |
| PARAM_VALUE | 1 | unmap->map_cnt | 2-u16max |
| BUF_SIZE | 0 | tx | (-1),176 |
| BUF_SIZE | 0 | tx | (-1),176 |
| CAPPED_DATA | 1 | unmap->map_cnt | 1 |
| DATA_SOURCE | 1 | unmap | r dmaengine_get_unmap_data |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ioat_chan->prep_lock | ||
| HALF_LOCKED2 | bh |
crypto/async_tx/async_xor.c do_async_xor() -> dma_set_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx | 56,4096-ptr_max |
| PARAM_VALUE | 0 | tx->parent->next | 4096-ptr_max |
| PARAM_VALUE | 0 | tx->unmap->bidi_cnt | 1 |
| PARAM_VALUE | 0 | tx->unmap->len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 0 | tx->unmap->to_cnt | 1-255 |
| PARAM_VALUE | 1 | unmap | 4096-ptr_max |
| PARAM_VALUE | 1 | unmap->addr | 4096-ptr_max |
| PARAM_VALUE | 1 | unmap->bidi_cnt | 1 |
| PARAM_VALUE | 1 | unmap->len | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 0 | tx | (-1),176 |
| BUF_SIZE | 0 | tx | (-1),176 |
| CAPPED_DATA | 1 | unmap->addr | 1 |
| CAPPED_DATA | 1 | unmap->map_cnt | 1 |
| DATA_SOURCE | 1 | unmap | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ioat_chan->prep_lock | ||
| HALF_LOCKED2 | bh |